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 Type
    Method
    Description
     
    long
    Returns the company ID of this fragment composition.
    Returns the create date of this fragment composition.
    long
    Returns the ct collection ID of this fragment composition.
    Returns the data of this fragment composition.
    Returns the description of this fragment composition.
    Returns the external reference code of this fragment composition.
    long
    Returns the fragment collection ID of this fragment composition.
    long
    Returns the fragment composition ID of this fragment composition.
    Returns the fragment composition key of this fragment composition.
    long
    Returns the group ID of this fragment composition.
    Returns the last publish date of this fragment composition.
    Returns the modified date of this fragment composition.
    long
    Returns the mvcc version of this fragment composition.
    Returns the name of this fragment composition.
    long
    Returns the preview file entry ID of this fragment composition.
    long
    Returns the primary key of this fragment composition.
    int
    Returns the status of this fragment composition.
    long
    Returns 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.
    long
    Returns the user ID of this fragment composition.
    Returns the user name of this fragment composition.
    Returns the user uuid of this fragment composition.
    Returns the uuid of this fragment composition.
    boolean
    Returns true if this fragment composition is approved.
    boolean
    Returns true if this fragment composition is denied.
    boolean
    Returns true if this fragment composition is a draft.
    boolean
    Returns true if this fragment composition is expired.
    boolean
    Returns true if this fragment composition is inactive.
    boolean
    Returns true if this fragment composition is incomplete.
    boolean
    Returns true if this fragment composition is pending.
    boolean
    Returns true if this fragment composition is scheduled.
    void
    setCompanyId(long companyId)
    Sets the company ID of this fragment composition.
    void
    setCreateDate(Date createDate)
    Sets the create date of this fragment composition.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this fragment composition.
    void
    Sets the data of this fragment composition.
    void
    setDescription(String description)
    Sets the description of this fragment composition.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code 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(String fragmentCompositionKey)
    Sets the fragment composition key of this fragment composition.
    void
    setGroupId(long groupId)
    Sets the group ID of this fragment composition.
    void
    setLastPublishDate(Date lastPublishDate)
    Sets the last publish date of this fragment composition.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this fragment composition.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this fragment composition.
    void
    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(String statusByUserName)
    Sets the status by user name of this fragment composition.
    void
    setStatusByUserUuid(String statusByUserUuid)
    Sets the status by user uuid of this fragment composition.
    void
    setStatusDate(Date statusDate)
    Sets the status date of this fragment composition.
    void
    setUserId(long userId)
    Sets the user ID of this fragment composition.
    void
    setUserName(String userName)
    Sets the user name of this fragment composition.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this fragment composition.
    void
    Sets the uuid of this fragment composition.
    default String
     

    Methods 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, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods 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:
      getPrimaryKey in interface com.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:
      setPrimaryKey in interface com.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:
      getMvccVersion in interface com.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:
      setMvccVersion in interface com.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:
      getCtCollectionId in interface com.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:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentComposition>
      Parameters:
      ctCollectionId - the ct collection ID of this fragment composition
    • getUuid

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

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

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

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this fragment composition.
      Specified by:
      setExternalReferenceCode in interface com.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:
      getGroupId in interface com.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:
      setGroupId in interface com.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:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      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
    • setCompanyId

      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 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
    • getUserId

      long getUserId()
      Returns the user ID of this fragment composition.
      Specified by:
      getUserId in interface com.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:
      setUserId in interface com.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:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this fragment composition
    • setUserUuid

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

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

      void setUserName(String userName)
      Sets the user name of this fragment composition.
      Specified by:
      setUserName in interface com.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:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this fragment composition
    • setCreateDate

      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 com.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:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this fragment composition
    • setModifiedDate

      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 com.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

      @AutoEscape String getFragmentCompositionKey()
      Returns the fragment composition key of this fragment composition.
      Returns:
      the fragment composition key of this fragment composition
    • setFragmentCompositionKey

      void setFragmentCompositionKey(String fragmentCompositionKey)
      Sets the fragment composition key of this fragment composition.
      Parameters:
      fragmentCompositionKey - the fragment composition key of this fragment composition
    • getName

      @AutoEscape String getName()
      Returns the name of this fragment composition.
      Returns:
      the name of this fragment composition
    • setName

      void setName(String name)
      Sets the name of this fragment composition.
      Parameters:
      name - the name of this fragment composition
    • getDescription

      @AutoEscape String getDescription()
      Returns the description of this fragment composition.
      Returns:
      the description of this fragment composition
    • setDescription

      void setDescription(String description)
      Sets the description of this fragment composition.
      Parameters:
      description - the description of this fragment composition
    • getData

      @AutoEscape String getData()
      Returns the data of this fragment composition.
      Returns:
      the data of this fragment composition
    • setData

      void setData(String data)
      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:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this fragment composition
    • setLastPublishDate

      void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this fragment composition.
      Specified by:
      setLastPublishDate in interface com.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:
      getStatus in interface com.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:
      setStatus in interface com.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:
      getStatusByUserId in interface com.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:
      setStatusByUserId in interface com.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:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this fragment composition
    • setStatusByUserUuid

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

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

      void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this fragment composition.
      Specified by:
      setStatusByUserName in interface com.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:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this fragment composition
    • setStatusDate

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

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

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

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

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

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

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

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

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

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

      default String toXmlString()