Package com.liferay.fragment.model
Interface FragmentCompositionModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<FragmentComposition>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<FragmentComposition>,com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedGroupedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Subinterfaces:
FragmentComposition
- All Known Implementing Classes:
FragmentCompositionWrapper
@ProviderType
public interface FragmentCompositionModel
extends com.liferay.portal.kernel.model.BaseModel<FragmentComposition>, com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the FragmentComposition service. Represents a row in the "FragmentComposition" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.fragment.model.impl.FragmentCompositionModelImpl 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.fragment.model.impl.FragmentCompositionImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this fragment composition.Returns the create date of this fragment composition.longReturns the ct collection ID of this fragment composition.getData()Returns the data of this fragment composition.Returns the description of this fragment composition.Returns the external reference code of this fragment composition.longReturns the fragment collection ID of this fragment composition.longReturns the fragment composition ID of this fragment composition.Returns the fragment composition key of this fragment composition.longReturns the group ID of this fragment composition.Returns the last publish date of this fragment composition.Returns the modified date of this fragment composition.longReturns the mvcc version of this fragment composition.getName()Returns the name of this fragment composition.longReturns the preview file entry ID of this fragment composition.longReturns the primary key of this fragment composition.intReturns the status of this fragment composition.longReturns the status by user ID of this fragment composition.Returns the status by user name of this fragment composition.Returns the status by user uuid of this fragment composition.Returns the status date of this fragment composition.longReturns the user ID of this fragment composition.Returns the user name of this fragment composition.Returns the user uuid of this fragment composition.getUuid()Returns the uuid of this fragment composition.booleanReturnstrueif this fragment composition is approved.booleanisDenied()Returnstrueif this fragment composition is denied.booleanisDraft()Returnstrueif this fragment composition is a draft.booleanReturnstrueif this fragment composition is expired.booleanReturnstrueif this fragment composition is inactive.booleanReturnstrueif this fragment composition is incomplete.booleanReturnstrueif this fragment composition is pending.booleanReturnstrueif this fragment composition is scheduled.voidsetCompanyId(long companyId) Sets the company ID of this fragment composition.voidsetCreateDate(Date createDate) Sets the create date of this fragment composition.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this fragment composition.voidSets the data of this fragment composition.voidsetDescription(String description) Sets the description of this fragment composition.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this fragment composition.voidsetFragmentCollectionId(long fragmentCollectionId) Sets the fragment collection ID of this fragment composition.voidsetFragmentCompositionId(long fragmentCompositionId) Sets the fragment composition ID of this fragment composition.voidsetFragmentCompositionKey(String fragmentCompositionKey) Sets the fragment composition key of this fragment composition.voidsetGroupId(long groupId) Sets the group ID of this fragment composition.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this fragment composition.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this fragment composition.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this fragment composition.voidSets the name of this fragment composition.voidsetPreviewFileEntryId(long previewFileEntryId) Sets the preview file entry ID of this fragment composition.voidsetPrimaryKey(long primaryKey) Sets the primary key of this fragment composition.voidsetStatus(int status) Sets the status of this fragment composition.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this fragment composition.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this fragment composition.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this fragment composition.voidsetStatusDate(Date statusDate) Sets the status date of this fragment composition.voidsetUserId(long userId) Sets the user ID of this fragment composition.voidsetUserName(String userName) Sets the user name of this fragment composition.voidsetUserUuid(String userUuid) Sets the user uuid of this fragment composition.voidSets the uuid of this fragment composition.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
compareToMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this fragment composition.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>- Returns:
- the primary key of this fragment composition
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this fragment composition.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>- Parameters:
primaryKey- the primary key of this fragment composition
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this fragment composition.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this fragment composition
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this fragment composition.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this fragment composition
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this fragment composition.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>- Returns:
- the ct collection ID of this fragment composition
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this fragment composition.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>- Parameters:
ctCollectionId- the ct collection ID of this fragment composition
-
getUuid
Returns the uuid of this fragment composition.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this fragment composition
-
setUuid
Sets the uuid of this fragment composition.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this fragment composition
-
getExternalReferenceCode
Returns the external reference code of this fragment composition.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this fragment composition
-
setExternalReferenceCode
Sets the external reference code of this fragment composition.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this fragment composition
-
getFragmentCompositionId
long getFragmentCompositionId()Returns the fragment composition ID of this fragment composition.- Returns:
- the fragment composition ID of this fragment composition
-
setFragmentCompositionId
void setFragmentCompositionId(long fragmentCompositionId) Sets the fragment composition ID of this fragment composition.- Parameters:
fragmentCompositionId- the fragment composition ID of this fragment composition
-
getGroupId
long getGroupId()Returns the group ID of this fragment composition.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this fragment composition
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this fragment composition.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this fragment composition
-
getCompanyId
long getCompanyId()Returns the company ID of this fragment composition.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this fragment composition
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this fragment composition.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this fragment composition
-
getUserId
long getUserId()Returns the user ID of this fragment composition.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this fragment composition
-
setUserId
void setUserId(long userId) Sets the user ID of this fragment composition.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this fragment composition
-
getUserUuid
String getUserUuid()Returns the user uuid of this fragment composition.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this fragment composition
-
setUserUuid
Sets the user uuid of this fragment composition.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this fragment composition
-
getUserName
Returns the user name of this fragment composition.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this fragment composition
-
setUserName
Sets the user name of this fragment composition.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this fragment composition
-
getCreateDate
Date getCreateDate()Returns the create date of this fragment composition.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this fragment composition
-
setCreateDate
Sets the create date of this fragment composition.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this fragment composition
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this fragment composition.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this fragment composition
-
setModifiedDate
Sets the modified date of this fragment composition.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this fragment composition
-
getFragmentCollectionId
long getFragmentCollectionId()Returns the fragment collection ID of this fragment composition.- Returns:
- the fragment collection ID of this fragment composition
-
setFragmentCollectionId
void setFragmentCollectionId(long fragmentCollectionId) Sets the fragment collection ID of this fragment composition.- Parameters:
fragmentCollectionId- the fragment collection ID of this fragment composition
-
getFragmentCompositionKey
Returns the fragment composition key of this fragment composition.- Returns:
- the fragment composition key of this fragment composition
-
setFragmentCompositionKey
Sets the fragment composition key of this fragment composition.- Parameters:
fragmentCompositionKey- the fragment composition key of this fragment composition
-
getName
Returns the name of this fragment composition.- Returns:
- the name of this fragment composition
-
setName
Sets the name of this fragment composition.- Parameters:
name- the name of this fragment composition
-
getDescription
Returns the description of this fragment composition.- Returns:
- the description of this fragment composition
-
setDescription
Sets the description of this fragment composition.- Parameters:
description- the description of this fragment composition
-
getData
Returns the data of this fragment composition.- Returns:
- the data of this fragment composition
-
setData
Sets the data of this fragment composition.- Parameters:
data- the data of this fragment composition
-
getPreviewFileEntryId
long getPreviewFileEntryId()Returns the preview file entry ID of this fragment composition.- Returns:
- the preview file entry ID of this fragment composition
-
setPreviewFileEntryId
void setPreviewFileEntryId(long previewFileEntryId) Sets the preview file entry ID of this fragment composition.- Parameters:
previewFileEntryId- the preview file entry ID of this fragment composition
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this fragment composition.- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this fragment composition
-
setLastPublishDate
Sets the last publish date of this fragment composition.- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this fragment composition
-
getStatus
int getStatus()Returns the status of this fragment composition.- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this fragment composition
-
setStatus
void setStatus(int status) Sets the status of this fragment composition.- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this fragment composition
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this fragment composition.- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this fragment composition
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this fragment composition.- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this fragment composition
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this fragment composition.- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this fragment composition
-
setStatusByUserUuid
Sets the status by user uuid of this fragment composition.- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this fragment composition
-
getStatusByUserName
Returns the status by user name of this fragment composition.- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this fragment composition
-
setStatusByUserName
Sets the status by user name of this fragment composition.- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this fragment composition
-
getStatusDate
Date getStatusDate()Returns the status date of this fragment composition.- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this fragment composition
-
setStatusDate
Sets the status date of this fragment composition.- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this fragment composition
-
isApproved
boolean isApproved()Returnstrueif this fragment composition is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this fragment composition is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this fragment composition is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this fragment composition is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this fragment composition is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this fragment composition is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this fragment composition is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this fragment composition is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this fragment composition is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this fragment composition is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this fragment composition is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this fragment composition is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this fragment composition is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this fragment composition is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this fragment composition is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this fragment composition is scheduled;falseotherwise
-
cloneWithOriginalValues
FragmentComposition cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<FragmentComposition>
-
toXmlString
-