Package com.liferay.notification.model
Interface NotificationTemplateAttachmentModel
- All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<NotificationTemplateAttachment>,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel
- All Known Subinterfaces:
NotificationTemplateAttachment
- All Known Implementing Classes:
NotificationTemplateAttachmentWrapper
@ProviderType
public interface NotificationTemplateAttachmentModel
extends com.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the NotificationTemplateAttachment service. Represents a row in the "NTemplateAttachment" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.notification.model.impl.NotificationTemplateAttachmentModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.notification.model.impl.NotificationTemplateAttachmentImpl.
- See Also:
- Generated:
-
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.voidsetCompanyId(long companyId) Sets the company ID of this notification template attachment.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.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this notification template attachment.- Returns:
- the primary key of this notification template attachment
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this notification template attachment.- Parameters:
primaryKey- the primary key of this notification template attachment
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this notification template attachment.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this notification template attachment
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this notification template attachment.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this notification template attachment
-
getNotificationTemplateAttachmentId
long getNotificationTemplateAttachmentId()Returns the notification template attachment ID of this notification template attachment.- Returns:
- the notification template attachment ID of this notification template attachment
-
setNotificationTemplateAttachmentId
void setNotificationTemplateAttachmentId(long notificationTemplateAttachmentId) Sets the notification template attachment ID of this notification template attachment.- Parameters:
notificationTemplateAttachmentId- the notification template attachment ID of this notification template attachment
-
getCompanyId
long getCompanyId()Returns the company ID of this notification template attachment.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this notification template attachment
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this notification template attachment.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this notification template attachment
-
getNotificationTemplateId
long getNotificationTemplateId()Returns the notification template ID of this notification template attachment.- Returns:
- the notification template ID of this notification template attachment
-
setNotificationTemplateId
void setNotificationTemplateId(long notificationTemplateId) Sets the notification template ID of this notification template attachment.- Parameters:
notificationTemplateId- the notification template ID of this notification template attachment
-
getObjectFieldId
long getObjectFieldId()Returns the object field ID of this notification template attachment.- Returns:
- the object field ID of this notification template attachment
-
setObjectFieldId
void setObjectFieldId(long objectFieldId) Sets the object field ID of this notification template attachment.- Parameters:
objectFieldId- the object field ID of this notification template attachment
-
cloneWithOriginalValues
NotificationTemplateAttachment cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>
-
toXmlString
-