Salvatore La Manna
3 anni fa
75 ha cambiato i file con 1123 aggiunte e 7414 eliminazioni
File diff suppressed because one or more lines are too long
@ -0,0 +1,40 @@
|
||||
/** |
||||
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager; |
||||
|
||||
import com.liferay.portal.NoSuchModelException; |
||||
|
||||
/** |
||||
* @author |
||||
*/ |
||||
public class NoSuchEmailAttachmentException extends NoSuchModelException { |
||||
|
||||
public NoSuchEmailAttachmentException() { |
||||
super(); |
||||
} |
||||
|
||||
public NoSuchEmailAttachmentException(String msg) { |
||||
super(msg); |
||||
} |
||||
|
||||
public NoSuchEmailAttachmentException(String msg, Throwable cause) { |
||||
super(msg, cause); |
||||
} |
||||
|
||||
public NoSuchEmailAttachmentException(Throwable cause) { |
||||
super(cause); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,40 @@
|
||||
/** |
||||
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager; |
||||
|
||||
import com.liferay.portal.NoSuchModelException; |
||||
|
||||
/** |
||||
* @author |
||||
*/ |
||||
public class NoSuchEmailException extends NoSuchModelException { |
||||
|
||||
public NoSuchEmailException() { |
||||
super(); |
||||
} |
||||
|
||||
public NoSuchEmailException(String msg) { |
||||
super(msg); |
||||
} |
||||
|
||||
public NoSuchEmailException(String msg, Throwable cause) { |
||||
super(msg, cause); |
||||
} |
||||
|
||||
public NoSuchEmailException(Throwable cause) { |
||||
super(cause); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,40 @@
|
||||
/** |
||||
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager; |
||||
|
||||
import com.liferay.portal.NoSuchModelException; |
||||
|
||||
/** |
||||
* @author |
||||
*/ |
||||
public class NoSuchEmailTemplateException extends NoSuchModelException { |
||||
|
||||
public NoSuchEmailTemplateException() { |
||||
super(); |
||||
} |
||||
|
||||
public NoSuchEmailTemplateException(String msg) { |
||||
super(msg); |
||||
} |
||||
|
||||
public NoSuchEmailTemplateException(String msg, Throwable cause) { |
||||
super(msg, cause); |
||||
} |
||||
|
||||
public NoSuchEmailTemplateException(Throwable cause) { |
||||
super(cause); |
||||
} |
||||
|
||||
} |
@ -1,35 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.model; |
||||
|
||||
import com.liferay.portal.model.PersistedModel; |
||||
|
||||
/** |
||||
* The extended model interface for the EmailTemplateAttachment service. Represents a row in the "portos_Mail_EmailTemplateAttachment" database table, with each column mapped to a property of this class. |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachmentModel |
||||
* @see it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentImpl |
||||
* @see it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl |
||||
* @generated |
||||
*/ |
||||
public interface EmailTemplateAttachment extends EmailTemplateAttachmentModel, |
||||
PersistedModel { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. |
||||
*/ |
||||
} |
@ -1,301 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.model; |
||||
|
||||
import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; |
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
import com.liferay.portal.kernel.util.ProxyUtil; |
||||
import com.liferay.portal.kernel.util.StringBundler; |
||||
import com.liferay.portal.model.BaseModel; |
||||
import com.liferay.portal.model.impl.BaseModelImpl; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.service.ClpSerializer; |
||||
import it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalServiceUtil; |
||||
import it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import java.lang.reflect.Method; |
||||
|
||||
import java.util.HashMap; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* @author $author$ |
||||
*/ |
||||
public class EmailTemplateAttachmentClp extends BaseModelImpl<EmailTemplateAttachment> |
||||
implements EmailTemplateAttachment { |
||||
public EmailTemplateAttachmentClp() { |
||||
} |
||||
|
||||
@Override |
||||
public Class<?> getModelClass() { |
||||
return EmailTemplateAttachment.class; |
||||
} |
||||
|
||||
@Override |
||||
public String getModelClassName() { |
||||
return EmailTemplateAttachment.class.getName(); |
||||
} |
||||
|
||||
@Override |
||||
public EmailTemplateAttachmentPK getPrimaryKey() { |
||||
return new EmailTemplateAttachmentPK(_emailTemplateId, _fileEntryId); |
||||
} |
||||
|
||||
@Override |
||||
public void setPrimaryKey(EmailTemplateAttachmentPK primaryKey) { |
||||
setEmailTemplateId(primaryKey.emailTemplateId); |
||||
setFileEntryId(primaryKey.fileEntryId); |
||||
} |
||||
|
||||
@Override |
||||
public Serializable getPrimaryKeyObj() { |
||||
return new EmailTemplateAttachmentPK(_emailTemplateId, _fileEntryId); |
||||
} |
||||
|
||||
@Override |
||||
public void setPrimaryKeyObj(Serializable primaryKeyObj) { |
||||
setPrimaryKey((EmailTemplateAttachmentPK)primaryKeyObj); |
||||
} |
||||
|
||||
@Override |
||||
public Map<String, Object> getModelAttributes() { |
||||
Map<String, Object> attributes = new HashMap<String, Object>(); |
||||
|
||||
attributes.put("emailTemplateId", getEmailTemplateId()); |
||||
attributes.put("fileEntryId", getFileEntryId()); |
||||
|
||||
return attributes; |
||||
} |
||||
|
||||
@Override |
||||
public void setModelAttributes(Map<String, Object> attributes) { |
||||
Long emailTemplateId = (Long)attributes.get("emailTemplateId"); |
||||
|
||||
if (emailTemplateId != null) { |
||||
setEmailTemplateId(emailTemplateId); |
||||
} |
||||
|
||||
Long fileEntryId = (Long)attributes.get("fileEntryId"); |
||||
|
||||
if (fileEntryId != null) { |
||||
setFileEntryId(fileEntryId); |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
public long getEmailTemplateId() { |
||||
return _emailTemplateId; |
||||
} |
||||
|
||||
@Override |
||||
public void setEmailTemplateId(long emailTemplateId) { |
||||
_emailTemplateId = emailTemplateId; |
||||
|
||||
if (_emailTemplateAttachmentRemoteModel != null) { |
||||
try { |
||||
Class<?> clazz = _emailTemplateAttachmentRemoteModel.getClass(); |
||||
|
||||
Method method = clazz.getMethod("setEmailTemplateId", long.class); |
||||
|
||||
method.invoke(_emailTemplateAttachmentRemoteModel, |
||||
emailTemplateId); |
||||
} |
||||
catch (Exception e) { |
||||
throw new UnsupportedOperationException(e); |
||||
} |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
public long getFileEntryId() { |
||||
return _fileEntryId; |
||||
} |
||||
|
||||
@Override |
||||
public void setFileEntryId(long fileEntryId) { |
||||
_fileEntryId = fileEntryId; |
||||
|
||||
if (_emailTemplateAttachmentRemoteModel != null) { |
||||
try { |
||||
Class<?> clazz = _emailTemplateAttachmentRemoteModel.getClass(); |
||||
|
||||
Method method = clazz.getMethod("setFileEntryId", long.class); |
||||
|
||||
method.invoke(_emailTemplateAttachmentRemoteModel, fileEntryId); |
||||
} |
||||
catch (Exception e) { |
||||
throw new UnsupportedOperationException(e); |
||||
} |
||||
} |
||||
} |
||||
|
||||
public BaseModel<?> getEmailTemplateAttachmentRemoteModel() { |
||||
return _emailTemplateAttachmentRemoteModel; |
||||
} |
||||
|
||||
public void setEmailTemplateAttachmentRemoteModel( |
||||
BaseModel<?> emailTemplateAttachmentRemoteModel) { |
||||
_emailTemplateAttachmentRemoteModel = emailTemplateAttachmentRemoteModel; |
||||
} |
||||
|
||||
public Object invokeOnRemoteModel(String methodName, |
||||
Class<?>[] parameterTypes, Object[] parameterValues) |
||||
throws Exception { |
||||
Object[] remoteParameterValues = new Object[parameterValues.length]; |
||||
|
||||
for (int i = 0; i < parameterValues.length; i++) { |
||||
if (parameterValues[i] != null) { |
||||
remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); |
||||
} |
||||
} |
||||
|
||||
Class<?> remoteModelClass = _emailTemplateAttachmentRemoteModel.getClass(); |
||||
|
||||
ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); |
||||
|
||||
Class<?>[] remoteParameterTypes = new Class[parameterTypes.length]; |
||||
|
||||
for (int i = 0; i < parameterTypes.length; i++) { |
||||
if (parameterTypes[i].isPrimitive()) { |
||||
remoteParameterTypes[i] = parameterTypes[i]; |
||||
} |
||||
else { |
||||
String parameterTypeName = parameterTypes[i].getName(); |
||||
|
||||
remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); |
||||
} |
||||
} |
||||
|
||||
Method method = remoteModelClass.getMethod(methodName, |
||||
remoteParameterTypes); |
||||
|
||||
Object returnValue = method.invoke(_emailTemplateAttachmentRemoteModel, |
||||
remoteParameterValues); |
||||
|
||||
if (returnValue != null) { |
||||
returnValue = ClpSerializer.translateOutput(returnValue); |
||||
} |
||||
|
||||
return returnValue; |
||||
} |
||||
|
||||
@Override |
||||
public void persist() throws SystemException { |
||||
if (this.isNew()) { |
||||
EmailTemplateAttachmentLocalServiceUtil.addEmailTemplateAttachment(this); |
||||
} |
||||
else { |
||||
EmailTemplateAttachmentLocalServiceUtil.updateEmailTemplateAttachment(this); |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
public EmailTemplateAttachment toEscapedModel() { |
||||
return (EmailTemplateAttachment)ProxyUtil.newProxyInstance(EmailTemplateAttachment.class.getClassLoader(), |
||||
new Class[] { EmailTemplateAttachment.class }, |
||||
new AutoEscapeBeanHandler(this)); |
||||
} |
||||
|
||||
@Override |
||||
public Object clone() { |
||||
EmailTemplateAttachmentClp clone = new EmailTemplateAttachmentClp(); |
||||
|
||||
clone.setEmailTemplateId(getEmailTemplateId()); |
||||
clone.setFileEntryId(getFileEntryId()); |
||||
|
||||
return clone; |
||||
} |
||||
|
||||
@Override |
||||
public int compareTo(EmailTemplateAttachment emailTemplateAttachment) { |
||||
EmailTemplateAttachmentPK primaryKey = emailTemplateAttachment.getPrimaryKey(); |
||||
|
||||
return getPrimaryKey().compareTo(primaryKey); |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
|
||||
if (!(obj instanceof EmailTemplateAttachmentClp)) { |
||||
return false; |
||||
} |
||||
|
||||
EmailTemplateAttachmentClp emailTemplateAttachment = (EmailTemplateAttachmentClp)obj; |
||||
|
||||
EmailTemplateAttachmentPK primaryKey = emailTemplateAttachment.getPrimaryKey(); |
||||
|
||||
if (getPrimaryKey().equals(primaryKey)) { |
||||
return true; |
||||
} |
||||
else { |
||||
return false; |
||||
} |
||||
} |
||||
|
||||
public Class<?> getClpSerializerClass() { |
||||
return _clpSerializerClass; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
return getPrimaryKey().hashCode(); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
StringBundler sb = new StringBundler(5); |
||||
|
||||
sb.append("{emailTemplateId="); |
||||
sb.append(getEmailTemplateId()); |
||||
sb.append(", fileEntryId="); |
||||
sb.append(getFileEntryId()); |
||||
sb.append("}"); |
||||
|
||||
return sb.toString(); |
||||
} |
||||
|
||||
@Override |
||||
public String toXmlString() { |
||||
StringBundler sb = new StringBundler(10); |
||||
|
||||
sb.append("<model><model-name>"); |
||||
sb.append( |
||||
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"); |
||||
sb.append("</model-name>"); |
||||
|
||||
sb.append( |
||||
"<column><column-name>emailTemplateId</column-name><column-value><![CDATA["); |
||||
sb.append(getEmailTemplateId()); |
||||
sb.append("]]></column-value></column>"); |
||||
sb.append( |
||||
"<column><column-name>fileEntryId</column-name><column-value><![CDATA["); |
||||
sb.append(getFileEntryId()); |
||||
sb.append("]]></column-value></column>"); |
||||
|
||||
sb.append("</model>"); |
||||
|
||||
return sb.toString(); |
||||
} |
||||
|
||||
private long _emailTemplateId; |
||||
private long _fileEntryId; |
||||
private BaseModel<?> _emailTemplateAttachmentRemoteModel; |
||||
private Class<?> _clpSerializerClass = it.tref.liferay.portos.mailmanager.service.ClpSerializer.class; |
||||
} |
@ -1,146 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.model; |
||||
|
||||
import com.liferay.portal.model.BaseModel; |
||||
import com.liferay.portal.model.CacheModel; |
||||
import com.liferay.portal.service.ServiceContext; |
||||
|
||||
import com.liferay.portlet.expando.model.ExpandoBridge; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
* The base model interface for the EmailTemplateAttachment service. Represents a row in the "portos_Mail_EmailTemplateAttachment" database table, with each column mapped to a property of this class. |
||||
* |
||||
* <p> |
||||
* This interface and its corresponding implementation {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentImpl}. |
||||
* </p> |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachment |
||||
* @see it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentImpl |
||||
* @see it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl |
||||
* @generated |
||||
*/ |
||||
public interface EmailTemplateAttachmentModel extends BaseModel<EmailTemplateAttachment> { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never modify or reference this interface directly. All methods that expect a email template attachment model instance should use the {@link EmailTemplateAttachment} interface instead. |
||||
*/ |
||||
|
||||
/** |
||||
* Returns the primary key of this email template attachment. |
||||
* |
||||
* @return the primary key of this email template attachment |
||||
*/ |
||||
public EmailTemplateAttachmentPK getPrimaryKey(); |
||||
|
||||
/** |
||||
* Sets the primary key of this email template attachment. |
||||
* |
||||
* @param primaryKey the primary key of this email template attachment |
||||
*/ |
||||
public void setPrimaryKey(EmailTemplateAttachmentPK primaryKey); |
||||
|
||||
/** |
||||
* Returns the email template ID of this email template attachment. |
||||
* |
||||
* @return the email template ID of this email template attachment |
||||
*/ |
||||
public long getEmailTemplateId(); |
||||
|
||||
/** |
||||
* Sets the email template ID of this email template attachment. |
||||
* |
||||
* @param emailTemplateId the email template ID of this email template attachment |
||||
*/ |
||||
public void setEmailTemplateId(long emailTemplateId); |
||||
|
||||
/** |
||||
* Returns the file entry ID of this email template attachment. |
||||
* |
||||
* @return the file entry ID of this email template attachment |
||||
*/ |
||||
public long getFileEntryId(); |
||||
|
||||
/** |
||||
* Sets the file entry ID of this email template attachment. |
||||
* |
||||
* @param fileEntryId the file entry ID of this email template attachment |
||||
*/ |
||||
public void setFileEntryId(long fileEntryId); |
||||
|
||||
@Override |
||||
public boolean isNew(); |
||||
|
||||
@Override |
||||
public void setNew(boolean n); |
||||
|
||||
@Override |
||||
public boolean isCachedModel(); |
||||
|
||||
@Override |
||||
public void setCachedModel(boolean cachedModel); |
||||
|
||||
@Override |
||||
public boolean isEscapedModel(); |
||||
|
||||
@Override |
||||
public Serializable getPrimaryKeyObj(); |
||||
|
||||
@Override |
||||
public void setPrimaryKeyObj(Serializable primaryKeyObj); |
||||
|
||||
@Override |
||||
public ExpandoBridge getExpandoBridge(); |
||||
|
||||
@Override |
||||
public void setExpandoBridgeAttributes(BaseModel<?> baseModel); |
||||
|
||||
@Override |
||||
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); |
||||
|
||||
@Override |
||||
public void setExpandoBridgeAttributes(ServiceContext serviceContext); |
||||
|
||||
@Override |
||||
public Object clone(); |
||||
|
||||
@Override |
||||
public int compareTo( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment); |
||||
|
||||
@Override |
||||
public int hashCode(); |
||||
|
||||
@Override |
||||
public CacheModel<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> toCacheModel(); |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment toEscapedModel(); |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment toUnescapedModel(); |
||||
|
||||
@Override |
||||
public String toString(); |
||||
|
||||
@Override |
||||
public String toXmlString(); |
||||
} |
@ -1,111 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.model; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* This class is used by SOAP remote services. |
||||
* |
||||
* @author |
||||
* @generated |
||||
*/ |
||||
public class EmailTemplateAttachmentSoap implements Serializable { |
||||
public static EmailTemplateAttachmentSoap toSoapModel( |
||||
EmailTemplateAttachment model) { |
||||
EmailTemplateAttachmentSoap soapModel = new EmailTemplateAttachmentSoap(); |
||||
|
||||
soapModel.setEmailTemplateId(model.getEmailTemplateId()); |
||||
soapModel.setFileEntryId(model.getFileEntryId()); |
||||
|
||||
return soapModel; |
||||
} |
||||
|
||||
public static EmailTemplateAttachmentSoap[] toSoapModels( |
||||
EmailTemplateAttachment[] models) { |
||||
EmailTemplateAttachmentSoap[] soapModels = new EmailTemplateAttachmentSoap[models.length]; |
||||
|
||||
for (int i = 0; i < models.length; i++) { |
||||
soapModels[i] = toSoapModel(models[i]); |
||||
} |
||||
|
||||
return soapModels; |
||||
} |
||||
|
||||
public static EmailTemplateAttachmentSoap[][] toSoapModels( |
||||
EmailTemplateAttachment[][] models) { |
||||
EmailTemplateAttachmentSoap[][] soapModels = null; |
||||
|
||||
if (models.length > 0) { |
||||
soapModels = new EmailTemplateAttachmentSoap[models.length][models[0].length]; |
||||
} |
||||
else { |
||||
soapModels = new EmailTemplateAttachmentSoap[0][0]; |
||||
} |
||||
|
||||
for (int i = 0; i < models.length; i++) { |
||||
soapModels[i] = toSoapModels(models[i]); |
||||
} |
||||
|
||||
return soapModels; |
||||
} |
||||
|
||||
public static EmailTemplateAttachmentSoap[] toSoapModels( |
||||
List<EmailTemplateAttachment> models) { |
||||
List<EmailTemplateAttachmentSoap> soapModels = new ArrayList<EmailTemplateAttachmentSoap>(models.size()); |
||||
|
||||
for (EmailTemplateAttachment model : models) { |
||||
soapModels.add(toSoapModel(model)); |
||||
} |
||||
|
||||
return soapModels.toArray(new EmailTemplateAttachmentSoap[soapModels.size()]); |
||||
} |
||||
|
||||
public EmailTemplateAttachmentSoap() { |
||||
} |
||||
|
||||
public EmailTemplateAttachmentPK getPrimaryKey() { |
||||
return new EmailTemplateAttachmentPK(_emailTemplateId, _fileEntryId); |
||||
} |
||||
|
||||
public void setPrimaryKey(EmailTemplateAttachmentPK pk) { |
||||
setEmailTemplateId(pk.emailTemplateId); |
||||
setFileEntryId(pk.fileEntryId); |
||||
} |
||||
|
||||
public long getEmailTemplateId() { |
||||
return _emailTemplateId; |
||||
} |
||||
|
||||
public void setEmailTemplateId(long emailTemplateId) { |
||||
_emailTemplateId = emailTemplateId; |
||||
} |
||||
|
||||
public long getFileEntryId() { |
||||
return _fileEntryId; |
||||
} |
||||
|
||||
public void setFileEntryId(long fileEntryId) { |
||||
_fileEntryId = fileEntryId; |
||||
} |
||||
|
||||
private long _emailTemplateId; |
||||
private long _fileEntryId; |
||||
} |
@ -1,278 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.model; |
||||
|
||||
import com.liferay.portal.kernel.util.Validator; |
||||
import com.liferay.portal.model.ModelWrapper; |
||||
|
||||
import java.util.HashMap; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* <p> |
||||
* This class is a wrapper for {@link EmailTemplateAttachment}. |
||||
* </p> |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachment |
||||
* @generated |
||||
*/ |
||||
public class EmailTemplateAttachmentWrapper implements EmailTemplateAttachment, |
||||
ModelWrapper<EmailTemplateAttachment> { |
||||
public EmailTemplateAttachmentWrapper( |
||||
EmailTemplateAttachment emailTemplateAttachment) { |
||||
_emailTemplateAttachment = emailTemplateAttachment; |
||||
} |
||||
|
||||
@Override |
||||
public Class<?> getModelClass() { |
||||
return EmailTemplateAttachment.class; |
||||
} |
||||
|
||||
@Override |
||||
public String getModelClassName() { |
||||
return EmailTemplateAttachment.class.getName(); |
||||
} |
||||
|
||||
@Override |
||||
public Map<String, Object> getModelAttributes() { |
||||
Map<String, Object> attributes = new HashMap<String, Object>(); |
||||
|
||||
attributes.put("emailTemplateId", getEmailTemplateId()); |
||||
attributes.put("fileEntryId", getFileEntryId()); |
||||
|
||||
return attributes; |
||||
} |
||||
|
||||
@Override |
||||
public void setModelAttributes(Map<String, Object> attributes) { |
||||
Long emailTemplateId = (Long)attributes.get("emailTemplateId"); |
||||
|
||||
if (emailTemplateId != null) { |
||||
setEmailTemplateId(emailTemplateId); |
||||
} |
||||
|
||||
Long fileEntryId = (Long)attributes.get("fileEntryId"); |
||||
|
||||
if (fileEntryId != null) { |
||||
setFileEntryId(fileEntryId); |
||||
} |
||||
} |
||||
|
||||
/** |
||||
* Returns the primary key of this email template attachment. |
||||
* |
||||
* @return the primary key of this email template attachment |
||||
*/ |
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK getPrimaryKey() { |
||||
return _emailTemplateAttachment.getPrimaryKey(); |
||||
} |
||||
|
||||
/** |
||||
* Sets the primary key of this email template attachment. |
||||
* |
||||
* @param primaryKey the primary key of this email template attachment |
||||
*/ |
||||
@Override |
||||
public void setPrimaryKey( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK primaryKey) { |
||||
_emailTemplateAttachment.setPrimaryKey(primaryKey); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template ID of this email template attachment. |
||||
* |
||||
* @return the email template ID of this email template attachment |
||||
*/ |
||||
@Override |
||||
public long getEmailTemplateId() { |
||||
return _emailTemplateAttachment.getEmailTemplateId(); |
||||
} |
||||
|
||||
/** |
||||
* Sets the email template ID of this email template attachment. |
||||
* |
||||
* @param emailTemplateId the email template ID of this email template attachment |
||||
*/ |
||||
@Override |
||||
public void setEmailTemplateId(long emailTemplateId) { |
||||
_emailTemplateAttachment.setEmailTemplateId(emailTemplateId); |
||||
} |
||||
|
||||
/** |
||||
* Returns the file entry ID of this email template attachment. |
||||
* |
||||
* @return the file entry ID of this email template attachment |
||||
*/ |
||||
@Override |
||||
public long getFileEntryId() { |
||||
return _emailTemplateAttachment.getFileEntryId(); |
||||
} |
||||
|
||||
/** |
||||
* Sets the file entry ID of this email template attachment. |
||||
* |
||||
* @param fileEntryId the file entry ID of this email template attachment |
||||
*/ |
||||
@Override |
||||
public void setFileEntryId(long fileEntryId) { |
||||
_emailTemplateAttachment.setFileEntryId(fileEntryId); |
||||
} |
||||
|
||||
@Override |
||||
public boolean isNew() { |
||||
return _emailTemplateAttachment.isNew(); |
||||
} |
||||
|
||||
@Override |
||||
public void setNew(boolean n) { |
||||
_emailTemplateAttachment.setNew(n); |
||||
} |
||||
|
||||
@Override |
||||
public boolean isCachedModel() { |
||||
return _emailTemplateAttachment.isCachedModel(); |
||||
} |
||||
|
||||
@Override |
||||
public void setCachedModel(boolean cachedModel) { |
||||
_emailTemplateAttachment.setCachedModel(cachedModel); |
||||
} |
||||
|
||||
@Override |
||||
public boolean isEscapedModel() { |
||||
return _emailTemplateAttachment.isEscapedModel(); |
||||
} |
||||
|
||||
@Override |
||||
public java.io.Serializable getPrimaryKeyObj() { |
||||
return _emailTemplateAttachment.getPrimaryKeyObj(); |
||||
} |
||||
|
||||
@Override |
||||
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { |
||||
_emailTemplateAttachment.setPrimaryKeyObj(primaryKeyObj); |
||||
} |
||||
|
||||
@Override |
||||
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { |
||||
return _emailTemplateAttachment.getExpandoBridge(); |
||||
} |
||||
|
||||
@Override |
||||
public void setExpandoBridgeAttributes( |
||||
com.liferay.portal.model.BaseModel<?> baseModel) { |
||||
_emailTemplateAttachment.setExpandoBridgeAttributes(baseModel); |
||||
} |
||||
|
||||
@Override |
||||
public void setExpandoBridgeAttributes( |
||||
com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { |
||||
_emailTemplateAttachment.setExpandoBridgeAttributes(expandoBridge); |
||||
} |
||||
|
||||
@Override |
||||
public void setExpandoBridgeAttributes( |
||||
com.liferay.portal.service.ServiceContext serviceContext) { |
||||
_emailTemplateAttachment.setExpandoBridgeAttributes(serviceContext); |
||||
} |
||||
|
||||
@Override |
||||
public java.lang.Object clone() { |
||||
return new EmailTemplateAttachmentWrapper((EmailTemplateAttachment)_emailTemplateAttachment.clone()); |
||||
} |
||||
|
||||
@Override |
||||
public int compareTo( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) { |
||||
return _emailTemplateAttachment.compareTo(emailTemplateAttachment); |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
return _emailTemplateAttachment.hashCode(); |
||||
} |
||||
|
||||
@Override |
||||
public com.liferay.portal.model.CacheModel<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> toCacheModel() { |
||||
return _emailTemplateAttachment.toCacheModel(); |
||||
} |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment toEscapedModel() { |
||||
return new EmailTemplateAttachmentWrapper(_emailTemplateAttachment.toEscapedModel()); |
||||
} |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment toUnescapedModel() { |
||||
return new EmailTemplateAttachmentWrapper(_emailTemplateAttachment.toUnescapedModel()); |
||||
} |
||||
|
||||
@Override |
||||
public java.lang.String toString() { |
||||
return _emailTemplateAttachment.toString(); |
||||
} |
||||
|
||||
@Override |
||||
public java.lang.String toXmlString() { |
||||
return _emailTemplateAttachment.toXmlString(); |
||||
} |
||||
|
||||
@Override |
||||
public void persist() |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
_emailTemplateAttachment.persist(); |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
|
||||
if (!(obj instanceof EmailTemplateAttachmentWrapper)) { |
||||
return false; |
||||
} |
||||
|
||||
EmailTemplateAttachmentWrapper emailTemplateAttachmentWrapper = (EmailTemplateAttachmentWrapper)obj; |
||||
|
||||
if (Validator.equals(_emailTemplateAttachment, |
||||
emailTemplateAttachmentWrapper._emailTemplateAttachment)) { |
||||
return true; |
||||
} |
||||
|
||||
return false; |
||||
} |
||||
|
||||
/** |
||||
* @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} |
||||
*/ |
||||
public EmailTemplateAttachment getWrappedEmailTemplateAttachment() { |
||||
return _emailTemplateAttachment; |
||||
} |
||||
|
||||
@Override |
||||
public EmailTemplateAttachment getWrappedModel() { |
||||
return _emailTemplateAttachment; |
||||
} |
||||
|
||||
@Override |
||||
public void resetOriginalValues() { |
||||
_emailTemplateAttachment.resetOriginalValues(); |
||||
} |
||||
|
||||
private EmailTemplateAttachment _emailTemplateAttachment; |
||||
} |
@ -1,256 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.service; |
||||
|
||||
import com.liferay.portal.kernel.exception.PortalException; |
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
import com.liferay.portal.kernel.search.IndexableType; |
||||
import com.liferay.portal.kernel.transaction.Isolation; |
||||
import com.liferay.portal.kernel.transaction.Propagation; |
||||
import com.liferay.portal.kernel.transaction.Transactional; |
||||
import com.liferay.portal.service.BaseLocalService; |
||||
import com.liferay.portal.service.InvokableLocalService; |
||||
import com.liferay.portal.service.PersistedModelLocalService; |
||||
|
||||
/** |
||||
* Provides the local service interface for EmailTemplateAttachment. Methods of this |
||||
* service will not have security checks based on the propagated JAAS |
||||
* credentials because this service can only be accessed from within the same |
||||
* VM. |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachmentLocalServiceUtil |
||||
* @see it.tref.liferay.portos.mailmanager.service.base.EmailTemplateAttachmentLocalServiceBaseImpl |
||||
* @see it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl |
||||
* @generated |
||||
*/ |
||||
@Transactional(isolation = Isolation.PORTAL, rollbackFor = { |
||||
PortalException.class, SystemException.class}) |
||||
public interface EmailTemplateAttachmentLocalService extends BaseLocalService, |
||||
InvokableLocalService, PersistedModelLocalService { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never modify or reference this interface directly. Always use {@link EmailTemplateAttachmentLocalServiceUtil} to access the email template attachment local service. Add custom service methods to {@link it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. |
||||
*/ |
||||
|
||||
/** |
||||
* Adds the email template attachment to the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was added |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment addEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key for the new email template attachment |
||||
* @return the new email template attachment |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment createEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK); |
||||
|
||||
/** |
||||
* Deletes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment that was removed |
||||
* @throws PortalException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Deletes the email template attachment from the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was removed |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns the matching rows. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @return the matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@SuppressWarnings("rawtypes") |
||||
public java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns a range of the matching rows. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param start the lower bound of the range of model instances |
||||
* @param end the upper bound of the range of model instances (not inclusive) |
||||
* @return the range of matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@SuppressWarnings("rawtypes") |
||||
public java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, |
||||
int end) throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns an ordered range of the matching rows. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param start the lower bound of the range of model instances |
||||
* @param end the upper bound of the range of model instances (not inclusive) |
||||
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>) |
||||
* @return the ordered range of matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@SuppressWarnings("rawtypes") |
||||
public java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, |
||||
int end, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the number of rows that match the dynamic query. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @return the number of rows that match the dynamic query |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public long dynamicQueryCount( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the number of rows that match the dynamic query. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param projection the projection to apply to the query |
||||
* @return the number of rows that match the dynamic query |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public long dynamicQueryCount( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, |
||||
com.liferay.portal.kernel.dao.orm.Projection projection) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the email template attachment with the primary key. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment |
||||
* @throws PortalException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment getEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
@Override |
||||
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
||||
public com.liferay.portal.model.PersistedModel getPersistedModel( |
||||
java.io.Serializable primaryKeyObj) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns a range of all the email template attachments. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @return the range of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
||||
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> getEmailTemplateAttachments( |
||||
int start, int end) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the number of email template attachments. |
||||
* |
||||
* @return the number of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
||||
public int getEmailTemplateAttachmentsCount() |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Updates the email template attachment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was updated |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the Spring bean ID for this bean. |
||||
* |
||||
* @return the Spring bean ID for this bean |
||||
*/ |
||||
public java.lang.String getBeanIdentifier(); |
||||
|
||||
/** |
||||
* Sets the Spring bean ID for this bean. |
||||
* |
||||
* @param beanIdentifier the Spring bean ID for this bean |
||||
*/ |
||||
public void setBeanIdentifier(java.lang.String beanIdentifier); |
||||
|
||||
@Override |
||||
public java.lang.Object invokeMethod(java.lang.String name, |
||||
java.lang.String[] parameterTypes, java.lang.Object[] arguments) |
||||
throws java.lang.Throwable; |
||||
} |
@ -1,733 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.service; |
||||
|
||||
import com.liferay.portal.service.InvokableLocalService; |
||||
|
||||
/** |
||||
* @author |
||||
* @generated |
||||
*/ |
||||
public class EmailTemplateAttachmentLocalServiceClp |
||||
implements EmailTemplateAttachmentLocalService { |
||||
public EmailTemplateAttachmentLocalServiceClp( |
||||
InvokableLocalService invokableLocalService) { |
||||
_invokableLocalService = invokableLocalService; |
||||
|
||||
_methodName0 = "addEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes0 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment" |
||||
}; |
||||
|
||||
_methodName1 = "createEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes1 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK" |
||||
}; |
||||
|
||||
_methodName2 = "deleteEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes2 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK" |
||||
}; |
||||
|
||||
_methodName3 = "deleteEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes3 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment" |
||||
}; |
||||
|
||||
_methodName4 = "dynamicQuery"; |
||||
|
||||
_methodParameterTypes4 = new String[] { }; |
||||
|
||||
_methodName5 = "dynamicQuery"; |
||||
|
||||
_methodParameterTypes5 = new String[] { |
||||
"com.liferay.portal.kernel.dao.orm.DynamicQuery" |
||||
}; |
||||
|
||||
_methodName6 = "dynamicQuery"; |
||||
|
||||
_methodParameterTypes6 = new String[] { |
||||
"com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" |
||||
}; |
||||
|
||||
_methodName7 = "dynamicQuery"; |
||||
|
||||
_methodParameterTypes7 = new String[] { |
||||
"com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", |
||||
"com.liferay.portal.kernel.util.OrderByComparator" |
||||
}; |
||||
|
||||
_methodName8 = "dynamicQueryCount"; |
||||
|
||||
_methodParameterTypes8 = new String[] { |
||||
"com.liferay.portal.kernel.dao.orm.DynamicQuery" |
||||
}; |
||||
|
||||
_methodName9 = "dynamicQueryCount"; |
||||
|
||||
_methodParameterTypes9 = new String[] { |
||||
"com.liferay.portal.kernel.dao.orm.DynamicQuery", |
||||
"com.liferay.portal.kernel.dao.orm.Projection" |
||||
}; |
||||
|
||||
_methodName10 = "fetchEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes10 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK" |
||||
}; |
||||
|
||||
_methodName11 = "getEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes11 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK" |
||||
}; |
||||
|
||||
_methodName12 = "getPersistedModel"; |
||||
|
||||
_methodParameterTypes12 = new String[] { "java.io.Serializable" }; |
||||
|
||||
_methodName13 = "getEmailTemplateAttachments"; |
||||
|
||||
_methodParameterTypes13 = new String[] { "int", "int" }; |
||||
|
||||
_methodName14 = "getEmailTemplateAttachmentsCount"; |
||||
|
||||
_methodParameterTypes14 = new String[] { }; |
||||
|
||||
_methodName15 = "updateEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes15 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment" |
||||
}; |
||||
|
||||
_methodName16 = "getBeanIdentifier"; |
||||
|
||||
_methodParameterTypes16 = new String[] { }; |
||||
|
||||
_methodName17 = "setBeanIdentifier"; |
||||
|
||||
_methodParameterTypes17 = new String[] { "java.lang.String" }; |
||||
} |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment addEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName0, |
||||
_methodParameterTypes0, |
||||
new Object[] { |
||||
ClpSerializer.translateInput(emailTemplateAttachment) |
||||
}); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment createEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName1, |
||||
_methodParameterTypes1, |
||||
new Object[] { |
||||
ClpSerializer.translateInput(emailTemplateAttachmentPK) |
||||
}); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName2, |
||||
_methodParameterTypes2, |
||||
new Object[] { |
||||
ClpSerializer.translateInput(emailTemplateAttachmentPK) |
||||
}); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.PortalException) { |
||||
throw (com.liferay.portal.kernel.exception.PortalException)t; |
||||
} |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName3, |
||||
_methodParameterTypes3, |
||||
new Object[] { |
||||
ClpSerializer.translateInput(emailTemplateAttachment) |
||||
}); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName4, |
||||
_methodParameterTypes4, new Object[] { }); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
@SuppressWarnings("rawtypes") |
||||
public java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName5, |
||||
_methodParameterTypes5, |
||||
new Object[] { ClpSerializer.translateInput(dynamicQuery) }); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (java.util.List)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
@SuppressWarnings("rawtypes") |
||||
public java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, |
||||
int end) throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName6, |
||||
_methodParameterTypes6, |
||||
new Object[] { |
||||
ClpSerializer.translateInput(dynamicQuery), |
||||
|
||||
start, |
||||
|
||||
end |
||||
}); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (java.util.List)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
@SuppressWarnings("rawtypes") |
||||
public java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, |
||||
int end, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName7, |
||||
_methodParameterTypes7, |
||||
new Object[] { |
||||
ClpSerializer.translateInput(dynamicQuery), |
||||
|
||||
start, |
||||
|
||||
end, |
||||
|
||||
ClpSerializer.translateInput(orderByComparator) |
||||
}); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (java.util.List)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public long dynamicQueryCount( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName8, |
||||
_methodParameterTypes8, |
||||
new Object[] { ClpSerializer.translateInput(dynamicQuery) }); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return ((Long)returnObj).longValue(); |
||||
} |
||||
|
||||
@Override |
||||
public long dynamicQueryCount( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, |
||||
com.liferay.portal.kernel.dao.orm.Projection projection) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName9, |
||||
_methodParameterTypes9, |
||||
new Object[] { |
||||
ClpSerializer.translateInput(dynamicQuery), |
||||
|
||||
ClpSerializer.translateInput(projection) |
||||
}); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return ((Long)returnObj).longValue(); |
||||
} |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName10, |
||||
_methodParameterTypes10, |
||||
new Object[] { |
||||
ClpSerializer.translateInput(emailTemplateAttachmentPK) |
||||
}); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment getEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName11, |
||||
_methodParameterTypes11, |
||||
new Object[] { |
||||
ClpSerializer.translateInput(emailTemplateAttachmentPK) |
||||
}); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.PortalException) { |
||||
throw (com.liferay.portal.kernel.exception.PortalException)t; |
||||
} |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public com.liferay.portal.model.PersistedModel getPersistedModel( |
||||
java.io.Serializable primaryKeyObj) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName12, |
||||
_methodParameterTypes12, |
||||
new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.PortalException) { |
||||
throw (com.liferay.portal.kernel.exception.PortalException)t; |
||||
} |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> getEmailTemplateAttachments( |
||||
int start, int end) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName13, |
||||
_methodParameterTypes13, new Object[] { start, end }); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment>)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public int getEmailTemplateAttachmentsCount() |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName14, |
||||
_methodParameterTypes14, new Object[] { }); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return ((Integer)returnObj).intValue(); |
||||
} |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName15, |
||||
_methodParameterTypes15, |
||||
new Object[] { |
||||
ClpSerializer.translateInput(emailTemplateAttachment) |
||||
}); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof com.liferay.portal.kernel.exception.SystemException) { |
||||
throw (com.liferay.portal.kernel.exception.SystemException)t; |
||||
} |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public java.lang.String getBeanIdentifier() { |
||||
Object returnObj = null; |
||||
|
||||
try { |
||||
returnObj = _invokableLocalService.invokeMethod(_methodName16, |
||||
_methodParameterTypes16, new Object[] { }); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
|
||||
return (java.lang.String)ClpSerializer.translateOutput(returnObj); |
||||
} |
||||
|
||||
@Override |
||||
public void setBeanIdentifier(java.lang.String beanIdentifier) { |
||||
try { |
||||
_invokableLocalService.invokeMethod(_methodName17, |
||||
_methodParameterTypes17, |
||||
new Object[] { ClpSerializer.translateInput(beanIdentifier) }); |
||||
} |
||||
catch (Throwable t) { |
||||
t = ClpSerializer.translateThrowable(t); |
||||
|
||||
if (t instanceof RuntimeException) { |
||||
throw (RuntimeException)t; |
||||
} |
||||
else { |
||||
throw new RuntimeException(t.getClass().getName() + |
||||
" is not a valid exception"); |
||||
} |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
public java.lang.Object invokeMethod(java.lang.String name, |
||||
java.lang.String[] parameterTypes, java.lang.Object[] arguments) |
||||
throws java.lang.Throwable { |
||||
throw new UnsupportedOperationException(); |
||||
} |
||||
|
||||
private InvokableLocalService _invokableLocalService; |
||||
private String _methodName0; |
||||
private String[] _methodParameterTypes0; |
||||
private String _methodName1; |
||||
private String[] _methodParameterTypes1; |
||||
private String _methodName2; |
||||
private String[] _methodParameterTypes2; |
||||
private String _methodName3; |
||||
private String[] _methodParameterTypes3; |
||||
private String _methodName4; |
||||
private String[] _methodParameterTypes4; |
||||
private String _methodName5; |
||||
private String[] _methodParameterTypes5; |
||||
private String _methodName6; |
||||
private String[] _methodParameterTypes6; |
||||
private String _methodName7; |
||||
private String[] _methodParameterTypes7; |
||||
private String _methodName8; |
||||
private String[] _methodParameterTypes8; |
||||
private String _methodName9; |
||||
private String[] _methodParameterTypes9; |
||||
private String _methodName10; |
||||
private String[] _methodParameterTypes10; |
||||
private String _methodName11; |
||||
private String[] _methodParameterTypes11; |
||||
private String _methodName12; |
||||
private String[] _methodParameterTypes12; |
||||
private String _methodName13; |
||||
private String[] _methodParameterTypes13; |
||||
private String _methodName14; |
||||
private String[] _methodParameterTypes14; |
||||
private String _methodName15; |
||||
private String[] _methodParameterTypes15; |
||||
private String _methodName16; |
||||
private String[] _methodParameterTypes16; |
||||
private String _methodName17; |
||||
private String[] _methodParameterTypes17; |
||||
} |
@ -1,313 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.service; |
||||
|
||||
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; |
||||
import com.liferay.portal.kernel.util.ReferenceRegistry; |
||||
import com.liferay.portal.service.InvokableLocalService; |
||||
|
||||
/** |
||||
* Provides the local service utility for EmailTemplateAttachment. This utility wraps |
||||
* {@link it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl} and is the |
||||
* primary access point for service operations in application layer code running |
||||
* on the local server. Methods of this service will not have security checks |
||||
* based on the propagated JAAS credentials because this service can only be |
||||
* accessed from within the same VM. |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachmentLocalService |
||||
* @see it.tref.liferay.portos.mailmanager.service.base.EmailTemplateAttachmentLocalServiceBaseImpl |
||||
* @see it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl |
||||
* @generated |
||||
*/ |
||||
public class EmailTemplateAttachmentLocalServiceUtil { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. |
||||
*/ |
||||
|
||||
/** |
||||
* Adds the email template attachment to the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was added |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment addEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService().addEmailTemplateAttachment(emailTemplateAttachment); |
||||
} |
||||
|
||||
/** |
||||
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key for the new email template attachment |
||||
* @return the new email template attachment |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment createEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) { |
||||
return getService() |
||||
.createEmailTemplateAttachment(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Deletes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment that was removed |
||||
* @throws PortalException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException { |
||||
return getService() |
||||
.deleteEmailTemplateAttachment(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Deletes the email template attachment from the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was removed |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService() |
||||
.deleteEmailTemplateAttachment(emailTemplateAttachment); |
||||
} |
||||
|
||||
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { |
||||
return getService().dynamicQuery(); |
||||
} |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns the matching rows. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @return the matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@SuppressWarnings("rawtypes") |
||||
public static java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService().dynamicQuery(dynamicQuery); |
||||
} |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns a range of the matching rows. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param start the lower bound of the range of model instances |
||||
* @param end the upper bound of the range of model instances (not inclusive) |
||||
* @return the range of matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@SuppressWarnings("rawtypes") |
||||
public static java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, |
||||
int end) throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService().dynamicQuery(dynamicQuery, start, end); |
||||
} |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns an ordered range of the matching rows. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param start the lower bound of the range of model instances |
||||
* @param end the upper bound of the range of model instances (not inclusive) |
||||
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>) |
||||
* @return the ordered range of matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@SuppressWarnings("rawtypes") |
||||
public static java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, |
||||
int end, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService() |
||||
.dynamicQuery(dynamicQuery, start, end, orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of rows that match the dynamic query. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @return the number of rows that match the dynamic query |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static long dynamicQueryCount( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService().dynamicQueryCount(dynamicQuery); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of rows that match the dynamic query. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param projection the projection to apply to the query |
||||
* @return the number of rows that match the dynamic query |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static long dynamicQueryCount( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, |
||||
com.liferay.portal.kernel.dao.orm.Projection projection) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService().dynamicQueryCount(dynamicQuery, projection); |
||||
} |
||||
|
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService() |
||||
.fetchEmailTemplateAttachment(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachment with the primary key. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment |
||||
* @throws PortalException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment getEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException { |
||||
return getService().getEmailTemplateAttachment(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
public static com.liferay.portal.model.PersistedModel getPersistedModel( |
||||
java.io.Serializable primaryKeyObj) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException { |
||||
return getService().getPersistedModel(primaryKeyObj); |
||||
} |
||||
|
||||
/** |
||||
* Returns a range of all the email template attachments. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @return the range of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> getEmailTemplateAttachments( |
||||
int start, int end) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService().getEmailTemplateAttachments(start, end); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of email template attachments. |
||||
* |
||||
* @return the number of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static int getEmailTemplateAttachmentsCount() |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService().getEmailTemplateAttachmentsCount(); |
||||
} |
||||
|
||||
/** |
||||
* Updates the email template attachment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was updated |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getService() |
||||
.updateEmailTemplateAttachment(emailTemplateAttachment); |
||||
} |
||||
|
||||
/** |
||||
* Returns the Spring bean ID for this bean. |
||||
* |
||||
* @return the Spring bean ID for this bean |
||||
*/ |
||||
public static java.lang.String getBeanIdentifier() { |
||||
return getService().getBeanIdentifier(); |
||||
} |
||||
|
||||
/** |
||||
* Sets the Spring bean ID for this bean. |
||||
* |
||||
* @param beanIdentifier the Spring bean ID for this bean |
||||
*/ |
||||
public static void setBeanIdentifier(java.lang.String beanIdentifier) { |
||||
getService().setBeanIdentifier(beanIdentifier); |
||||
} |
||||
|
||||
public static java.lang.Object invokeMethod(java.lang.String name, |
||||
java.lang.String[] parameterTypes, java.lang.Object[] arguments) |
||||
throws java.lang.Throwable { |
||||
return getService().invokeMethod(name, parameterTypes, arguments); |
||||
} |
||||
|
||||
public static void clearService() { |
||||
_service = null; |
||||
} |
||||
|
||||
public static EmailTemplateAttachmentLocalService getService() { |
||||
if (_service == null) { |
||||
InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), |
||||
EmailTemplateAttachmentLocalService.class.getName()); |
||||
|
||||
if (invokableLocalService instanceof EmailTemplateAttachmentLocalService) { |
||||
_service = (EmailTemplateAttachmentLocalService)invokableLocalService; |
||||
} |
||||
else { |
||||
_service = new EmailTemplateAttachmentLocalServiceClp(invokableLocalService); |
||||
} |
||||
|
||||
ReferenceRegistry.registerReference(EmailTemplateAttachmentLocalServiceUtil.class, |
||||
"_service"); |
||||
} |
||||
|
||||
return _service; |
||||
} |
||||
|
||||
/** |
||||
* @deprecated As of 6.2.0 |
||||
*/ |
||||
public void setService(EmailTemplateAttachmentLocalService service) { |
||||
} |
||||
|
||||
private static EmailTemplateAttachmentLocalService _service; |
||||
} |
@ -1,320 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.service; |
||||
|
||||
import com.liferay.portal.service.ServiceWrapper; |
||||
|
||||
/** |
||||
* Provides a wrapper for {@link EmailTemplateAttachmentLocalService}. |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachmentLocalService |
||||
* @generated |
||||
*/ |
||||
public class EmailTemplateAttachmentLocalServiceWrapper |
||||
implements EmailTemplateAttachmentLocalService, |
||||
ServiceWrapper<EmailTemplateAttachmentLocalService> { |
||||
public EmailTemplateAttachmentLocalServiceWrapper( |
||||
EmailTemplateAttachmentLocalService emailTemplateAttachmentLocalService) { |
||||
_emailTemplateAttachmentLocalService = emailTemplateAttachmentLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Adds the email template attachment to the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was added |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment addEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.addEmailTemplateAttachment(emailTemplateAttachment); |
||||
} |
||||
|
||||
/** |
||||
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key for the new email template attachment |
||||
* @return the new email template attachment |
||||
*/ |
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment createEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) { |
||||
return _emailTemplateAttachmentLocalService.createEmailTemplateAttachment(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Deletes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment that was removed |
||||
* @throws PortalException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.deleteEmailTemplateAttachment(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Deletes the email template attachment from the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was removed |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.deleteEmailTemplateAttachment(emailTemplateAttachment); |
||||
} |
||||
|
||||
@Override |
||||
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { |
||||
return _emailTemplateAttachmentLocalService.dynamicQuery(); |
||||
} |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns the matching rows. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @return the matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
@SuppressWarnings("rawtypes") |
||||
public java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.dynamicQuery(dynamicQuery); |
||||
} |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns a range of the matching rows. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param start the lower bound of the range of model instances |
||||
* @param end the upper bound of the range of model instances (not inclusive) |
||||
* @return the range of matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
@SuppressWarnings("rawtypes") |
||||
public java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, |
||||
int end) throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.dynamicQuery(dynamicQuery, |
||||
start, end); |
||||
} |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns an ordered range of the matching rows. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param start the lower bound of the range of model instances |
||||
* @param end the upper bound of the range of model instances (not inclusive) |
||||
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>) |
||||
* @return the ordered range of matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
@SuppressWarnings("rawtypes") |
||||
public java.util.List dynamicQuery( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, |
||||
int end, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.dynamicQuery(dynamicQuery, |
||||
start, end, orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of rows that match the dynamic query. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @return the number of rows that match the dynamic query |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public long dynamicQueryCount( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.dynamicQueryCount(dynamicQuery); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of rows that match the dynamic query. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param projection the projection to apply to the query |
||||
* @return the number of rows that match the dynamic query |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public long dynamicQueryCount( |
||||
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, |
||||
com.liferay.portal.kernel.dao.orm.Projection projection) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.dynamicQueryCount(dynamicQuery, |
||||
projection); |
||||
} |
||||
|
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.fetchEmailTemplateAttachment(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachment with the primary key. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment |
||||
* @throws PortalException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment getEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.getEmailTemplateAttachment(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
@Override |
||||
public com.liferay.portal.model.PersistedModel getPersistedModel( |
||||
java.io.Serializable primaryKeyObj) |
||||
throws com.liferay.portal.kernel.exception.PortalException, |
||||
com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.getPersistedModel(primaryKeyObj); |
||||
} |
||||
|
||||
/** |
||||
* Returns a range of all the email template attachments. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @return the range of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> getEmailTemplateAttachments( |
||||
int start, int end) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.getEmailTemplateAttachments(start, |
||||
end); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of email template attachments. |
||||
* |
||||
* @return the number of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public int getEmailTemplateAttachmentsCount() |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.getEmailTemplateAttachmentsCount(); |
||||
} |
||||
|
||||
/** |
||||
* Updates the email template attachment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was updated |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateEmailTemplateAttachment( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return _emailTemplateAttachmentLocalService.updateEmailTemplateAttachment(emailTemplateAttachment); |
||||
} |
||||
|
||||
/** |
||||
* Returns the Spring bean ID for this bean. |
||||
* |
||||
* @return the Spring bean ID for this bean |
||||
*/ |
||||
@Override |
||||
public java.lang.String getBeanIdentifier() { |
||||
return _emailTemplateAttachmentLocalService.getBeanIdentifier(); |
||||
} |
||||
|
||||
/** |
||||
* Sets the Spring bean ID for this bean. |
||||
* |
||||
* @param beanIdentifier the Spring bean ID for this bean |
||||
*/ |
||||
@Override |
||||
public void setBeanIdentifier(java.lang.String beanIdentifier) { |
||||
_emailTemplateAttachmentLocalService.setBeanIdentifier(beanIdentifier); |
||||
} |
||||
|
||||
@Override |
||||
public java.lang.Object invokeMethod(java.lang.String name, |
||||
java.lang.String[] parameterTypes, java.lang.Object[] arguments) |
||||
throws java.lang.Throwable { |
||||
return _emailTemplateAttachmentLocalService.invokeMethod(name, |
||||
parameterTypes, arguments); |
||||
} |
||||
|
||||
/** |
||||
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService} |
||||
*/ |
||||
public EmailTemplateAttachmentLocalService getWrappedEmailTemplateAttachmentLocalService() { |
||||
return _emailTemplateAttachmentLocalService; |
||||
} |
||||
|
||||
/** |
||||
* @deprecated As of 6.1.0, replaced by {@link #setWrappedService} |
||||
*/ |
||||
public void setWrappedEmailTemplateAttachmentLocalService( |
||||
EmailTemplateAttachmentLocalService emailTemplateAttachmentLocalService) { |
||||
_emailTemplateAttachmentLocalService = emailTemplateAttachmentLocalService; |
||||
} |
||||
|
||||
@Override |
||||
public EmailTemplateAttachmentLocalService getWrappedService() { |
||||
return _emailTemplateAttachmentLocalService; |
||||
} |
||||
|
||||
@Override |
||||
public void setWrappedService( |
||||
EmailTemplateAttachmentLocalService emailTemplateAttachmentLocalService) { |
||||
_emailTemplateAttachmentLocalService = emailTemplateAttachmentLocalService; |
||||
} |
||||
|
||||
private EmailTemplateAttachmentLocalService _emailTemplateAttachmentLocalService; |
||||
} |
@ -1,38 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.service.persistence; |
||||
|
||||
import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; |
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment; |
||||
import it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalServiceUtil; |
||||
|
||||
/** |
||||
* @author |
||||
* @generated |
||||
*/ |
||||
public abstract class EmailTemplateAttachmentActionableDynamicQuery |
||||
extends BaseActionableDynamicQuery { |
||||
public EmailTemplateAttachmentActionableDynamicQuery() |
||||
throws SystemException { |
||||
setBaseLocalService(EmailTemplateAttachmentLocalServiceUtil.getService()); |
||||
setClass(EmailTemplateAttachment.class); |
||||
|
||||
setClassLoader(it.tref.liferay.portos.mailmanager.service.ClpSerializer.class.getClassLoader()); |
||||
|
||||
setPrimaryKeyPropertyName("primaryKey.emailTemplateId"); |
||||
} |
||||
} |
@ -1,140 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.service.persistence; |
||||
|
||||
import com.liferay.portal.kernel.util.StringBundler; |
||||
import com.liferay.portal.kernel.util.StringPool; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
* @author |
||||
* @generated |
||||
*/ |
||||
public class EmailTemplateAttachmentPK implements Comparable<EmailTemplateAttachmentPK>, |
||||
Serializable { |
||||
public long emailTemplateId; |
||||
public long fileEntryId; |
||||
|
||||
public EmailTemplateAttachmentPK() { |
||||
} |
||||
|
||||
public EmailTemplateAttachmentPK(long emailTemplateId, long fileEntryId) { |
||||
this.emailTemplateId = emailTemplateId; |
||||
this.fileEntryId = fileEntryId; |
||||
} |
||||
|
||||
public long getEmailTemplateId() { |
||||
return emailTemplateId; |
||||
} |
||||
|
||||
public void setEmailTemplateId(long emailTemplateId) { |
||||
this.emailTemplateId = emailTemplateId; |
||||
} |
||||
|
||||
public long getFileEntryId() { |
||||
return fileEntryId; |
||||
} |
||||
|
||||
public void setFileEntryId(long fileEntryId) { |
||||
this.fileEntryId = fileEntryId; |
||||
} |
||||
|
||||
@Override |
||||
public int compareTo(EmailTemplateAttachmentPK pk) { |
||||
if (pk == null) { |
||||
return -1; |
||||
} |
||||
|
||||
int value = 0; |
||||
|
||||
if (emailTemplateId < pk.emailTemplateId) { |
||||
value = -1; |
||||
} |
||||
else if (emailTemplateId > pk.emailTemplateId) { |
||||
value = 1; |
||||
} |
||||
else { |
||||
value = 0; |
||||
} |
||||
|
||||
if (value != 0) { |
||||
return value; |
||||
} |
||||
|
||||
if (fileEntryId < pk.fileEntryId) { |
||||
value = -1; |
||||
} |
||||
else if (fileEntryId > pk.fileEntryId) { |
||||
value = 1; |
||||
} |
||||
else { |
||||
value = 0; |
||||
} |
||||
|
||||
if (value != 0) { |
||||
return value; |
||||
} |
||||
|
||||
return 0; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
|
||||
if (!(obj instanceof EmailTemplateAttachmentPK)) { |
||||
return false; |
||||
} |
||||
|
||||
EmailTemplateAttachmentPK pk = (EmailTemplateAttachmentPK)obj; |
||||
|
||||
if ((emailTemplateId == pk.emailTemplateId) && |
||||
(fileEntryId == pk.fileEntryId)) { |
||||
return true; |
||||
} |
||||
else { |
||||
return false; |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
return (String.valueOf(emailTemplateId) + String.valueOf(fileEntryId)).hashCode(); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
StringBundler sb = new StringBundler(10); |
||||
|
||||
sb.append(StringPool.OPEN_CURLY_BRACE); |
||||
|
||||
sb.append("emailTemplateId"); |
||||
sb.append(StringPool.EQUAL); |
||||
sb.append(emailTemplateId); |
||||
|
||||
sb.append(StringPool.COMMA); |
||||
sb.append(StringPool.SPACE); |
||||
sb.append("fileEntryId"); |
||||
sb.append(StringPool.EQUAL); |
||||
sb.append(fileEntryId); |
||||
|
||||
sb.append(StringPool.CLOSE_CURLY_BRACE); |
||||
|
||||
return sb.toString(); |
||||
} |
||||
} |
@ -1,362 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.service.persistence; |
||||
|
||||
import com.liferay.portal.service.persistence.BasePersistence; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment; |
||||
|
||||
/** |
||||
* The persistence interface for the email template attachment service. |
||||
* |
||||
* <p> |
||||
* Caching information and settings can be found in <code>portal.properties</code> |
||||
* </p> |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachmentPersistenceImpl |
||||
* @see EmailTemplateAttachmentUtil |
||||
* @generated |
||||
*/ |
||||
public interface EmailTemplateAttachmentPersistence extends BasePersistence<EmailTemplateAttachment> { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never modify or reference this interface directly. Always use {@link EmailTemplateAttachmentUtil} to access the email template attachment persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. |
||||
*/ |
||||
|
||||
/** |
||||
* Returns all the email template attachments where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @return the matching email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId( |
||||
long emailTemplateId) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns a range of all the email template attachments where emailTemplateId = ?. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @return the range of matching email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId( |
||||
long emailTemplateId, int start, int end) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns an ordered range of all the email template attachments where emailTemplateId = ?. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>) |
||||
* @return the ordered range of matching email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId( |
||||
long emailTemplateId, int start, int end, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the first email template attachment in the ordered set where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) |
||||
* @return the first matching email template attachment |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByEmailTemplateId_First( |
||||
long emailTemplateId, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException; |
||||
|
||||
/** |
||||
* Returns the first email template attachment in the ordered set where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) |
||||
* @return the first matching email template attachment, or <code>null</code> if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByEmailTemplateId_First( |
||||
long emailTemplateId, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the last email template attachment in the ordered set where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) |
||||
* @return the last matching email template attachment |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByEmailTemplateId_Last( |
||||
long emailTemplateId, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException; |
||||
|
||||
/** |
||||
* Returns the last email template attachment in the ordered set where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) |
||||
* @return the last matching email template attachment, or <code>null</code> if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByEmailTemplateId_Last( |
||||
long emailTemplateId, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the email template attachments before and after the current email template attachment in the ordered set where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the current email template attachment |
||||
* @param emailTemplateId the email template ID |
||||
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) |
||||
* @return the previous, current, and next email template attachment |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment[] findByEmailTemplateId_PrevAndNext( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK, |
||||
long emailTemplateId, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException; |
||||
|
||||
/** |
||||
* Removes all the email template attachments where emailTemplateId = ? from the database. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public void removeByEmailTemplateId(long emailTemplateId) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the number of email template attachments where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @return the number of matching email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public int countByEmailTemplateId(long emailTemplateId) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the email template attachment where fileEntryId = ? or throws a {@link it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException} if it could not be found. |
||||
* |
||||
* @param fileEntryId the file entry ID |
||||
* @return the matching email template attachment |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByFileEntryId( |
||||
long fileEntryId) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException; |
||||
|
||||
/** |
||||
* Returns the email template attachment where fileEntryId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. |
||||
* |
||||
* @param fileEntryId the file entry ID |
||||
* @return the matching email template attachment, or <code>null</code> if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByFileEntryId( |
||||
long fileEntryId) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the email template attachment where fileEntryId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. |
||||
* |
||||
* @param fileEntryId the file entry ID |
||||
* @param retrieveFromCache whether to use the finder cache |
||||
* @return the matching email template attachment, or <code>null</code> if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByFileEntryId( |
||||
long fileEntryId, boolean retrieveFromCache) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Removes the email template attachment where fileEntryId = ? from the database. |
||||
* |
||||
* @param fileEntryId the file entry ID |
||||
* @return the email template attachment that was removed |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment removeByFileEntryId( |
||||
long fileEntryId) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException; |
||||
|
||||
/** |
||||
* Returns the number of email template attachments where fileEntryId = ?. |
||||
* |
||||
* @param fileEntryId the file entry ID |
||||
* @return the number of matching email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public int countByFileEntryId(long fileEntryId) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Caches the email template attachment in the entity cache if it is enabled. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
*/ |
||||
public void cacheResult( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment); |
||||
|
||||
/** |
||||
* Caches the email template attachments in the entity cache if it is enabled. |
||||
* |
||||
* @param emailTemplateAttachments the email template attachments |
||||
*/ |
||||
public void cacheResult( |
||||
java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> emailTemplateAttachments); |
||||
|
||||
/** |
||||
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key for the new email template attachment |
||||
* @return the new email template attachment |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment create( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK); |
||||
|
||||
/** |
||||
* Removes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment that was removed |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment remove( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException; |
||||
|
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateImpl( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the email template attachment with the primary key or throws a {@link it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException} if it could not be found. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByPrimaryKey( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException; |
||||
|
||||
/** |
||||
* Returns the email template attachment with the primary key or returns <code>null</code> if it could not be found. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment, or <code>null</code> if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByPrimaryKey( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns all the email template attachments. |
||||
* |
||||
* @return the email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll() |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns a range of all the email template attachments. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @return the range of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll( |
||||
int start, int end) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns an ordered range of all the email template attachments. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>) |
||||
* @return the ordered range of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll( |
||||
int start, int end, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Removes all the email template attachments from the database. |
||||
* |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public void removeAll() |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
/** |
||||
* Returns the number of email template attachments. |
||||
* |
||||
* @return the number of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public int countAll() |
||||
throws com.liferay.portal.kernel.exception.SystemException; |
||||
} |
@ -1,526 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.service.persistence; |
||||
|
||||
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; |
||||
import com.liferay.portal.kernel.dao.orm.DynamicQuery; |
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
import com.liferay.portal.kernel.util.OrderByComparator; |
||||
import com.liferay.portal.kernel.util.ReferenceRegistry; |
||||
import com.liferay.portal.service.ServiceContext; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* The persistence utility for the email template attachment service. This utility wraps {@link EmailTemplateAttachmentPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. |
||||
* |
||||
* <p> |
||||
* Caching information and settings can be found in <code>portal.properties</code> |
||||
* </p> |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachmentPersistence |
||||
* @see EmailTemplateAttachmentPersistenceImpl |
||||
* @generated |
||||
*/ |
||||
public class EmailTemplateAttachmentUtil { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. |
||||
*/ |
||||
|
||||
/** |
||||
* @see com.liferay.portal.service.persistence.BasePersistence#clearCache() |
||||
*/ |
||||
public static void clearCache() { |
||||
getPersistence().clearCache(); |
||||
} |
||||
|
||||
/** |
||||
* @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) |
||||
*/ |
||||
public static void clearCache( |
||||
EmailTemplateAttachment emailTemplateAttachment) { |
||||
getPersistence().clearCache(emailTemplateAttachment); |
||||
} |
||||
|
||||
/** |
||||
* @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) |
||||
*/ |
||||
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) |
||||
throws SystemException { |
||||
return getPersistence().countWithDynamicQuery(dynamicQuery); |
||||
} |
||||
|
||||
/** |
||||
* @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) |
||||
*/ |
||||
public static List<EmailTemplateAttachment> findWithDynamicQuery( |
||||
DynamicQuery dynamicQuery) throws SystemException { |
||||
return getPersistence().findWithDynamicQuery(dynamicQuery); |
||||
} |
||||
|
||||
/** |
||||
* @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) |
||||
*/ |
||||
public static List<EmailTemplateAttachment> findWithDynamicQuery( |
||||
DynamicQuery dynamicQuery, int start, int end) |
||||
throws SystemException { |
||||
return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); |
||||
} |
||||
|
||||
/** |
||||
* @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) |
||||
*/ |
||||
public static List<EmailTemplateAttachment> findWithDynamicQuery( |
||||
DynamicQuery dynamicQuery, int start, int end, |
||||
OrderByComparator orderByComparator) throws SystemException { |
||||
return getPersistence() |
||||
.findWithDynamicQuery(dynamicQuery, start, end, |
||||
orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) |
||||
*/ |
||||
public static EmailTemplateAttachment update( |
||||
EmailTemplateAttachment emailTemplateAttachment) |
||||
throws SystemException { |
||||
return getPersistence().update(emailTemplateAttachment); |
||||
} |
||||
|
||||
/** |
||||
* @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) |
||||
*/ |
||||
public static EmailTemplateAttachment update( |
||||
EmailTemplateAttachment emailTemplateAttachment, |
||||
ServiceContext serviceContext) throws SystemException { |
||||
return getPersistence().update(emailTemplateAttachment, serviceContext); |
||||
} |
||||
|
||||
/** |
||||
* Returns all the email template attachments where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @return the matching email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId( |
||||
long emailTemplateId) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence().findByEmailTemplateId(emailTemplateId); |
||||
} |
||||
|
||||
/** |
||||
* Returns a range of all the email template attachments where emailTemplateId = ?. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @return the range of matching email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId( |
||||
long emailTemplateId, int start, int end) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence() |
||||
.findByEmailTemplateId(emailTemplateId, start, end); |
||||
} |
||||
|
||||
/** |
||||
* Returns an ordered range of all the email template attachments where emailTemplateId = ?. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>) |
||||
* @return the ordered range of matching email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId( |
||||
long emailTemplateId, int start, int end, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence() |
||||
.findByEmailTemplateId(emailTemplateId, start, end, |
||||
orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* Returns the first email template attachment in the ordered set where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) |
||||
* @return the first matching email template attachment |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByEmailTemplateId_First( |
||||
long emailTemplateId, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException { |
||||
return getPersistence() |
||||
.findByEmailTemplateId_First(emailTemplateId, |
||||
orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* Returns the first email template attachment in the ordered set where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) |
||||
* @return the first matching email template attachment, or <code>null</code> if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByEmailTemplateId_First( |
||||
long emailTemplateId, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence() |
||||
.fetchByEmailTemplateId_First(emailTemplateId, |
||||
orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* Returns the last email template attachment in the ordered set where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) |
||||
* @return the last matching email template attachment |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByEmailTemplateId_Last( |
||||
long emailTemplateId, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException { |
||||
return getPersistence() |
||||
.findByEmailTemplateId_Last(emailTemplateId, |
||||
orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* Returns the last email template attachment in the ordered set where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) |
||||
* @return the last matching email template attachment, or <code>null</code> if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByEmailTemplateId_Last( |
||||
long emailTemplateId, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence() |
||||
.fetchByEmailTemplateId_Last(emailTemplateId, |
||||
orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachments before and after the current email template attachment in the ordered set where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the current email template attachment |
||||
* @param emailTemplateId the email template ID |
||||
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) |
||||
* @return the previous, current, and next email template attachment |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment[] findByEmailTemplateId_PrevAndNext( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK, |
||||
long emailTemplateId, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException { |
||||
return getPersistence() |
||||
.findByEmailTemplateId_PrevAndNext(emailTemplateAttachmentPK, |
||||
emailTemplateId, orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* Removes all the email template attachments where emailTemplateId = ? from the database. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static void removeByEmailTemplateId(long emailTemplateId) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
getPersistence().removeByEmailTemplateId(emailTemplateId); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of email template attachments where emailTemplateId = ?. |
||||
* |
||||
* @param emailTemplateId the email template ID |
||||
* @return the number of matching email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static int countByEmailTemplateId(long emailTemplateId) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence().countByEmailTemplateId(emailTemplateId); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachment where fileEntryId = ? or throws a {@link it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException} if it could not be found. |
||||
* |
||||
* @param fileEntryId the file entry ID |
||||
* @return the matching email template attachment |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByFileEntryId( |
||||
long fileEntryId) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException { |
||||
return getPersistence().findByFileEntryId(fileEntryId); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachment where fileEntryId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. |
||||
* |
||||
* @param fileEntryId the file entry ID |
||||
* @return the matching email template attachment, or <code>null</code> if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByFileEntryId( |
||||
long fileEntryId) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence().fetchByFileEntryId(fileEntryId); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachment where fileEntryId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. |
||||
* |
||||
* @param fileEntryId the file entry ID |
||||
* @param retrieveFromCache whether to use the finder cache |
||||
* @return the matching email template attachment, or <code>null</code> if a matching email template attachment could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByFileEntryId( |
||||
long fileEntryId, boolean retrieveFromCache) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence() |
||||
.fetchByFileEntryId(fileEntryId, retrieveFromCache); |
||||
} |
||||
|
||||
/** |
||||
* Removes the email template attachment where fileEntryId = ? from the database. |
||||
* |
||||
* @param fileEntryId the file entry ID |
||||
* @return the email template attachment that was removed |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment removeByFileEntryId( |
||||
long fileEntryId) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException { |
||||
return getPersistence().removeByFileEntryId(fileEntryId); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of email template attachments where fileEntryId = ?. |
||||
* |
||||
* @param fileEntryId the file entry ID |
||||
* @return the number of matching email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static int countByFileEntryId(long fileEntryId) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence().countByFileEntryId(fileEntryId); |
||||
} |
||||
|
||||
/** |
||||
* Caches the email template attachment in the entity cache if it is enabled. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
*/ |
||||
public static void cacheResult( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) { |
||||
getPersistence().cacheResult(emailTemplateAttachment); |
||||
} |
||||
|
||||
/** |
||||
* Caches the email template attachments in the entity cache if it is enabled. |
||||
* |
||||
* @param emailTemplateAttachments the email template attachments |
||||
*/ |
||||
public static void cacheResult( |
||||
java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> emailTemplateAttachments) { |
||||
getPersistence().cacheResult(emailTemplateAttachments); |
||||
} |
||||
|
||||
/** |
||||
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key for the new email template attachment |
||||
* @return the new email template attachment |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment create( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) { |
||||
return getPersistence().create(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Removes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment that was removed |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment remove( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException { |
||||
return getPersistence().remove(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateImpl( |
||||
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence().updateImpl(emailTemplateAttachment); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachment with the primary key or throws a {@link it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException} if it could not be found. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment |
||||
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByPrimaryKey( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.SystemException, |
||||
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException { |
||||
return getPersistence().findByPrimaryKey(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachment with the primary key or returns <code>null</code> if it could not be found. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment, or <code>null</code> if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByPrimaryKey( |
||||
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence().fetchByPrimaryKey(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Returns all the email template attachments. |
||||
* |
||||
* @return the email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll() |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence().findAll(); |
||||
} |
||||
|
||||
/** |
||||
* Returns a range of all the email template attachments. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @return the range of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll( |
||||
int start, int end) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence().findAll(start, end); |
||||
} |
||||
|
||||
/** |
||||
* Returns an ordered range of all the email template attachments. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>) |
||||
* @return the ordered range of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll( |
||||
int start, int end, |
||||
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence().findAll(start, end, orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* Removes all the email template attachments from the database. |
||||
* |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static void removeAll() |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
getPersistence().removeAll(); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of email template attachments. |
||||
* |
||||
* @return the number of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
public static int countAll() |
||||
throws com.liferay.portal.kernel.exception.SystemException { |
||||
return getPersistence().countAll(); |
||||
} |
||||
|
||||
public static EmailTemplateAttachmentPersistence getPersistence() { |
||||
if (_persistence == null) { |
||||
_persistence = (EmailTemplateAttachmentPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.mailmanager.service.ClpSerializer.getServletContextName(), |
||||
EmailTemplateAttachmentPersistence.class.getName()); |
||||
|
||||
ReferenceRegistry.registerReference(EmailTemplateAttachmentUtil.class, |
||||
"_persistence"); |
||||
} |
||||
|
||||
return _persistence; |
||||
} |
||||
|
||||
/** |
||||
* @deprecated As of 6.2.0 |
||||
*/ |
||||
public void setPersistence(EmailTemplateAttachmentPersistence persistence) { |
||||
} |
||||
|
||||
private static EmailTemplateAttachmentPersistence _persistence; |
||||
} |
@ -1,50 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.model.impl; |
||||
|
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment; |
||||
import it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalServiceUtil; |
||||
|
||||
/** |
||||
* The extended model base implementation for the EmailTemplateAttachment service. Represents a row in the "portos_Mail_EmailTemplateAttachment" database table, with each column mapped to a property of this class. |
||||
* |
||||
* <p> |
||||
* This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link EmailTemplateAttachmentImpl}. |
||||
* </p> |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachmentImpl |
||||
* @see it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment |
||||
* @generated |
||||
*/ |
||||
public abstract class EmailTemplateAttachmentBaseImpl |
||||
extends EmailTemplateAttachmentModelImpl implements EmailTemplateAttachment { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never modify or reference this class directly. All methods that expect a email template attachment model instance should use the {@link EmailTemplateAttachment} interface instead. |
||||
*/ |
||||
@Override |
||||
public void persist() throws SystemException { |
||||
if (this.isNew()) { |
||||
EmailTemplateAttachmentLocalServiceUtil.addEmailTemplateAttachment(this); |
||||
} |
||||
else { |
||||
EmailTemplateAttachmentLocalServiceUtil.updateEmailTemplateAttachment(this); |
||||
} |
||||
} |
||||
} |
@ -1,76 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.model.impl; |
||||
|
||||
import com.liferay.portal.kernel.util.StringBundler; |
||||
import com.liferay.portal.model.CacheModel; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment; |
||||
|
||||
import java.io.Externalizable; |
||||
import java.io.IOException; |
||||
import java.io.ObjectInput; |
||||
import java.io.ObjectOutput; |
||||
|
||||
/** |
||||
* The cache model class for representing EmailTemplateAttachment in entity cache. |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachment |
||||
* @generated |
||||
*/ |
||||
public class EmailTemplateAttachmentCacheModel implements CacheModel<EmailTemplateAttachment>, |
||||
Externalizable { |
||||
@Override |
||||
public String toString() { |
||||
StringBundler sb = new StringBundler(5); |
||||
|
||||
sb.append("{emailTemplateId="); |
||||
sb.append(emailTemplateId); |
||||
sb.append(", fileEntryId="); |
||||
sb.append(fileEntryId); |
||||
sb.append("}"); |
||||
|
||||
return sb.toString(); |
||||
} |
||||
|
||||
@Override |
||||
public EmailTemplateAttachment toEntityModel() { |
||||
EmailTemplateAttachmentImpl emailTemplateAttachmentImpl = new EmailTemplateAttachmentImpl(); |
||||
|
||||
emailTemplateAttachmentImpl.setEmailTemplateId(emailTemplateId); |
||||
emailTemplateAttachmentImpl.setFileEntryId(fileEntryId); |
||||
|
||||
emailTemplateAttachmentImpl.resetOriginalValues(); |
||||
|
||||
return emailTemplateAttachmentImpl; |
||||
} |
||||
|
||||
@Override |
||||
public void readExternal(ObjectInput objectInput) throws IOException { |
||||
emailTemplateId = objectInput.readLong(); |
||||
fileEntryId = objectInput.readLong(); |
||||
} |
||||
|
||||
@Override |
||||
public void writeExternal(ObjectOutput objectOutput) |
||||
throws IOException { |
||||
objectOutput.writeLong(emailTemplateId); |
||||
objectOutput.writeLong(fileEntryId); |
||||
} |
||||
|
||||
public long emailTemplateId; |
||||
public long fileEntryId; |
||||
} |
@ -1,34 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.model.impl; |
||||
|
||||
/** |
||||
* The extended model implementation for the EmailTemplateAttachment service. Represents a row in the "portos_Mail_EmailTemplateAttachment" database table, with each column mapped to a property of this class. |
||||
* |
||||
* <p> |
||||
* Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment} interface. |
||||
* </p> |
||||
* |
||||
* @author |
||||
*/ |
||||
public class EmailTemplateAttachmentImpl extends EmailTemplateAttachmentBaseImpl { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never reference this class directly. All methods that expect a email template attachment model instance should use the {@link it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment} interface instead. |
||||
*/ |
||||
public EmailTemplateAttachmentImpl() { |
||||
} |
||||
} |
@ -1,318 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.model.impl; |
||||
|
||||
import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; |
||||
import com.liferay.portal.kernel.util.GetterUtil; |
||||
import com.liferay.portal.kernel.util.ProxyUtil; |
||||
import com.liferay.portal.kernel.util.StringBundler; |
||||
import com.liferay.portal.model.CacheModel; |
||||
import com.liferay.portal.model.impl.BaseModelImpl; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment; |
||||
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachmentModel; |
||||
import it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import java.sql.Types; |
||||
|
||||
import java.util.HashMap; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* The base model implementation for the EmailTemplateAttachment service. Represents a row in the "portos_Mail_EmailTemplateAttachment" database table, with each column mapped to a property of this class. |
||||
* |
||||
* <p> |
||||
* This implementation and its corresponding interface {@link it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachmentModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link EmailTemplateAttachmentImpl}. |
||||
* </p> |
||||
* |
||||
* @author |
||||
* @see EmailTemplateAttachmentImpl |
||||
* @see it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment |
||||
* @see it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachmentModel |
||||
* @generated |
||||
*/ |
||||
public class EmailTemplateAttachmentModelImpl extends BaseModelImpl<EmailTemplateAttachment> |
||||
implements EmailTemplateAttachmentModel { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never modify or reference this class directly. All methods that expect a email template attachment model instance should use the {@link it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment} interface instead. |
||||
*/ |
||||
public static final String TABLE_NAME = "portos_Mail_EmailTemplateAttachment"; |
||||
public static final Object[][] TABLE_COLUMNS = { |
||||
{ "emailTemplateId", Types.BIGINT }, |
||||
{ "fileEntryId", Types.BIGINT } |
||||
}; |
||||
public static final String TABLE_SQL_CREATE = "create table portos_Mail_EmailTemplateAttachment (emailTemplateId LONG not null,fileEntryId LONG not null,primary key (emailTemplateId, fileEntryId))"; |
||||
public static final String TABLE_SQL_DROP = "drop table portos_Mail_EmailTemplateAttachment"; |
||||
public static final String ORDER_BY_JPQL = " ORDER BY emailTemplateAttachment.id.emailTemplateId ASC, emailTemplateAttachment.id.fileEntryId ASC"; |
||||
public static final String ORDER_BY_SQL = " ORDER BY portos_Mail_EmailTemplateAttachment.emailTemplateId ASC, portos_Mail_EmailTemplateAttachment.fileEntryId ASC"; |
||||
public static final String DATA_SOURCE = "liferayDataSource"; |
||||
public static final String SESSION_FACTORY = "liferaySessionFactory"; |
||||
public static final String TX_MANAGER = "liferayTransactionManager"; |
||||
public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( |
||||
"value.object.entity.cache.enabled.it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"), |
||||
true); |
||||
public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( |
||||
"value.object.finder.cache.enabled.it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"), |
||||
true); |
||||
public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( |
||||
"value.object.column.bitmask.enabled.it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"), |
||||
true); |
||||
public static long EMAILTEMPLATEID_COLUMN_BITMASK = 1L; |
||||
public static long FILEENTRYID_COLUMN_BITMASK = 2L; |
||||
public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( |
||||
"lock.expiration.time.it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment")); |
||||
|
||||
public EmailTemplateAttachmentModelImpl() { |
||||
} |
||||
|
||||
@Override |
||||
public EmailTemplateAttachmentPK getPrimaryKey() { |
||||
return new EmailTemplateAttachmentPK(_emailTemplateId, _fileEntryId); |
||||
} |
||||
|
||||
@Override |
||||
public void setPrimaryKey(EmailTemplateAttachmentPK primaryKey) { |
||||
setEmailTemplateId(primaryKey.emailTemplateId); |
||||
setFileEntryId(primaryKey.fileEntryId); |
||||
} |
||||
|
||||
@Override |
||||
public Serializable getPrimaryKeyObj() { |
||||
return new EmailTemplateAttachmentPK(_emailTemplateId, _fileEntryId); |
||||
} |
||||
|
||||
@Override |
||||
public void setPrimaryKeyObj(Serializable primaryKeyObj) { |
||||
setPrimaryKey((EmailTemplateAttachmentPK)primaryKeyObj); |
||||
} |
||||
|
||||
@Override |
||||
public Class<?> getModelClass() { |
||||
return EmailTemplateAttachment.class; |
||||
} |
||||
|
||||
@Override |
||||
public String getModelClassName() { |
||||
return EmailTemplateAttachment.class.getName(); |
||||
} |
||||
|
||||
@Override |
||||
public Map<String, Object> getModelAttributes() { |
||||
Map<String, Object> attributes = new HashMap<String, Object>(); |
||||
|
||||
attributes.put("emailTemplateId", getEmailTemplateId()); |
||||
attributes.put("fileEntryId", getFileEntryId()); |
||||
|
||||
return attributes; |
||||
} |
||||
|
||||
@Override |
||||
public void setModelAttributes(Map<String, Object> attributes) { |
||||
Long emailTemplateId = (Long)attributes.get("emailTemplateId"); |
||||
|
||||
if (emailTemplateId != null) { |
||||
setEmailTemplateId(emailTemplateId); |
||||
} |
||||
|
||||
Long fileEntryId = (Long)attributes.get("fileEntryId"); |
||||
|
||||
if (fileEntryId != null) { |
||||
setFileEntryId(fileEntryId); |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
public long getEmailTemplateId() { |
||||
return _emailTemplateId; |
||||
} |
||||
|
||||
@Override |
||||
public void setEmailTemplateId(long emailTemplateId) { |
||||
_columnBitmask |= EMAILTEMPLATEID_COLUMN_BITMASK; |
||||
|
||||
if (!_setOriginalEmailTemplateId) { |
||||
_setOriginalEmailTemplateId = true; |
||||
|
||||
_originalEmailTemplateId = _emailTemplateId; |
||||
} |
||||
|
||||
_emailTemplateId = emailTemplateId; |
||||
} |
||||
|
||||
public long getOriginalEmailTemplateId() { |
||||
return _originalEmailTemplateId; |
||||
} |
||||
|
||||
@Override |
||||
public long getFileEntryId() { |
||||
return _fileEntryId; |
||||
} |
||||
|
||||
@Override |
||||
public void setFileEntryId(long fileEntryId) { |
||||
_columnBitmask |= FILEENTRYID_COLUMN_BITMASK; |
||||
|
||||
if (!_setOriginalFileEntryId) { |
||||
_setOriginalFileEntryId = true; |
||||
|
||||
_originalFileEntryId = _fileEntryId; |
||||
} |
||||
|
||||
_fileEntryId = fileEntryId; |
||||
} |
||||
|
||||
public long getOriginalFileEntryId() { |
||||
return _originalFileEntryId; |
||||
} |
||||
|
||||
public long getColumnBitmask() { |
||||
return _columnBitmask; |
||||
} |
||||
|
||||
@Override |
||||
public EmailTemplateAttachment toEscapedModel() { |
||||
if (_escapedModel == null) { |
||||
_escapedModel = (EmailTemplateAttachment)ProxyUtil.newProxyInstance(_classLoader, |
||||
_escapedModelInterfaces, new AutoEscapeBeanHandler(this)); |
||||
} |
||||
|
||||
return _escapedModel; |
||||
} |
||||
|
||||
@Override |
||||
public Object clone() { |
||||
EmailTemplateAttachmentImpl emailTemplateAttachmentImpl = new EmailTemplateAttachmentImpl(); |
||||
|
||||
emailTemplateAttachmentImpl.setEmailTemplateId(getEmailTemplateId()); |
||||
emailTemplateAttachmentImpl.setFileEntryId(getFileEntryId()); |
||||
|
||||
emailTemplateAttachmentImpl.resetOriginalValues(); |
||||
|
||||
return emailTemplateAttachmentImpl; |
||||
} |
||||
|
||||
@Override |
||||
public int compareTo(EmailTemplateAttachment emailTemplateAttachment) { |
||||
EmailTemplateAttachmentPK primaryKey = emailTemplateAttachment.getPrimaryKey(); |
||||
|
||||
return getPrimaryKey().compareTo(primaryKey); |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
|
||||
if (!(obj instanceof EmailTemplateAttachment)) { |
||||
return false; |
||||
} |
||||
|
||||
EmailTemplateAttachment emailTemplateAttachment = (EmailTemplateAttachment)obj; |
||||
|
||||
EmailTemplateAttachmentPK primaryKey = emailTemplateAttachment.getPrimaryKey(); |
||||
|
||||
if (getPrimaryKey().equals(primaryKey)) { |
||||
return true; |
||||
} |
||||
else { |
||||
return false; |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
return getPrimaryKey().hashCode(); |
||||
} |
||||
|
||||
@Override |
||||
public void resetOriginalValues() { |
||||
EmailTemplateAttachmentModelImpl emailTemplateAttachmentModelImpl = this; |
||||
|
||||
emailTemplateAttachmentModelImpl._originalEmailTemplateId = emailTemplateAttachmentModelImpl._emailTemplateId; |
||||
|
||||
emailTemplateAttachmentModelImpl._setOriginalEmailTemplateId = false; |
||||
|
||||
emailTemplateAttachmentModelImpl._originalFileEntryId = emailTemplateAttachmentModelImpl._fileEntryId; |
||||
|
||||
emailTemplateAttachmentModelImpl._setOriginalFileEntryId = false; |
||||
|
||||
emailTemplateAttachmentModelImpl._columnBitmask = 0; |
||||
} |
||||
|
||||
@Override |
||||
public CacheModel<EmailTemplateAttachment> toCacheModel() { |
||||
EmailTemplateAttachmentCacheModel emailTemplateAttachmentCacheModel = new EmailTemplateAttachmentCacheModel(); |
||||
|
||||
emailTemplateAttachmentCacheModel.emailTemplateId = getEmailTemplateId(); |
||||
|
||||
emailTemplateAttachmentCacheModel.fileEntryId = getFileEntryId(); |
||||
|
||||
return emailTemplateAttachmentCacheModel; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
StringBundler sb = new StringBundler(5); |
||||
|
||||
sb.append("{emailTemplateId="); |
||||
sb.append(getEmailTemplateId()); |
||||
sb.append(", fileEntryId="); |
||||
sb.append(getFileEntryId()); |
||||
sb.append("}"); |
||||
|
||||
return sb.toString(); |
||||
} |
||||
|
||||
@Override |
||||
public String toXmlString() { |
||||
StringBundler sb = new StringBundler(10); |
||||
|
||||
sb.append("<model><model-name>"); |
||||
sb.append( |
||||
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"); |
||||
sb.append("</model-name>"); |
||||
|
||||
sb.append( |
||||
"<column><column-name>emailTemplateId</column-name><column-value><![CDATA["); |
||||
sb.append(getEmailTemplateId()); |
||||
sb.append("]]></column-value></column>"); |
||||
sb.append( |
||||
"<column><column-name>fileEntryId</column-name><column-value><![CDATA["); |
||||
sb.append(getFileEntryId()); |
||||
sb.append("]]></column-value></column>"); |
||||
|
||||
sb.append("</model>"); |
||||
|
||||
return sb.toString(); |
||||
} |
||||
|
||||
private static ClassLoader _classLoader = EmailTemplateAttachment.class.getClassLoader(); |
||||
private static Class<?>[] _escapedModelInterfaces = new Class[] { |
||||
EmailTemplateAttachment.class |
||||
}; |
||||
private long _emailTemplateId; |
||||
private long _originalEmailTemplateId; |
||||
private boolean _setOriginalEmailTemplateId; |
||||
private long _fileEntryId; |
||||
private long _originalFileEntryId; |
||||
private boolean _setOriginalFileEntryId; |
||||
private long _columnBitmask; |
||||
private EmailTemplateAttachment _escapedModel; |
||||
} |
@ -1,797 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.service.base; |
||||
|
||||
import com.liferay.portal.kernel.bean.BeanReference; |
||||
import com.liferay.portal.kernel.bean.IdentifiableBean; |
||||
import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; |
||||
import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; |
||||
import com.liferay.portal.kernel.dao.orm.DynamicQuery; |
||||
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; |
||||
import com.liferay.portal.kernel.dao.orm.Projection; |
||||
import com.liferay.portal.kernel.exception.PortalException; |
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
import com.liferay.portal.kernel.search.Indexable; |
||||
import com.liferay.portal.kernel.search.IndexableType; |
||||
import com.liferay.portal.kernel.util.OrderByComparator; |
||||
import com.liferay.portal.model.PersistedModel; |
||||
import com.liferay.portal.service.BaseLocalServiceImpl; |
||||
import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; |
||||
import com.liferay.portal.service.persistence.CompanyPersistence; |
||||
import com.liferay.portal.service.persistence.UserPersistence; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment; |
||||
import it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalService; |
||||
import it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPersistence; |
||||
import it.tref.liferay.portos.mailmanager.service.persistence.EmailPersistence; |
||||
import it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK; |
||||
import it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPersistence; |
||||
import it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplatePersistence; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import java.util.List; |
||||
|
||||
import javax.sql.DataSource; |
||||
|
||||
/** |
||||
* Provides the base implementation for the email template attachment local service. |
||||
* |
||||
* <p> |
||||
* This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl}. |
||||
* </p> |
||||
* |
||||
* @author |
||||
* @see it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl |
||||
* @see it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalServiceUtil |
||||
* @generated |
||||
*/ |
||||
public abstract class EmailTemplateAttachmentLocalServiceBaseImpl |
||||
extends BaseLocalServiceImpl implements EmailTemplateAttachmentLocalService, |
||||
IdentifiableBean { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalServiceUtil} to access the email template attachment local service. |
||||
*/ |
||||
|
||||
/** |
||||
* Adds the email template attachment to the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was added |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Indexable(type = IndexableType.REINDEX) |
||||
@Override |
||||
public EmailTemplateAttachment addEmailTemplateAttachment( |
||||
EmailTemplateAttachment emailTemplateAttachment) |
||||
throws SystemException { |
||||
emailTemplateAttachment.setNew(true); |
||||
|
||||
return emailTemplateAttachmentPersistence.update(emailTemplateAttachment); |
||||
} |
||||
|
||||
/** |
||||
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key for the new email template attachment |
||||
* @return the new email template attachment |
||||
*/ |
||||
@Override |
||||
public EmailTemplateAttachment createEmailTemplateAttachment( |
||||
EmailTemplateAttachmentPK emailTemplateAttachmentPK) { |
||||
return emailTemplateAttachmentPersistence.create(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Deletes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment that was removed |
||||
* @throws PortalException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Indexable(type = IndexableType.DELETE) |
||||
@Override |
||||
public EmailTemplateAttachment deleteEmailTemplateAttachment( |
||||
EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws PortalException, SystemException { |
||||
return emailTemplateAttachmentPersistence.remove(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Deletes the email template attachment from the database. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was removed |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Indexable(type = IndexableType.DELETE) |
||||
@Override |
||||
public EmailTemplateAttachment deleteEmailTemplateAttachment( |
||||
EmailTemplateAttachment emailTemplateAttachment) |
||||
throws SystemException { |
||||
return emailTemplateAttachmentPersistence.remove(emailTemplateAttachment); |
||||
} |
||||
|
||||
@Override |
||||
public DynamicQuery dynamicQuery() { |
||||
Class<?> clazz = getClass(); |
||||
|
||||
return DynamicQueryFactoryUtil.forClass(EmailTemplateAttachment.class, |
||||
clazz.getClassLoader()); |
||||
} |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns the matching rows. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @return the matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
@SuppressWarnings("rawtypes") |
||||
public List dynamicQuery(DynamicQuery dynamicQuery) |
||||
throws SystemException { |
||||
return emailTemplateAttachmentPersistence.findWithDynamicQuery(dynamicQuery); |
||||
} |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns a range of the matching rows. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param start the lower bound of the range of model instances |
||||
* @param end the upper bound of the range of model instances (not inclusive) |
||||
* @return the range of matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
@SuppressWarnings("rawtypes") |
||||
public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) |
||||
throws SystemException { |
||||
return emailTemplateAttachmentPersistence.findWithDynamicQuery(dynamicQuery, |
||||
start, end); |
||||
} |
||||
|
||||
/** |
||||
* Performs a dynamic query on the database and returns an ordered range of the matching rows. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param start the lower bound of the range of model instances |
||||
* @param end the upper bound of the range of model instances (not inclusive) |
||||
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>) |
||||
* @return the ordered range of matching rows |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
@SuppressWarnings("rawtypes") |
||||
public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, |
||||
OrderByComparator orderByComparator) throws SystemException { |
||||
return emailTemplateAttachmentPersistence.findWithDynamicQuery(dynamicQuery, |
||||
start, end, orderByComparator); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of rows that match the dynamic query. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @return the number of rows that match the dynamic query |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public long dynamicQueryCount(DynamicQuery dynamicQuery) |
||||
throws SystemException { |
||||
return emailTemplateAttachmentPersistence.countWithDynamicQuery(dynamicQuery); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of rows that match the dynamic query. |
||||
* |
||||
* @param dynamicQuery the dynamic query |
||||
* @param projection the projection to apply to the query |
||||
* @return the number of rows that match the dynamic query |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public long dynamicQueryCount(DynamicQuery dynamicQuery, |
||||
Projection projection) throws SystemException { |
||||
return emailTemplateAttachmentPersistence.countWithDynamicQuery(dynamicQuery, |
||||
projection); |
||||
} |
||||
|
||||
@Override |
||||
public EmailTemplateAttachment fetchEmailTemplateAttachment( |
||||
EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws SystemException { |
||||
return emailTemplateAttachmentPersistence.fetchByPrimaryKey(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachment with the primary key. |
||||
* |
||||
* @param emailTemplateAttachmentPK the primary key of the email template attachment |
||||
* @return the email template attachment |
||||
* @throws PortalException if a email template attachment with the primary key could not be found |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public EmailTemplateAttachment getEmailTemplateAttachment( |
||||
EmailTemplateAttachmentPK emailTemplateAttachmentPK) |
||||
throws PortalException, SystemException { |
||||
return emailTemplateAttachmentPersistence.findByPrimaryKey(emailTemplateAttachmentPK); |
||||
} |
||||
|
||||
@Override |
||||
public PersistedModel getPersistedModel(Serializable primaryKeyObj) |
||||
throws PortalException, SystemException { |
||||
return emailTemplateAttachmentPersistence.findByPrimaryKey(primaryKeyObj); |
||||
} |
||||
|
||||
/** |
||||
* Returns a range of all the email template attachments. |
||||
* |
||||
* <p> |
||||
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. |
||||
* </p> |
||||
* |
||||
* @param start the lower bound of the range of email template attachments |
||||
* @param end the upper bound of the range of email template attachments (not inclusive) |
||||
* @return the range of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public List<EmailTemplateAttachment> getEmailTemplateAttachments( |
||||
int start, int end) throws SystemException { |
||||
return emailTemplateAttachmentPersistence.findAll(start, end); |
||||
} |
||||
|
||||
/** |
||||
* Returns the number of email template attachments. |
||||
* |
||||
* @return the number of email template attachments |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Override |
||||
public int getEmailTemplateAttachmentsCount() throws SystemException { |
||||
return emailTemplateAttachmentPersistence.countAll(); |
||||
} |
||||
|
||||
/** |
||||
* Updates the email template attachment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. |
||||
* |
||||
* @param emailTemplateAttachment the email template attachment |
||||
* @return the email template attachment that was updated |
||||
* @throws SystemException if a system exception occurred |
||||
*/ |
||||
@Indexable(type = IndexableType.REINDEX) |
||||
@Override |
||||
public EmailTemplateAttachment updateEmailTemplateAttachment( |
||||
EmailTemplateAttachment emailTemplateAttachment) |
||||
throws SystemException { |
||||
return emailTemplateAttachmentPersistence.update(emailTemplateAttachment); |
||||
} |
||||
|
||||
/** |
||||
* Returns the email local service. |
||||
* |
||||
* @return the email local service |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.service.EmailLocalService getEmailLocalService() { |
||||
return emailLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the email local service. |
||||
* |
||||
* @param emailLocalService the email local service |
||||
*/ |
||||
public void setEmailLocalService( |
||||
it.tref.liferay.portos.mailmanager.service.EmailLocalService emailLocalService) { |
||||
this.emailLocalService = emailLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the email remote service. |
||||
* |
||||
* @return the email remote service |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.service.EmailService getEmailService() { |
||||
return emailService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the email remote service. |
||||
* |
||||
* @param emailService the email remote service |
||||
*/ |
||||
public void setEmailService( |
||||
it.tref.liferay.portos.mailmanager.service.EmailService emailService) { |
||||
this.emailService = emailService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the email persistence. |
||||
* |
||||
* @return the email persistence |
||||
*/ |
||||
public EmailPersistence getEmailPersistence() { |
||||
return emailPersistence; |
||||
} |
||||
|
||||
/** |
||||
* Sets the email persistence. |
||||
* |
||||
* @param emailPersistence the email persistence |
||||
*/ |
||||
public void setEmailPersistence(EmailPersistence emailPersistence) { |
||||
this.emailPersistence = emailPersistence; |
||||
} |
||||
|
||||
/** |
||||
* Returns the email attachment local service. |
||||
* |
||||
* @return the email attachment local service |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.service.EmailAttachmentLocalService getEmailAttachmentLocalService() { |
||||
return emailAttachmentLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the email attachment local service. |
||||
* |
||||
* @param emailAttachmentLocalService the email attachment local service |
||||
*/ |
||||
public void setEmailAttachmentLocalService( |
||||
it.tref.liferay.portos.mailmanager.service.EmailAttachmentLocalService emailAttachmentLocalService) { |
||||
this.emailAttachmentLocalService = emailAttachmentLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the email attachment persistence. |
||||
* |
||||
* @return the email attachment persistence |
||||
*/ |
||||
public EmailAttachmentPersistence getEmailAttachmentPersistence() { |
||||
return emailAttachmentPersistence; |
||||
} |
||||
|
||||
/** |
||||
* Sets the email attachment persistence. |
||||
* |
||||
* @param emailAttachmentPersistence the email attachment persistence |
||||
*/ |
||||
public void setEmailAttachmentPersistence( |
||||
EmailAttachmentPersistence emailAttachmentPersistence) { |
||||
this.emailAttachmentPersistence = emailAttachmentPersistence; |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template local service. |
||||
* |
||||
* @return the email template local service |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.service.EmailTemplateLocalService getEmailTemplateLocalService() { |
||||
return emailTemplateLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the email template local service. |
||||
* |
||||
* @param emailTemplateLocalService the email template local service |
||||
*/ |
||||
public void setEmailTemplateLocalService( |
||||
it.tref.liferay.portos.mailmanager.service.EmailTemplateLocalService emailTemplateLocalService) { |
||||
this.emailTemplateLocalService = emailTemplateLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template remote service. |
||||
* |
||||
* @return the email template remote service |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.service.EmailTemplateService getEmailTemplateService() { |
||||
return emailTemplateService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the email template remote service. |
||||
* |
||||
* @param emailTemplateService the email template remote service |
||||
*/ |
||||
public void setEmailTemplateService( |
||||
it.tref.liferay.portos.mailmanager.service.EmailTemplateService emailTemplateService) { |
||||
this.emailTemplateService = emailTemplateService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template persistence. |
||||
* |
||||
* @return the email template persistence |
||||
*/ |
||||
public EmailTemplatePersistence getEmailTemplatePersistence() { |
||||
return emailTemplatePersistence; |
||||
} |
||||
|
||||
/** |
||||
* Sets the email template persistence. |
||||
* |
||||
* @param emailTemplatePersistence the email template persistence |
||||
*/ |
||||
public void setEmailTemplatePersistence( |
||||
EmailTemplatePersistence emailTemplatePersistence) { |
||||
this.emailTemplatePersistence = emailTemplatePersistence; |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachment local service. |
||||
* |
||||
* @return the email template attachment local service |
||||
*/ |
||||
public it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalService getEmailTemplateAttachmentLocalService() { |
||||
return emailTemplateAttachmentLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the email template attachment local service. |
||||
* |
||||
* @param emailTemplateAttachmentLocalService the email template attachment local service |
||||
*/ |
||||
public void setEmailTemplateAttachmentLocalService( |
||||
it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalService emailTemplateAttachmentLocalService) { |
||||
this.emailTemplateAttachmentLocalService = emailTemplateAttachmentLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the email template attachment persistence. |
||||
* |
||||
* @return the email template attachment persistence |
||||
*/ |
||||
public EmailTemplateAttachmentPersistence getEmailTemplateAttachmentPersistence() { |
||||
return emailTemplateAttachmentPersistence; |
||||
} |
||||
|
||||
/** |
||||
* Sets the email template attachment persistence. |
||||
* |
||||
* @param emailTemplateAttachmentPersistence the email template attachment persistence |
||||
*/ |
||||
public void setEmailTemplateAttachmentPersistence( |
||||
EmailTemplateAttachmentPersistence emailTemplateAttachmentPersistence) { |
||||
this.emailTemplateAttachmentPersistence = emailTemplateAttachmentPersistence; |
||||
} |
||||
|
||||
/** |
||||
* Returns the counter local service. |
||||
* |
||||
* @return the counter local service |
||||
*/ |
||||
public com.liferay.counter.service.CounterLocalService getCounterLocalService() { |
||||
return counterLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the counter local service. |
||||
* |
||||
* @param counterLocalService the counter local service |
||||
*/ |
||||
public void setCounterLocalService( |
||||
com.liferay.counter.service.CounterLocalService counterLocalService) { |
||||
this.counterLocalService = counterLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the company local service. |
||||
* |
||||
* @return the company local service |
||||
*/ |
||||
public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() { |
||||
return companyLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the company local service. |
||||
* |
||||
* @param companyLocalService the company local service |
||||
*/ |
||||
public void setCompanyLocalService( |
||||
com.liferay.portal.service.CompanyLocalService companyLocalService) { |
||||
this.companyLocalService = companyLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the company remote service. |
||||
* |
||||
* @return the company remote service |
||||
*/ |
||||
public com.liferay.portal.service.CompanyService getCompanyService() { |
||||
return companyService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the company remote service. |
||||
* |
||||
* @param companyService the company remote service |
||||
*/ |
||||
public void setCompanyService( |
||||
com.liferay.portal.service.CompanyService companyService) { |
||||
this.companyService = companyService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the company persistence. |
||||
* |
||||
* @return the company persistence |
||||
*/ |
||||
public CompanyPersistence getCompanyPersistence() { |
||||
return companyPersistence; |
||||
} |
||||
|
||||
/** |
||||
* Sets the company persistence. |
||||
* |
||||
* @param companyPersistence the company persistence |
||||
*/ |
||||
public void setCompanyPersistence(CompanyPersistence companyPersistence) { |
||||
this.companyPersistence = companyPersistence; |
||||
} |
||||
|
||||
/** |
||||
* Returns the resource local service. |
||||
* |
||||
* @return the resource local service |
||||
*/ |
||||
public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { |
||||
return resourceLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the resource local service. |
||||
* |
||||
* @param resourceLocalService the resource local service |
||||
*/ |
||||
public void setResourceLocalService( |
||||
com.liferay.portal.service.ResourceLocalService resourceLocalService) { |
||||
this.resourceLocalService = resourceLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the user local service. |
||||
* |
||||
* @return the user local service |
||||
*/ |
||||
public com.liferay.portal.service.UserLocalService getUserLocalService() { |
||||
return userLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the user local service. |
||||
* |
||||
* @param userLocalService the user local service |
||||
*/ |
||||
public void setUserLocalService( |
||||
com.liferay.portal.service.UserLocalService userLocalService) { |
||||
this.userLocalService = userLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the user remote service. |
||||
* |
||||
* @return the user remote service |
||||
*/ |
||||
public com.liferay.portal.service.UserService getUserService() { |
||||
return userService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the user remote service. |
||||
* |
||||
* @param userService the user remote service |
||||
*/ |
||||
public void setUserService( |
||||
com.liferay.portal.service.UserService userService) { |
||||
this.userService = userService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the user persistence. |
||||
* |
||||
* @return the user persistence |
||||
*/ |
||||
public UserPersistence getUserPersistence() { |
||||
return userPersistence; |
||||
} |
||||
|
||||
/** |
||||
* Sets the user persistence. |
||||
* |
||||
* @param userPersistence the user persistence |
||||
*/ |
||||
public void setUserPersistence(UserPersistence userPersistence) { |
||||
this.userPersistence = userPersistence; |
||||
} |
||||
|
||||
/** |
||||
* Returns the d l app local service. |
||||
* |
||||
* @return the d l app local service |
||||
*/ |
||||
public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() { |
||||
return dlAppLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the d l app local service. |
||||
* |
||||
* @param dlAppLocalService the d l app local service |
||||
*/ |
||||
public void setDLAppLocalService( |
||||
com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) { |
||||
this.dlAppLocalService = dlAppLocalService; |
||||
} |
||||
|
||||
/** |
||||
* Returns the d l app remote service. |
||||
* |
||||
* @return the d l app remote service |
||||
*/ |
||||
public com.liferay.portlet.documentlibrary.service.DLAppService getDLAppService() { |
||||
return dlAppService; |
||||
} |
||||
|
||||
/** |
||||
* Sets the d l app remote service. |
||||
* |
||||
* @param dlAppService the d l app remote service |
||||
*/ |
||||
public void setDLAppService( |
||||
com.liferay.portlet.documentlibrary.service.DLAppService dlAppService) { |
||||
this.dlAppService = dlAppService; |
||||
} |
||||
|
||||
public void afterPropertiesSet() { |
||||
Class<?> clazz = getClass(); |
||||
|
||||
_classLoader = clazz.getClassLoader(); |
||||
|
||||
PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment", |
||||
emailTemplateAttachmentLocalService); |
||||
} |
||||
|
||||
public void destroy() { |
||||
PersistedModelLocalServiceRegistryUtil.unregister( |
||||
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"); |
||||
} |
||||
|
||||
/** |
||||
* Returns the Spring bean ID for this bean. |
||||
* |
||||
* @return the Spring bean ID for this bean |
||||
*/ |
||||
@Override |
||||
public String getBeanIdentifier() { |
||||
return _beanIdentifier; |
||||
} |
||||
|
||||
/** |
||||
* Sets the Spring bean ID for this bean. |
||||
* |
||||
* @param beanIdentifier the Spring bean ID for this bean |
||||
*/ |
||||
@Override |
||||
public void setBeanIdentifier(String beanIdentifier) { |
||||
_beanIdentifier = beanIdentifier; |
||||
} |
||||
|
||||
@Override |
||||
public Object invokeMethod(String name, String[] parameterTypes, |
||||
Object[] arguments) throws Throwable { |
||||
Thread currentThread = Thread.currentThread(); |
||||
|
||||
ClassLoader contextClassLoader = currentThread.getContextClassLoader(); |
||||
|
||||
if (contextClassLoader != _classLoader) { |
||||
currentThread.setContextClassLoader(_classLoader); |
||||
} |
||||
|
||||
try { |
||||
return _clpInvoker.invokeMethod(name, parameterTypes, arguments); |
||||
} |
||||
finally { |
||||
if (contextClassLoader != _classLoader) { |
||||
currentThread.setContextClassLoader(contextClassLoader); |
||||
} |
||||
} |
||||
} |
||||
|
||||
protected Class<?> getModelClass() { |
||||
return EmailTemplateAttachment.class; |
||||
} |
||||
|
||||
protected String getModelClassName() { |
||||
return EmailTemplateAttachment.class.getName(); |
||||
} |
||||
|
||||
/** |
||||
* Performs an SQL query. |
||||
* |
||||
* @param sql the sql query |
||||
*/ |
||||
protected void runSQL(String sql) throws SystemException { |
||||
try { |
||||
DataSource dataSource = emailTemplateAttachmentPersistence.getDataSource(); |
||||
|
||||
SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, |
||||
sql, new int[0]); |
||||
|
||||
sqlUpdate.update(); |
||||
} |
||||
catch (Exception e) { |
||||
throw new SystemException(e); |
||||
} |
||||
} |
||||
|
||||
@BeanReference(type = it.tref.liferay.portos.mailmanager.service.EmailLocalService.class) |
||||
protected it.tref.liferay.portos.mailmanager.service.EmailLocalService emailLocalService; |
||||
@BeanReference(type = it.tref.liferay.portos.mailmanager.service.EmailService.class) |
||||
protected it.tref.liferay.portos.mailmanager.service.EmailService emailService; |
||||
@BeanReference(type = EmailPersistence.class) |
||||
protected EmailPersistence emailPersistence; |
||||
@BeanReference(type = it.tref.liferay.portos.mailmanager.service.EmailAttachmentLocalService.class) |
||||
protected it.tref.liferay.portos.mailmanager.service.EmailAttachmentLocalService emailAttachmentLocalService; |
||||
@BeanReference(type = EmailAttachmentPersistence.class) |
||||
protected EmailAttachmentPersistence emailAttachmentPersistence; |
||||
@BeanReference(type = it.tref.liferay.portos.mailmanager.service.EmailTemplateLocalService.class) |
||||
protected it.tref.liferay.portos.mailmanager.service.EmailTemplateLocalService emailTemplateLocalService; |
||||
@BeanReference(type = it.tref.liferay.portos.mailmanager.service.EmailTemplateService.class) |
||||
protected it.tref.liferay.portos.mailmanager.service.EmailTemplateService emailTemplateService; |
||||
@BeanReference(type = EmailTemplatePersistence.class) |
||||
protected EmailTemplatePersistence emailTemplatePersistence; |
||||
@BeanReference(type = it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalService.class) |
||||
protected it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalService emailTemplateAttachmentLocalService; |
||||
@BeanReference(type = EmailTemplateAttachmentPersistence.class) |
||||
protected EmailTemplateAttachmentPersistence emailTemplateAttachmentPersistence; |
||||
@BeanReference(type = com.liferay.counter.service.CounterLocalService.class) |
||||
protected com.liferay.counter.service.CounterLocalService counterLocalService; |
||||
@BeanReference(type = com.liferay.portal.service.CompanyLocalService.class) |
||||
protected com.liferay.portal.service.CompanyLocalService companyLocalService; |
||||
@BeanReference(type = com.liferay.portal.service.CompanyService.class) |
||||
protected com.liferay.portal.service.CompanyService companyService; |
||||
@BeanReference(type = CompanyPersistence.class) |
||||
protected CompanyPersistence companyPersistence; |
||||
@BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) |
||||
protected com.liferay.portal.service.ResourceLocalService resourceLocalService; |
||||
@BeanReference(type = com.liferay.portal.service.UserLocalService.class) |
||||
protected com.liferay.portal.service.UserLocalService userLocalService; |
||||
@BeanReference(type = com.liferay.portal.service.UserService.class) |
||||
protected com.liferay.portal.service.UserService userService; |
||||
@BeanReference(type = UserPersistence.class) |
||||
protected UserPersistence userPersistence; |
||||
@BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class) |
||||
protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService; |
||||
@BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class) |
||||
protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService; |
||||
private String _beanIdentifier; |
||||
private ClassLoader _classLoader; |
||||
private EmailTemplateAttachmentLocalServiceClpInvoker _clpInvoker = new EmailTemplateAttachmentLocalServiceClpInvoker(); |
||||
} |
@ -1,266 +0,0 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.mailmanager.service.base; |
||||
|
||||
import it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalServiceUtil; |
||||
|
||||
import java.util.Arrays; |
||||
|
||||
/** |
||||
* @author |
||||
* @generated |
||||
*/ |
||||
public class EmailTemplateAttachmentLocalServiceClpInvoker { |
||||
public EmailTemplateAttachmentLocalServiceClpInvoker() { |
||||
_methodName0 = "addEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes0 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment" |
||||
}; |
||||
|
||||
_methodName1 = "createEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes1 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK" |
||||
}; |
||||
|
||||
_methodName2 = "deleteEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes2 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK" |
||||
}; |
||||
|
||||
_methodName3 = "deleteEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes3 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment" |
||||
}; |
||||
|
||||
_methodName4 = "dynamicQuery"; |
||||
|
||||
_methodParameterTypes4 = new String[] { }; |
||||
|
||||
_methodName5 = "dynamicQuery"; |
||||
|
||||
_methodParameterTypes5 = new String[] { |
||||
"com.liferay.portal.kernel.dao.orm.DynamicQuery" |
||||
}; |
||||
|
||||
_methodName6 = "dynamicQuery"; |
||||
|
||||
_methodParameterTypes6 = new String[] { |
||||
"com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" |
||||
}; |
||||
|
||||
_methodName7 = "dynamicQuery"; |
||||
|
||||
_methodParameterTypes7 = new String[] { |
||||
"com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", |
||||
"com.liferay.portal.kernel.util.OrderByComparator" |
||||
}; |
||||
|
||||
_methodName8 = "dynamicQueryCount"; |
||||
|
||||
_methodParameterTypes8 = new String[] { |
||||
"com.liferay.portal.kernel.dao.orm.DynamicQuery" |
||||
}; |
||||
|
||||
_methodName9 = "dynamicQueryCount"; |
||||
|
||||
_methodParameterTypes9 = new String[] { |
||||
"com.liferay.portal.kernel.dao.orm.DynamicQuery", |
||||
"com.liferay.portal.kernel.dao.orm.Projection" |
||||
}; |
||||
|
||||
_methodName10 = "fetchEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes10 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK" |
||||
}; |
||||
|
||||
_methodName11 = "getEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes11 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK" |
||||
}; |
||||
|
||||
_methodName12 = "getPersistedModel"; |
||||
|
||||
_methodParameterTypes12 = new String[] { "java.io.Serializable" }; |
||||
|
||||
_methodName13 = "getEmailTemplateAttachments"; |
||||
|
||||
_methodParameterTypes13 = new String[] { "int", "int" }; |
||||
|
||||
_methodName14 = "getEmailTemplateAttachmentsCount"; |
||||
|
||||
_methodParameterTypes14 = new String[] { }; |
||||
|
||||
_methodName15 = "updateEmailTemplateAttachment"; |
||||
|
||||
_methodParameterTypes15 = new String[] { |
||||
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment" |
||||
}; |
||||
|
||||
_methodName58 = "getBeanIdentifier"; |
||||
|
||||
_methodParameterTypes58 = new String[] { }; |
||||
|
||||
_methodName59 = "setBeanIdentifier"; |
||||
|
||||
_methodParameterTypes59 = new String[] { "java.lang.String" }; |
||||
} |
||||
|
||||
public Object invokeMethod(String name, String[] parameterTypes, |
||||
Object[] arguments) throws Throwable { |
||||
if (_methodName0.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.addEmailTemplateAttachment((it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)arguments[0]); |
||||
} |
||||
|
||||
if (_methodName1.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.createEmailTemplateAttachment((it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK)arguments[0]); |
||||
} |
||||
|
||||
if (_methodName2.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.deleteEmailTemplateAttachment((it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK)arguments[0]); |
||||
} |
||||
|
||||
if (_methodName3.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.deleteEmailTemplateAttachment((it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)arguments[0]); |
||||
} |
||||
|
||||
if (_methodName4.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.dynamicQuery(); |
||||
} |
||||
|
||||
if (_methodName5.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); |
||||
} |
||||
|
||||
if (_methodName6.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], |
||||
((Integer)arguments[1]).intValue(), |
||||
((Integer)arguments[2]).intValue()); |
||||
} |
||||
|
||||
if (_methodName7.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], |
||||
((Integer)arguments[1]).intValue(), |
||||
((Integer)arguments[2]).intValue(), |
||||
(com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); |
||||
} |
||||
|
||||
if (_methodName8.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); |
||||
} |
||||
|
||||
if (_methodName9.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], |
||||
(com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); |
||||
} |
||||
|
||||
if (_methodName10.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.fetchEmailTemplateAttachment((it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK)arguments[0]); |
||||
} |
||||
|
||||
if (_methodName11.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.getEmailTemplateAttachment((it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK)arguments[0]); |
||||
} |
||||
|
||||
if (_methodName12.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); |
||||
} |
||||
|
||||
if (_methodName13.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.getEmailTemplateAttachments(((Integer)arguments[0]).intValue(), |
||||
((Integer)arguments[1]).intValue()); |
||||
} |
||||
|
||||
if (_methodName14.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.getEmailTemplateAttachmentsCount(); |
||||
} |
||||
|
||||
if (_methodName15.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.updateEmailTemplateAttachment((it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)arguments[0]); |
||||
} |
||||
|
||||
if (_methodName58.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes58, parameterTypes)) { |
||||
return EmailTemplateAttachmentLocalServiceUtil.getBeanIdentifier(); |
||||
} |
||||
|
||||
if (_methodName59.equals(name) && |
||||
Arrays.deepEquals(_methodParameterTypes59, parameterTypes)) { |
||||
EmailTemplateAttachmentLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); |
||||
|
||||
return null; |
||||
} |
||||
|
||||
throw new UnsupportedOperationException(); |
||||
} |
||||
|
||||
private String _methodName0; |
||||
private String[] _methodParameterTypes0; |
||||
private String _methodName1; |
||||
private String[] _methodParameterTypes1; |
||||
private String _methodName2; |
||||
private String[] _methodParameterTypes2; |
||||
private String _methodName3; |
||||
private String[] _methodParameterTypes3; |
||||
private String _methodName4; |
||||
private String[] _methodParameterTypes4; |
||||
private String _methodName5; |
||||
private String[] _methodParameterTypes5; |
||||
private String _methodName6; |
||||
private String[] _methodParameterTypes6; |
||||
private String _methodName7; |
||||
private String[] _methodParameterTypes7; |
||||
private String _methodName8; |
||||
private String[] _methodParameterTypes8; |
||||
private String _methodName9; |
||||
private String[] _methodParameterTypes9; |
||||
private String _methodName10; |
||||
private String[] _methodParameterTypes10; |
||||
private String _methodName11; |
||||
private String[] _methodParameterTypes11; |
||||
private String _methodName12; |
||||
private String[] _methodParameterTypes12; |
||||
private String _methodName13; |
||||
private String[] _methodParameterTypes13; |
||||
private String _methodName14; |
||||
private String[] _methodParameterTypes14; |
||||
private String _methodName15; |
||||
private String[] _methodParameterTypes15; |
||||
private String _methodName58; |
||||
private String[] _methodParameterTypes58; |
||||
private String _methodName59; |
||||
private String[] _methodParameterTypes59; |
||||
} |
File diff soppresso perché troppo grande
Load Diff
Caricamento…
Reference in new issue