Class CPDefinitionLinkWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionLink>
com.liferay.commerce.product.model.CPDefinitionLinkWrapper
All Implemented Interfaces:
CPDefinitionLink, CPDefinitionLinkModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CPDefinitionLink>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionLink>, 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<CPDefinitionLink>

public class CPDefinitionLinkWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionLink> implements CPDefinitionLink, com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionLink>

This class is a wrapper for CPDefinitionLink.

See Also:
Generated:
  • Constructor Details

    • CPDefinitionLinkWrapper

      public CPDefinitionLinkWrapper(CPDefinitionLink cpDefinitionLink)
  • Method Details

    • getModelAttributes

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

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

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

      public 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 CPDefinitionLinkModel
      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
    • getCPDefinition

      public CPDefinition getCPDefinition()
      Specified by:
      getCPDefinition in interface CPDefinitionLink
    • getCPDefinitionId

      public long getCPDefinitionId()
      Returns the cp definition ID of this cp definition link.
      Specified by:
      getCPDefinitionId in interface CPDefinitionLinkModel
      Returns:
      the cp definition ID of this cp definition link
    • getCPDefinitionLinkId

      public long getCPDefinitionLinkId()
      Returns the cp definition link ID of this cp definition link.
      Specified by:
      getCPDefinitionLinkId in interface CPDefinitionLinkModel
      Returns:
      the cp definition link ID of this cp definition link
    • getCProduct

      public CProduct getCProduct()
      Specified by:
      getCProduct in interface CPDefinitionLink
    • getCProductId

      public long getCProductId()
      Returns the c product ID of this cp definition link.
      Specified by:
      getCProductId in interface CPDefinitionLinkModel
      Returns:
      the c product ID of this cp definition link
    • getCProductName

      public String getCProductName()
      Specified by:
      getCProductName in interface CPDefinitionLink
    • getCreateDate

      public 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 CPDefinitionLinkModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this cp definition link
    • getCtCollectionId

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

      public Date getDisplayDate()
      Returns the display date of this cp definition link.
      Specified by:
      getDisplayDate in interface CPDefinitionLinkModel
      Returns:
      the display date of this cp definition link
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this cp definition link.
      Specified by:
      getExpirationDate in interface CPDefinitionLinkModel
      Returns:
      the expiration date of this cp definition link
    • getGroupId

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

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

      public 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 CPDefinitionLinkModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this cp definition link
    • getMvccVersion

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

      public long getPrimaryKey()
      Returns the primary key of this cp definition link.
      Specified by:
      getPrimaryKey in interface CPDefinitionLinkModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionLink>
      Returns:
      the primary key of this cp definition link
    • getPriority

      public double getPriority()
      Returns the priority of this cp definition link.
      Specified by:
      getPriority in interface CPDefinitionLinkModel
      Returns:
      the priority of this cp definition link
    • getStatus

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

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

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

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

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

      public String getType()
      Returns the type of this cp definition link.
      Specified by:
      getType in interface CPDefinitionLinkModel
      Returns:
      the type of this cp definition link
    • getUserId

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

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

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

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

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

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

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

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

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

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

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

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

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

      public 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 CPDefinitionLinkModel
      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
    • setCPDefinitionId

      public void setCPDefinitionId(long CPDefinitionId)
      Sets the cp definition ID of this cp definition link.
      Specified by:
      setCPDefinitionId in interface CPDefinitionLinkModel
      Parameters:
      CPDefinitionId - the cp definition ID of this cp definition link
    • setCPDefinitionLinkId

      public void setCPDefinitionLinkId(long CPDefinitionLinkId)
      Sets the cp definition link ID of this cp definition link.
      Specified by:
      setCPDefinitionLinkId in interface CPDefinitionLinkModel
      Parameters:
      CPDefinitionLinkId - the cp definition link ID of this cp definition link
    • setCProductId

      public void setCProductId(long CProductId)
      Sets the c product ID of this cp definition link.
      Specified by:
      setCProductId in interface CPDefinitionLinkModel
      Parameters:
      CProductId - the c product ID of this cp definition link
    • setCreateDate

      public 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 CPDefinitionLinkModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this cp definition link
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this cp definition link.
      Specified by:
      setCtCollectionId in interface CPDefinitionLinkModel
      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
    • setDisplayDate

      public void setDisplayDate(Date displayDate)
      Sets the display date of this cp definition link.
      Specified by:
      setDisplayDate in interface CPDefinitionLinkModel
      Parameters:
      displayDate - the display date of this cp definition link
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this cp definition link.
      Specified by:
      setExpirationDate in interface CPDefinitionLinkModel
      Parameters:
      expirationDate - the expiration date of this cp definition link
    • setGroupId

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

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

      public 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 CPDefinitionLinkModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this cp definition link
    • setMvccVersion

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

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

      public void setPriority(double priority)
      Sets the priority of this cp definition link.
      Specified by:
      setPriority in interface CPDefinitionLinkModel
      Parameters:
      priority - the priority of this cp definition link
    • setStatus

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

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

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

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

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

      public void setType(String type)
      Sets the type of this cp definition link.
      Specified by:
      setType in interface CPDefinitionLinkModel
      Parameters:
      type - the type of this cp definition link
    • setUserId

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

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

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

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

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

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

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

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

      protected CPDefinitionLinkWrapper wrap(CPDefinitionLink cpDefinitionLink)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionLink>