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
.
NotificationTemplateAttachment
,
Serialized FormNOTIFICATION_TEMPLATE_ATTACHMENT_ID_ACCESSOR
Constructor and Description |
---|
NotificationTemplateAttachmentWrapper(NotificationTemplateAttachment notificationTemplateAttachment) |
Modifier and Type | Method and Description |
---|---|
NotificationTemplateAttachment |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this notification template attachment.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this notification template attachment.
|
long |
getNotificationTemplateAttachmentId()
Returns the notification template attachment ID of this notification template attachment.
|
long |
getNotificationTemplateId()
Returns the notification template ID of this notification template attachment.
|
long |
getObjectFieldId()
Returns the object field ID of this notification template attachment.
|
long |
getPrimaryKey()
Returns the primary key of this notification template attachment.
|
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this notification template attachment.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this notification template attachment.
|
void |
setNotificationTemplateAttachmentId(long notificationTemplateAttachmentId)
Sets the notification template attachment ID of this notification template attachment.
|
void |
setNotificationTemplateId(long notificationTemplateId)
Sets the notification template ID of this notification template attachment.
|
void |
setObjectFieldId(long objectFieldId)
Sets the object field ID of this notification template attachment.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this notification template attachment.
|
java.lang.String |
toXmlString() |
protected NotificationTemplateAttachmentWrapper |
wrap(NotificationTemplateAttachment notificationTemplateAttachment) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
public NotificationTemplateAttachmentWrapper(NotificationTemplateAttachment notificationTemplateAttachment)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>
public NotificationTemplateAttachment cloneWithOriginalValues()
cloneWithOriginalValues
in interface NotificationTemplateAttachmentModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>
public long getCompanyId()
getCompanyId
in interface NotificationTemplateAttachmentModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getMvccVersion()
getMvccVersion
in interface NotificationTemplateAttachmentModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getNotificationTemplateAttachmentId()
getNotificationTemplateAttachmentId
in interface NotificationTemplateAttachmentModel
public long getNotificationTemplateId()
getNotificationTemplateId
in interface NotificationTemplateAttachmentModel
public long getObjectFieldId()
getObjectFieldId
in interface NotificationTemplateAttachmentModel
public long getPrimaryKey()
getPrimaryKey
in interface NotificationTemplateAttachmentModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface NotificationTemplateAttachmentModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this notification template attachmentpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface NotificationTemplateAttachmentModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this notification template attachmentpublic void setNotificationTemplateAttachmentId(long notificationTemplateAttachmentId)
setNotificationTemplateAttachmentId
in interface NotificationTemplateAttachmentModel
notificationTemplateAttachmentId
- the notification template attachment ID of this notification template attachmentpublic void setNotificationTemplateId(long notificationTemplateId)
setNotificationTemplateId
in interface NotificationTemplateAttachmentModel
notificationTemplateId
- the notification template ID of this notification template attachmentpublic void setObjectFieldId(long objectFieldId)
setObjectFieldId
in interface NotificationTemplateAttachmentModel
objectFieldId
- the object field ID of this notification template attachmentpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface NotificationTemplateAttachmentModel
primaryKey
- the primary key of this notification template attachmentpublic java.lang.String toXmlString()
toXmlString
in interface NotificationTemplateAttachmentModel
protected NotificationTemplateAttachmentWrapper wrap(NotificationTemplateAttachment notificationTemplateAttachment)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplateAttachment>