public class FragmentCompositionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FragmentComposition> implements FragmentComposition, com.liferay.portal.kernel.model.ModelWrapper<FragmentComposition>
This class is a wrapper for FragmentComposition.
FragmentComposition,
Serialized FormFRAGMENT_COMPOSITION_ID_ACCESSOR| Constructor and Description |
|---|
FragmentCompositionWrapper(FragmentComposition fragmentComposition) |
| Modifier and Type | Method and Description |
|---|---|
FragmentComposition |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<FragmentComposition,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<FragmentComposition,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this fragment composition.
|
java.util.Date |
getCreateDate()
Returns the create date of this fragment composition.
|
long |
getCtCollectionId()
Returns the ct collection ID of this fragment composition.
|
java.lang.String |
getData()
Returns the data of this fragment composition.
|
com.liferay.portal.kernel.json.JSONObject |
getDataJSONObject() |
java.lang.String |
getDescription()
Returns the description of this fragment composition.
|
long |
getFragmentCollectionId()
Returns the fragment collection ID of this fragment composition.
|
long |
getFragmentCompositionId()
Returns the fragment composition ID of this fragment composition.
|
java.lang.String |
getFragmentCompositionKey()
Returns the fragment composition key of this fragment composition.
|
long |
getGroupId()
Returns the group ID of this fragment composition.
|
java.lang.String |
getIcon() |
java.lang.String |
getImagePreviewURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.util.Date |
getLastPublishDate()
Returns the last publish date of this fragment composition.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this fragment composition.
|
long |
getMvccVersion()
Returns the mvcc version of this fragment composition.
|
java.lang.String |
getName()
Returns the name of this fragment composition.
|
long |
getPreviewFileEntryId()
Returns the preview file entry ID of this fragment composition.
|
long |
getPrimaryKey()
Returns the primary key of this fragment composition.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this fragment composition.
|
long |
getStatusByUserId()
Returns the status by user ID of this fragment composition.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this fragment composition.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this fragment composition.
|
java.util.Date |
getStatusDate()
Returns the status date of this fragment composition.
|
long |
getUserId()
Returns the user ID of this fragment composition.
|
java.lang.String |
getUserName()
Returns the user name of this fragment composition.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this fragment composition.
|
java.lang.String |
getUuid()
Returns the uuid of this fragment composition.
|
boolean |
isApproved()
Returns
true if this fragment composition is approved. |
boolean |
isDenied()
Returns
true if this fragment composition is denied. |
boolean |
isDraft()
Returns
true if this fragment composition is a draft. |
boolean |
isExpired()
Returns
true if this fragment composition is expired. |
boolean |
isInactive()
Returns
true if this fragment composition is inactive. |
boolean |
isIncomplete()
Returns
true if this fragment composition is incomplete. |
boolean |
isPending()
Returns
true if this fragment composition is pending. |
boolean |
isScheduled()
Returns
true if this fragment composition is scheduled. |
void |
persist() |
void |
populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter,
java.lang.String path) |
void |
setCompanyId(long companyId)
Sets the company ID of this fragment composition.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this fragment composition.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this fragment composition.
|
void |
setData(java.lang.String data)
Sets the data of this fragment composition.
|
void |
setDescription(java.lang.String description)
Sets the description of this fragment composition.
|
void |
setFragmentCollectionId(long fragmentCollectionId)
Sets the fragment collection ID of this fragment composition.
|
void |
setFragmentCompositionId(long fragmentCompositionId)
Sets the fragment composition ID of this fragment composition.
|
void |
setFragmentCompositionKey(java.lang.String fragmentCompositionKey)
Sets the fragment composition key of this fragment composition.
|
void |
setGroupId(long groupId)
Sets the group ID of this fragment composition.
|
void |
setIcon(java.lang.String icon) |
void |
setImagePreviewURL(java.lang.String imagePreviewURL) |
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this fragment composition.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this fragment composition.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this fragment composition.
|
void |
setName(java.lang.String name)
Sets the name of this fragment composition.
|
void |
setPreviewFileEntryId(long previewFileEntryId)
Sets the preview file entry ID of this fragment composition.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this fragment composition.
|
void |
setStatus(int status)
Sets the status of this fragment composition.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this fragment composition.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this fragment composition.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this fragment composition.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this fragment composition.
|
void |
setUserId(long userId)
Sets the user ID of this fragment composition.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this fragment composition.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this fragment composition.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this fragment composition.
|
protected FragmentCompositionWrapper |
wrap(FragmentComposition fragmentComposition) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic FragmentCompositionWrapper(FragmentComposition fragmentComposition)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<FragmentComposition>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<FragmentComposition>public FragmentComposition cloneWithOriginalValues()
cloneWithOriginalValues in interface FragmentCompositionModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<FragmentComposition>public long getCompanyId()
getCompanyId in interface FragmentCompositionModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface FragmentCompositionModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface FragmentCompositionModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>public java.lang.String getData()
getData in interface FragmentCompositionModelpublic com.liferay.portal.kernel.json.JSONObject getDataJSONObject()
throws java.lang.Exception
getDataJSONObject in interface FragmentCompositionjava.lang.Exceptionpublic java.lang.String getDescription()
getDescription in interface FragmentCompositionModelpublic long getFragmentCollectionId()
getFragmentCollectionId in interface FragmentCompositionModelpublic long getFragmentCompositionId()
getFragmentCompositionId in interface FragmentCompositionModelpublic java.lang.String getFragmentCompositionKey()
getFragmentCompositionKey in interface FragmentCompositionModelpublic long getGroupId()
getGroupId in interface FragmentCompositionModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.lang.String getIcon()
getIcon in interface FragmentCompositionpublic java.lang.String getImagePreviewURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
getImagePreviewURL in interface FragmentCompositionpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface FragmentCompositionModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface FragmentCompositionModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface FragmentCompositionModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface FragmentCompositionModelpublic long getPreviewFileEntryId()
getPreviewFileEntryId in interface FragmentCompositionModelpublic long getPrimaryKey()
getPrimaryKey in interface FragmentCompositionModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>public int getStatus()
getStatus in interface FragmentCompositionModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface FragmentCompositionModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface FragmentCompositionModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface FragmentCompositionModelgetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface FragmentCompositionModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getUserId()
getUserId in interface FragmentCompositionModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface FragmentCompositionModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface FragmentCompositionModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface FragmentCompositionModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isApproved()
true if this fragment composition is approved.isApproved in interface FragmentCompositionModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this fragment composition is approved; false otherwisepublic boolean isDenied()
true if this fragment composition is denied.isDenied in interface FragmentCompositionModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this fragment composition is denied; false otherwisepublic boolean isDraft()
true if this fragment composition is a draft.isDraft in interface FragmentCompositionModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this fragment composition is a draft; false otherwisepublic boolean isExpired()
true if this fragment composition is expired.isExpired in interface FragmentCompositionModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this fragment composition is expired; false otherwisepublic boolean isInactive()
true if this fragment composition is inactive.isInactive in interface FragmentCompositionModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this fragment composition is inactive; false otherwisepublic boolean isIncomplete()
true if this fragment composition is incomplete.isIncomplete in interface FragmentCompositionModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this fragment composition is incomplete; false otherwisepublic boolean isPending()
true if this fragment composition is pending.isPending in interface FragmentCompositionModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this fragment composition is pending; false otherwisepublic boolean isScheduled()
true if this fragment composition is scheduled.isScheduled in interface FragmentCompositionModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this fragment composition is scheduled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter,
java.lang.String path)
throws java.lang.Exception
populateZipWriter in interface FragmentCompositionjava.lang.Exceptionpublic void setCompanyId(long companyId)
setCompanyId in interface FragmentCompositionModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this fragment compositionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface FragmentCompositionModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this fragment compositionpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface FragmentCompositionModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>ctCollectionId - the ct collection ID of this fragment compositionpublic void setData(java.lang.String data)
setData in interface FragmentCompositionModeldata - the data of this fragment compositionpublic void setDescription(java.lang.String description)
setDescription in interface FragmentCompositionModeldescription - the description of this fragment compositionpublic void setFragmentCollectionId(long fragmentCollectionId)
setFragmentCollectionId in interface FragmentCompositionModelfragmentCollectionId - the fragment collection ID of this fragment compositionpublic void setFragmentCompositionId(long fragmentCompositionId)
setFragmentCompositionId in interface FragmentCompositionModelfragmentCompositionId - the fragment composition ID of this fragment compositionpublic void setFragmentCompositionKey(java.lang.String fragmentCompositionKey)
setFragmentCompositionKey in interface FragmentCompositionModelfragmentCompositionKey - the fragment composition key of this fragment compositionpublic void setGroupId(long groupId)
setGroupId in interface FragmentCompositionModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this fragment compositionpublic void setIcon(java.lang.String icon)
setIcon in interface FragmentCompositionpublic void setImagePreviewURL(java.lang.String imagePreviewURL)
setImagePreviewURL in interface FragmentCompositionpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface FragmentCompositionModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this fragment compositionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface FragmentCompositionModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this fragment compositionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface FragmentCompositionModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this fragment compositionpublic void setName(java.lang.String name)
setName in interface FragmentCompositionModelname - the name of this fragment compositionpublic void setPreviewFileEntryId(long previewFileEntryId)
setPreviewFileEntryId in interface FragmentCompositionModelpreviewFileEntryId - the preview file entry ID of this fragment compositionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface FragmentCompositionModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>primaryKey - the primary key of this fragment compositionpublic void setStatus(int status)
setStatus in interface FragmentCompositionModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this fragment compositionpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface FragmentCompositionModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this fragment compositionpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface FragmentCompositionModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this fragment compositionpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface FragmentCompositionModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this fragment compositionpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface FragmentCompositionModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this fragment compositionpublic void setUserId(long userId)
setUserId in interface FragmentCompositionModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this fragment compositionpublic void setUserName(java.lang.String userName)
setUserName in interface FragmentCompositionModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this fragment compositionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface FragmentCompositionModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this fragment compositionpublic void setUuid(java.lang.String uuid)
setUuid in interface FragmentCompositionModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this fragment compositionpublic java.util.Map<java.lang.String,java.util.function.Function<FragmentComposition,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<FragmentComposition>public java.util.Map<java.lang.String,java.util.function.BiConsumer<FragmentComposition,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<FragmentComposition>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected FragmentCompositionWrapper wrap(FragmentComposition fragmentComposition)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FragmentComposition>