public class FragmentCompositionWrapper extends BaseModelWrapper<FragmentComposition> implements FragmentComposition, ModelWrapper<FragmentComposition>
This class is a wrapper for FragmentComposition.
FragmentComposition,
Serialized FormmodelFRAGMENT_COMPOSITION_ID_ACCESSOR| Constructor and Description |
|---|
FragmentCompositionWrapper(FragmentComposition fragmentComposition) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this fragment composition.
|
java.util.Date |
getCreateDate()
Returns the create date of this fragment composition.
|
java.lang.String |
getData()
Returns the data of this fragment composition.
|
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(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.
|
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
populateZipWriter(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 |
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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameclonegetWrappedModelpublic FragmentCompositionWrapper(FragmentComposition fragmentComposition)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<FragmentComposition>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<FragmentComposition>public long getCompanyId()
getCompanyId in interface FragmentCompositionModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface FragmentCompositionModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic java.lang.String getData()
getData in interface FragmentCompositionModelpublic 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 GroupedModelpublic java.lang.String getIcon()
getIcon in interface FragmentCompositionpublic java.lang.String getImagePreviewURL(ThemeDisplay themeDisplay)
getImagePreviewURL in interface FragmentCompositionpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface FragmentCompositionModelgetLastPublishDate in interface StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface FragmentCompositionModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface FragmentCompositionModelgetMvccVersion in interface MVCCModelpublic java.lang.String getName()
getName in interface FragmentCompositionModelpublic long getPreviewFileEntryId()
getPreviewFileEntryId in interface FragmentCompositionModelpublic long getPrimaryKey()
getPrimaryKey in interface FragmentCompositionModelpublic int getStatus()
getStatus in interface FragmentCompositionModelgetStatus in interface WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface FragmentCompositionModelgetStatusByUserId in interface WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface FragmentCompositionModelgetStatusByUserName in interface WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface FragmentCompositionModelgetStatusByUserUuid in interface WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface FragmentCompositionModelgetStatusDate in interface WorkflowedModelpublic long getUserId()
getUserId in interface FragmentCompositionModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface FragmentCompositionModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface FragmentCompositionModelgetUserUuid in interface AuditedModelpublic java.lang.String getUuid()
getUuid in interface FragmentCompositionModelgetUuid in interface StagedModelpublic boolean isApproved()
true if this fragment composition is approved.isApproved in interface FragmentCompositionModelisApproved in interface WorkflowedModeltrue if this fragment composition is approved; false otherwisepublic boolean isDenied()
true if this fragment composition is denied.isDenied in interface FragmentCompositionModelisDenied in interface 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 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 WorkflowedModeltrue if this fragment composition is expired; false otherwisepublic boolean isInactive()
true if this fragment composition is inactive.isInactive in interface FragmentCompositionModelisInactive in interface WorkflowedModeltrue if this fragment composition is inactive; false otherwisepublic boolean isIncomplete()
true if this fragment composition is incomplete.isIncomplete in interface FragmentCompositionModelisIncomplete in interface WorkflowedModeltrue if this fragment composition is incomplete; false otherwisepublic boolean isPending()
true if this fragment composition is pending.isPending in interface FragmentCompositionModelisPending in interface WorkflowedModeltrue if this fragment composition is pending; false otherwisepublic boolean isScheduled()
true if this fragment composition is scheduled.isScheduled in interface FragmentCompositionModelisScheduled in interface WorkflowedModeltrue if this fragment composition is scheduled; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void populateZipWriter(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 AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this fragment compositionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface FragmentCompositionModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date 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 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 StagedGroupedModellastPublishDate - the last publish date of this fragment compositionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface FragmentCompositionModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this fragment compositionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface FragmentCompositionModelsetMvccVersion in interface 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 FragmentCompositionModelprimaryKey - the primary key of this fragment compositionpublic void setStatus(int status)
setStatus in interface FragmentCompositionModelsetStatus in interface WorkflowedModelstatus - the status of this fragment compositionpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface FragmentCompositionModelsetStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this fragment compositionpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface FragmentCompositionModelsetStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this fragment compositionpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface FragmentCompositionModelsetStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this fragment compositionpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface FragmentCompositionModelsetStatusDate in interface WorkflowedModelstatusDate - the status date of this fragment compositionpublic void setUserId(long userId)
setUserId in interface FragmentCompositionModelsetUserId in interface AuditedModeluserId - the user ID of this fragment compositionpublic void setUserName(java.lang.String userName)
setUserName in interface FragmentCompositionModelsetUserName in interface AuditedModeluserName - the user name of this fragment compositionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface FragmentCompositionModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this fragment compositionpublic void setUuid(java.lang.String uuid)
setUuid in interface FragmentCompositionModelsetUuid in interface StagedModeluuid - the uuid of this fragment compositionpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected FragmentCompositionWrapper wrap(FragmentComposition fragmentComposition)
wrap in class BaseModelWrapper<FragmentComposition>