Interface CPDefinitionLinkModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CPDefinitionLink>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>, 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:
CPDefinitionLink
All Known Implementing Classes:
CPDefinitionLinkWrapper

@ProviderType public interface CPDefinitionLinkModel extends com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>, 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 CPDefinitionLink service. Represents a row in the "CPDefinitionLink" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.commerce.product.model.impl.CPDefinitionLinkModelImpl 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.commerce.product.model.impl.CPDefinitionLinkImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this cp definition link.
    long
    Returns the cp definition ID of this cp definition link.
    long
    Returns the cp definition link ID of this cp definition link.
    long
    Returns the c product ID of this cp definition link.
    Returns the create date of this cp definition link.
    long
    Returns the ct collection ID of this cp definition link.
    Returns the display date of this cp definition link.
    Returns the expiration date of this cp definition link.
    long
    Returns the group ID of this cp definition link.
    Returns the last publish date of this cp definition link.
    Returns the modified date of this cp definition link.
    long
    Returns the mvcc version of this cp definition link.
    long
    Returns the primary key of this cp definition link.
    double
    Returns the priority of this cp definition link.
    int
    Returns the status of this cp definition link.
    long
    Returns the status by user ID of this cp definition link.
    Returns the status by user name of this cp definition link.
    Returns the status by user uuid of this cp definition link.
    Returns the status date of this cp definition link.
    Returns the type of this cp definition link.
    long
    Returns the user ID of this cp definition link.
    Returns the user name of this cp definition link.
    Returns the user uuid of this cp definition link.
    Returns the uuid of this cp definition link.
    boolean
    Returns true if this cp definition link is approved.
    boolean
    Returns true if this cp definition link is denied.
    boolean
    Returns true if this cp definition link is a draft.
    boolean
    Returns true if this cp definition link is expired.
    boolean
    Returns true if this cp definition link is inactive.
    boolean
    Returns true if this cp definition link is incomplete.
    boolean
    Returns true if this cp definition link is pending.
    boolean
    Returns true if this cp definition link is scheduled.
    void
    setCompanyId(long companyId)
    Sets the company ID of this cp definition link.
    void
    setCPDefinitionId(long CPDefinitionId)
    Sets the cp definition ID of this cp definition link.
    void
    setCPDefinitionLinkId(long CPDefinitionLinkId)
    Sets the cp definition link ID of this cp definition link.
    void
    setCProductId(long CProductId)
    Sets the c product ID of this cp definition link.
    void
    setCreateDate(Date createDate)
    Sets the create date of this cp definition link.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this cp definition link.
    void
    setDisplayDate(Date displayDate)
    Sets the display date of this cp definition link.
    void
    setExpirationDate(Date expirationDate)
    Sets the expiration date of this cp definition link.
    void
    setGroupId(long groupId)
    Sets the group ID of this cp definition link.
    void
    setLastPublishDate(Date lastPublishDate)
    Sets the last publish date of this cp definition link.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this cp definition link.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this cp definition link.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this cp definition link.
    void
    setPriority(double priority)
    Sets the priority of this cp definition link.
    void
    setStatus(int status)
    Sets the status of this cp definition link.
    void
    setStatusByUserId(long statusByUserId)
    Sets the status by user ID of this cp definition link.
    void
    setStatusByUserName(String statusByUserName)
    Sets the status by user name of this cp definition link.
    void
    setStatusByUserUuid(String statusByUserUuid)
    Sets the status by user uuid of this cp definition link.
    void
    setStatusDate(Date statusDate)
    Sets the status date of this cp definition link.
    void
    Sets the type of this cp definition link.
    void
    setUserId(long userId)
    Sets the user ID of this cp definition link.
    void
    setUserName(String userName)
    Sets the user name of this cp definition link.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this cp definition link.
    void
    Sets the uuid of this cp definition link.
    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 cp definition link.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>
      Returns:
      the primary key of this cp definition link
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this cp definition link.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>
      Parameters:
      primaryKey - the primary key of this cp definition link
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this cp definition link.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this cp definition link
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this cp definition link.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this cp definition link
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this cp definition link.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>
      Returns:
      the ct collection ID of this cp definition link
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this cp definition link.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>
      Parameters:
      ctCollectionId - the ct collection ID of this cp definition link
    • getUuid

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

      void setUuid(String uuid)
      Sets the uuid of this cp definition link.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this cp definition link
    • getCPDefinitionLinkId

      long getCPDefinitionLinkId()
      Returns the cp definition link ID of this cp definition link.
      Returns:
      the cp definition link ID of this cp definition link
    • setCPDefinitionLinkId

      void setCPDefinitionLinkId(long CPDefinitionLinkId)
      Sets the cp definition link ID of this cp definition link.
      Parameters:
      CPDefinitionLinkId - the cp definition link ID of this cp definition link
    • getGroupId

      long getGroupId()
      Returns the group ID of this cp definition link.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this cp definition link
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this cp definition link.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this cp definition link
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this cp definition link.
      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 cp definition link
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this cp definition link.
      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 cp definition link
    • getUserId

      long getUserId()
      Returns the user ID of this cp definition link.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this cp definition link
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this cp definition link.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this cp definition link
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this cp definition link.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this cp definition link
    • setUserUuid

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

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

      void setUserName(String userName)
      Sets the user name of this cp definition link.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this cp definition link
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this cp definition link.
      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 cp definition link
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this cp definition link.
      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 cp definition link
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this cp definition link.
      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 cp definition link
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this cp definition link.
      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 cp definition link
    • getCPDefinitionId

      long getCPDefinitionId()
      Returns the cp definition ID of this cp definition link.
      Returns:
      the cp definition ID of this cp definition link
    • setCPDefinitionId

      void setCPDefinitionId(long CPDefinitionId)
      Sets the cp definition ID of this cp definition link.
      Parameters:
      CPDefinitionId - the cp definition ID of this cp definition link
    • getCProductId

      long getCProductId()
      Returns the c product ID of this cp definition link.
      Returns:
      the c product ID of this cp definition link
    • setCProductId

      void setCProductId(long CProductId)
      Sets the c product ID of this cp definition link.
      Parameters:
      CProductId - the c product ID of this cp definition link
    • getDisplayDate

      Date getDisplayDate()
      Returns the display date of this cp definition link.
      Returns:
      the display date of this cp definition link
    • setDisplayDate

      void setDisplayDate(Date displayDate)
      Sets the display date of this cp definition link.
      Parameters:
      displayDate - the display date of this cp definition link
    • getExpirationDate

      Date getExpirationDate()
      Returns the expiration date of this cp definition link.
      Returns:
      the expiration date of this cp definition link
    • setExpirationDate

      void setExpirationDate(Date expirationDate)
      Sets the expiration date of this cp definition link.
      Parameters:
      expirationDate - the expiration date of this cp definition link
    • getPriority

      double getPriority()
      Returns the priority of this cp definition link.
      Returns:
      the priority of this cp definition link
    • setPriority

      void setPriority(double priority)
      Sets the priority of this cp definition link.
      Parameters:
      priority - the priority of this cp definition link
    • getType

      @AutoEscape String getType()
      Returns the type of this cp definition link.
      Returns:
      the type of this cp definition link
    • setType

      void setType(String type)
      Sets the type of this cp definition link.
      Parameters:
      type - the type of this cp definition link
    • getLastPublishDate

      Date getLastPublishDate()
      Returns the last publish date of this cp definition link.
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this cp definition link
    • setLastPublishDate

      void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this cp definition link.
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this cp definition link
    • getStatus

      int getStatus()
      Returns the status of this cp definition link.
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this cp definition link
    • setStatus

      void setStatus(int status)
      Sets the status of this cp definition link.
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this cp definition link
    • getStatusByUserId

      long getStatusByUserId()
      Returns the status by user ID of this cp definition link.
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this cp definition link
    • setStatusByUserId

      void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this cp definition link.
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this cp definition link
    • getStatusByUserUuid

      String getStatusByUserUuid()
      Returns the status by user uuid of this cp definition link.
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this cp definition link
    • setStatusByUserUuid

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

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

      void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this cp definition link.
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this cp definition link
    • getStatusDate

      Date getStatusDate()
      Returns the status date of this cp definition link.
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this cp definition link
    • setStatusDate

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

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

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

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

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

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

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

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

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

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

      default String toXmlString()