Package com.liferay.notification.model
Class NotificationTemplateAttachmentWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplateAttachment>
com.liferay.notification.model.NotificationTemplateAttachmentWrapper
- All Implemented Interfaces:
NotificationTemplateAttachment,NotificationTemplateAttachmentModel,com.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ModelWrapper<NotificationTemplateAttachment>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,Serializable,Cloneable,Comparable<NotificationTemplateAttachment>
public class NotificationTemplateAttachmentWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplateAttachment>
implements com.liferay.portal.kernel.model.ModelWrapper<NotificationTemplateAttachment>, NotificationTemplateAttachment
This class is a wrapper for NotificationTemplateAttachment.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.notification.model.NotificationTemplateAttachment
NOTIFICATION_TEMPLATE_ATTACHMENT_ID_ACCESSOR -
Constructor Summary
ConstructorsConstructorDescriptionNotificationTemplateAttachmentWrapper(NotificationTemplateAttachment notificationTemplateAttachment) -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this notification template attachment.longReturns the mvcc version of this notification template attachment.longReturns the notification template attachment ID of this notification template attachment.longReturns the notification template ID of this notification template attachment.longReturns the object field ID of this notification template attachment.longReturns the primary key of this notification template attachment.voidpersist()voidsetCompanyId(long companyId) Sets the company ID of this notification template attachment.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this notification template attachment.voidsetNotificationTemplateAttachmentId(long notificationTemplateAttachmentId) Sets the notification template attachment ID of this notification template attachment.voidsetNotificationTemplateId(long notificationTemplateId) Sets the notification template ID of this notification template attachment.voidsetObjectFieldId(long objectFieldId) Sets the object field ID of this notification template attachment.voidsetPrimaryKey(long primaryKey) Sets the primary key of this notification template attachment.protected NotificationTemplateAttachmentWrapperwrap(NotificationTemplateAttachment notificationTemplateAttachment) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
NotificationTemplateAttachmentWrapper
public NotificationTemplateAttachmentWrapper(NotificationTemplateAttachment notificationTemplateAttachment)
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>- Specified by:
cloneWithOriginalValuesin interfaceNotificationTemplateAttachmentModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this notification template attachment.- Specified by:
getCompanyIdin interfaceNotificationTemplateAttachmentModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this notification template attachment
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this notification template attachment.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
getMvccVersionin interfaceNotificationTemplateAttachmentModel- Returns:
- the mvcc version of this notification template attachment
-
getNotificationTemplateAttachmentId
public long getNotificationTemplateAttachmentId()Returns the notification template attachment ID of this notification template attachment.- Specified by:
getNotificationTemplateAttachmentIdin interfaceNotificationTemplateAttachmentModel- Returns:
- the notification template attachment ID of this notification template attachment
-
getNotificationTemplateId
public long getNotificationTemplateId()Returns the notification template ID of this notification template attachment.- Specified by:
getNotificationTemplateIdin interfaceNotificationTemplateAttachmentModel- Returns:
- the notification template ID of this notification template attachment
-
getObjectFieldId
public long getObjectFieldId()Returns the object field ID of this notification template attachment.- Specified by:
getObjectFieldIdin interfaceNotificationTemplateAttachmentModel- Returns:
- the object field ID of this notification template attachment
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this notification template attachment.- Specified by:
getPrimaryKeyin interfaceNotificationTemplateAttachmentModel- Returns:
- the primary key of this notification template attachment
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this notification template attachment.- Specified by:
setCompanyIdin interfaceNotificationTemplateAttachmentModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this notification template attachment
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this notification template attachment.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
setMvccVersionin interfaceNotificationTemplateAttachmentModel- Parameters:
mvccVersion- the mvcc version of this notification template attachment
-
setNotificationTemplateAttachmentId
public void setNotificationTemplateAttachmentId(long notificationTemplateAttachmentId) Sets the notification template attachment ID of this notification template attachment.- Specified by:
setNotificationTemplateAttachmentIdin interfaceNotificationTemplateAttachmentModel- Parameters:
notificationTemplateAttachmentId- the notification template attachment ID of this notification template attachment
-
setNotificationTemplateId
public void setNotificationTemplateId(long notificationTemplateId) Sets the notification template ID of this notification template attachment.- Specified by:
setNotificationTemplateIdin interfaceNotificationTemplateAttachmentModel- Parameters:
notificationTemplateId- the notification template ID of this notification template attachment
-
setObjectFieldId
public void setObjectFieldId(long objectFieldId) Sets the object field ID of this notification template attachment.- Specified by:
setObjectFieldIdin interfaceNotificationTemplateAttachmentModel- Parameters:
objectFieldId- the object field ID of this notification template attachment
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this notification template attachment.- Specified by:
setPrimaryKeyin interfaceNotificationTemplateAttachmentModel- Parameters:
primaryKey- the primary key of this notification template attachment
-
toXmlString
- Specified by:
toXmlStringin interfaceNotificationTemplateAttachmentModel
-
wrap
protected NotificationTemplateAttachmentWrapper wrap(NotificationTemplateAttachment notificationTemplateAttachment) - Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplateAttachment>
-