Class FragmentCompositionWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FragmentComposition>
com.liferay.fragment.model.FragmentCompositionWrapper
All Implemented Interfaces:
FragmentComposition, FragmentCompositionModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<FragmentComposition>, com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<FragmentComposition>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<FragmentComposition>

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.

See Also:
Generated:
  • Constructor Details

    • FragmentCompositionWrapper

      public FragmentCompositionWrapper(FragmentComposition fragmentComposition)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<FragmentComposition>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<FragmentComposition>
    • cloneWithOriginalValues

      public FragmentComposition cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<FragmentComposition>
      Specified by:
      cloneWithOriginalValues in interface FragmentCompositionModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this fragment composition.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface FragmentCompositionModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this fragment composition
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this fragment composition.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface FragmentCompositionModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this fragment composition
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this fragment composition.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>
      Specified by:
      getCtCollectionId in interface FragmentCompositionModel
      Returns:
      the ct collection ID of this fragment composition
    • getData

      public String getData()
      Returns the data of this fragment composition.
      Specified by:
      getData in interface FragmentCompositionModel
      Returns:
      the data of this fragment composition
    • getDataJSONObject

      public com.liferay.portal.kernel.json.JSONObject getDataJSONObject() throws Exception
      Specified by:
      getDataJSONObject in interface FragmentComposition
      Throws:
      Exception
    • getDescription

      public String getDescription()
      Returns the description of this fragment composition.
      Specified by:
      getDescription in interface FragmentCompositionModel
      Returns:
      the description of this fragment composition
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this fragment composition.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface FragmentCompositionModel
      Returns:
      the external reference code of this fragment composition
    • getFragmentCollectionId

      public long getFragmentCollectionId()
      Returns the fragment collection ID of this fragment composition.
      Specified by:
      getFragmentCollectionId in interface FragmentCompositionModel
      Returns:
      the fragment collection ID of this fragment composition
    • getFragmentCompositionId

      public long getFragmentCompositionId()
      Returns the fragment composition ID of this fragment composition.
      Specified by:
      getFragmentCompositionId in interface FragmentCompositionModel
      Returns:
      the fragment composition ID of this fragment composition
    • getFragmentCompositionKey

      public String getFragmentCompositionKey()
      Returns the fragment composition key of this fragment composition.
      Specified by:
      getFragmentCompositionKey in interface FragmentCompositionModel
      Returns:
      the fragment composition key of this fragment composition
    • getGroupId

      public long getGroupId()
      Returns the group ID of this fragment composition.
      Specified by:
      getGroupId in interface FragmentCompositionModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this fragment composition
    • getIcon

      public String getIcon()
      Specified by:
      getIcon in interface FragmentComposition
    • getImagePreviewURL

      public String getImagePreviewURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
      Specified by:
      getImagePreviewURL in interface FragmentComposition
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this fragment composition.
      Specified by:
      getLastPublishDate in interface FragmentCompositionModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this fragment composition
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this fragment composition.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface FragmentCompositionModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this fragment composition
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this fragment composition.
      Specified by:
      getMvccVersion in interface FragmentCompositionModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this fragment composition
    • getName

      public String getName()
      Returns the name of this fragment composition.
      Specified by:
      getName in interface FragmentCompositionModel
      Returns:
      the name of this fragment composition
    • getPreviewFileEntryId

      public long getPreviewFileEntryId()
      Returns the preview file entry ID of this fragment composition.
      Specified by:
      getPreviewFileEntryId in interface FragmentCompositionModel
      Returns:
      the preview file entry ID of this fragment composition
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this fragment composition.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>
      Specified by:
      getPrimaryKey in interface FragmentCompositionModel
      Returns:
      the primary key of this fragment composition
    • getStatus

      public int getStatus()
      Returns the status of this fragment composition.
      Specified by:
      getStatus in interface FragmentCompositionModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this fragment composition
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this fragment composition.
      Specified by:
      getStatusByUserId in interface FragmentCompositionModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this fragment composition
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this fragment composition.
      Specified by:
      getStatusByUserName in interface FragmentCompositionModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this fragment composition
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this fragment composition.
      Specified by:
      getStatusByUserUuid in interface FragmentCompositionModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this fragment composition
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this fragment composition.
      Specified by:
      getStatusDate in interface FragmentCompositionModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this fragment composition
    • getUserId

      public long getUserId()
      Returns the user ID of this fragment composition.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface FragmentCompositionModel
      Returns:
      the user ID of this fragment composition
    • getUserName

      public String getUserName()
      Returns the user name of this fragment composition.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface FragmentCompositionModel
      Returns:
      the user name of this fragment composition
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this fragment composition.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface FragmentCompositionModel
      Returns:
      the user uuid of this fragment composition
    • getUuid

      public String getUuid()
      Returns the uuid of this fragment composition.
      Specified by:
      getUuid in interface FragmentCompositionModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this fragment composition
    • isApproved

      public boolean isApproved()
      Returns true if this fragment composition is approved.
      Specified by:
      isApproved in interface FragmentCompositionModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this fragment composition is approved; false otherwise
    • isDenied

      public boolean isDenied()
      Returns true if this fragment composition is denied.
      Specified by:
      isDenied in interface FragmentCompositionModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this fragment composition is denied; false otherwise
    • isDraft

      public boolean isDraft()
      Returns true if this fragment composition is a draft.
      Specified by:
      isDraft in interface FragmentCompositionModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this fragment composition is a draft; false otherwise
    • isExpired

      public boolean isExpired()
      Returns true if this fragment composition is expired.
      Specified by:
      isExpired in interface FragmentCompositionModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this fragment composition is expired; false otherwise
    • isInactive

      public boolean isInactive()
      Returns true if this fragment composition is inactive.
      Specified by:
      isInactive in interface FragmentCompositionModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this fragment composition is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this fragment composition is incomplete.
      Specified by:
      isIncomplete in interface FragmentCompositionModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this fragment composition is incomplete; false otherwise
    • isPending

      public boolean isPending()
      Returns true if this fragment composition is pending.
      Specified by:
      isPending in interface FragmentCompositionModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this fragment composition is pending; false otherwise
    • isScheduled

      public boolean isScheduled()
      Returns true if this fragment composition is scheduled.
      Specified by:
      isScheduled in interface FragmentCompositionModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this fragment composition is scheduled; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • populateZipWriter

      public void populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter, String path) throws Exception
      Specified by:
      populateZipWriter in interface FragmentComposition
      Throws:
      Exception
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this fragment composition.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface FragmentCompositionModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this fragment composition
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this fragment composition.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface FragmentCompositionModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this fragment composition
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this fragment composition.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>
      Specified by:
      setCtCollectionId in interface FragmentCompositionModel
      Parameters:
      ctCollectionId - the ct collection ID of this fragment composition
    • setData

      public void setData(String data)
      Sets the data of this fragment composition.
      Specified by:
      setData in interface FragmentCompositionModel
      Parameters:
      data - the data of this fragment composition
    • setDescription

      public void setDescription(String description)
      Sets the description of this fragment composition.
      Specified by:
      setDescription in interface FragmentCompositionModel
      Parameters:
      description - the description of this fragment composition
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this fragment composition.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface FragmentCompositionModel
      Parameters:
      externalReferenceCode - the external reference code of this fragment composition
    • setFragmentCollectionId

      public void setFragmentCollectionId(long fragmentCollectionId)
      Sets the fragment collection ID of this fragment composition.
      Specified by:
      setFragmentCollectionId in interface FragmentCompositionModel
      Parameters:
      fragmentCollectionId - the fragment collection ID of this fragment composition
    • setFragmentCompositionId

      public void setFragmentCompositionId(long fragmentCompositionId)
      Sets the fragment composition ID of this fragment composition.
      Specified by:
      setFragmentCompositionId in interface FragmentCompositionModel
      Parameters:
      fragmentCompositionId - the fragment composition ID of this fragment composition
    • setFragmentCompositionKey

      public void setFragmentCompositionKey(String fragmentCompositionKey)
      Sets the fragment composition key of this fragment composition.
      Specified by:
      setFragmentCompositionKey in interface FragmentCompositionModel
      Parameters:
      fragmentCompositionKey - the fragment composition key of this fragment composition
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this fragment composition.
      Specified by:
      setGroupId in interface FragmentCompositionModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this fragment composition
    • setIcon

      public void setIcon(String icon)
      Specified by:
      setIcon in interface FragmentComposition
    • setImagePreviewURL

      public void setImagePreviewURL(String imagePreviewURL)
      Specified by:
      setImagePreviewURL in interface FragmentComposition
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this fragment composition.
      Specified by:
      setLastPublishDate in interface FragmentCompositionModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this fragment composition
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this fragment composition.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface FragmentCompositionModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this fragment composition
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this fragment composition.
      Specified by:
      setMvccVersion in interface FragmentCompositionModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this fragment composition
    • setName

      public void setName(String name)
      Sets the name of this fragment composition.
      Specified by:
      setName in interface FragmentCompositionModel
      Parameters:
      name - the name of this fragment composition
    • setPreviewFileEntryId

      public void setPreviewFileEntryId(long previewFileEntryId)
      Sets the preview file entry ID of this fragment composition.
      Specified by:
      setPreviewFileEntryId in interface FragmentCompositionModel
      Parameters:
      previewFileEntryId - the preview file entry ID of this fragment composition
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this fragment composition.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>
      Specified by:
      setPrimaryKey in interface FragmentCompositionModel
      Parameters:
      primaryKey - the primary key of this fragment composition
    • setStatus

      public void setStatus(int status)
      Sets the status of this fragment composition.
      Specified by:
      setStatus in interface FragmentCompositionModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this fragment composition
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this fragment composition.
      Specified by:
      setStatusByUserId in interface FragmentCompositionModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this fragment composition
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this fragment composition.
      Specified by:
      setStatusByUserName in interface FragmentCompositionModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this fragment composition
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this fragment composition.
      Specified by:
      setStatusByUserUuid in interface FragmentCompositionModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this fragment composition
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this fragment composition.
      Specified by:
      setStatusDate in interface FragmentCompositionModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this fragment composition
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this fragment composition.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface FragmentCompositionModel
      Parameters:
      userId - the user ID of this fragment composition
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this fragment composition.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface FragmentCompositionModel
      Parameters:
      userName - the user name of this fragment composition
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this fragment composition.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface FragmentCompositionModel
      Parameters:
      userUuid - the user uuid of this fragment composition
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this fragment composition.
      Specified by:
      setUuid in interface FragmentCompositionModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this fragment composition
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface FragmentCompositionModel
    • getAttributeGetterFunctions

      public Map<String,Function<FragmentComposition,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<FragmentComposition>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<FragmentComposition,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<FragmentComposition>
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected FragmentCompositionWrapper wrap(FragmentComposition fragmentComposition)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FragmentComposition>