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 |
---|---|
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.
|
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 |
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, toXmlString
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, toXmlString
public 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 long getCompanyId()
getCompanyId
in interface FragmentCompositionModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface FragmentCompositionModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getData()
getData
in interface FragmentCompositionModel
public com.liferay.portal.kernel.json.JSONObject getDataJSONObject() throws java.lang.Exception
getDataJSONObject
in interface FragmentComposition
java.lang.Exception
public java.lang.String getDescription()
getDescription
in interface FragmentCompositionModel
public long getFragmentCollectionId()
getFragmentCollectionId
in interface FragmentCompositionModel
public long getFragmentCompositionId()
getFragmentCompositionId
in interface FragmentCompositionModel
public java.lang.String getFragmentCompositionKey()
getFragmentCompositionKey
in interface FragmentCompositionModel
public long getGroupId()
getGroupId
in interface FragmentCompositionModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.lang.String getIcon()
getIcon
in interface FragmentComposition
public java.lang.String getImagePreviewURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
getImagePreviewURL
in interface FragmentComposition
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface FragmentCompositionModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface FragmentCompositionModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface FragmentCompositionModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface FragmentCompositionModel
public long getPreviewFileEntryId()
getPreviewFileEntryId
in interface FragmentCompositionModel
public long getPrimaryKey()
getPrimaryKey
in interface FragmentCompositionModel
public int getStatus()
getStatus
in interface FragmentCompositionModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface FragmentCompositionModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface FragmentCompositionModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface FragmentCompositionModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Date getStatusDate()
getStatusDate
in interface FragmentCompositionModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getUserId()
getUserId
in interface FragmentCompositionModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface FragmentCompositionModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface FragmentCompositionModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface FragmentCompositionModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isApproved()
true
if this fragment composition is approved.isApproved
in interface FragmentCompositionModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this fragment composition is approved; false
otherwisepublic boolean isDenied()
true
if this fragment composition is denied.isDenied
in interface FragmentCompositionModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this fragment composition is denied; false
otherwisepublic boolean isDraft()
true
if this fragment composition is a draft.isDraft
in interface FragmentCompositionModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this fragment composition is a draft; false
otherwisepublic boolean isExpired()
true
if this fragment composition is expired.isExpired
in interface FragmentCompositionModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this fragment composition is expired; false
otherwisepublic boolean isInactive()
true
if this fragment composition is inactive.isInactive
in interface FragmentCompositionModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this fragment composition is inactive; false
otherwisepublic boolean isIncomplete()
true
if this fragment composition is incomplete.isIncomplete
in interface FragmentCompositionModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this fragment composition is incomplete; false
otherwisepublic boolean isPending()
true
if this fragment composition is pending.isPending
in interface FragmentCompositionModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this fragment composition is pending; false
otherwisepublic boolean isScheduled()
true
if this fragment composition is scheduled.isScheduled
in interface FragmentCompositionModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this fragment composition is scheduled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter, java.lang.String path) throws java.lang.Exception
populateZipWriter
in interface FragmentComposition
java.lang.Exception
public void setCompanyId(long companyId)
setCompanyId
in interface FragmentCompositionModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this fragment compositionpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface FragmentCompositionModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this fragment compositionpublic void setData(java.lang.String data)
setData
in interface FragmentCompositionModel
data
- the data of this fragment compositionpublic void setDescription(java.lang.String description)
setDescription
in interface FragmentCompositionModel
description
- the description of this fragment compositionpublic void setFragmentCollectionId(long fragmentCollectionId)
setFragmentCollectionId
in interface FragmentCompositionModel
fragmentCollectionId
- the fragment collection ID of this fragment compositionpublic void setFragmentCompositionId(long fragmentCompositionId)
setFragmentCompositionId
in interface FragmentCompositionModel
fragmentCompositionId
- the fragment composition ID of this fragment compositionpublic void setFragmentCompositionKey(java.lang.String fragmentCompositionKey)
setFragmentCompositionKey
in interface FragmentCompositionModel
fragmentCompositionKey
- the fragment composition key of this fragment compositionpublic void setGroupId(long groupId)
setGroupId
in interface FragmentCompositionModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this fragment compositionpublic void setIcon(java.lang.String icon)
setIcon
in interface FragmentComposition
public void setImagePreviewURL(java.lang.String imagePreviewURL)
setImagePreviewURL
in interface FragmentComposition
public void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface FragmentCompositionModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this fragment compositionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface FragmentCompositionModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this fragment compositionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface FragmentCompositionModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this fragment compositionpublic void setName(java.lang.String name)
setName
in interface FragmentCompositionModel
name
- the name of this fragment compositionpublic void setPreviewFileEntryId(long previewFileEntryId)
setPreviewFileEntryId
in interface FragmentCompositionModel
previewFileEntryId
- the preview file entry ID of this fragment compositionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface FragmentCompositionModel
primaryKey
- the primary key of this fragment compositionpublic void setStatus(int status)
setStatus
in interface FragmentCompositionModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this fragment compositionpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface FragmentCompositionModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this fragment compositionpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface FragmentCompositionModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this fragment compositionpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface FragmentCompositionModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this fragment compositionpublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface FragmentCompositionModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this fragment compositionpublic void setUserId(long userId)
setUserId
in interface FragmentCompositionModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this fragment compositionpublic void setUserName(java.lang.String userName)
setUserName
in interface FragmentCompositionModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this fragment compositionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface FragmentCompositionModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this fragment compositionpublic void setUuid(java.lang.String uuid)
setUuid
in interface FragmentCompositionModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this fragment compositionpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected FragmentCompositionWrapper wrap(FragmentComposition fragmentComposition)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FragmentComposition>