Interface CPInstanceModel

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

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

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

See Also:
Generated:
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this cp instance.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>
      Returns:
      the primary key of this cp instance
    • setPrimaryKey

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

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

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

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

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

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

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

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

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this cp instance.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this cp instance
    • getCPInstanceId

      long getCPInstanceId()
      Returns the cp instance ID of this cp instance.
      Returns:
      the cp instance ID of this cp instance
    • setCPInstanceId

      void setCPInstanceId(long CPInstanceId)
      Sets the cp instance ID of this cp instance.
      Parameters:
      CPInstanceId - the cp instance ID of this cp instance
    • getGroupId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      @AutoEscape String getCPInstanceUuid()
      Returns the cp instance uuid of this cp instance.
      Returns:
      the cp instance uuid of this cp instance
    • setCPInstanceUuid

      void setCPInstanceUuid(String CPInstanceUuid)
      Sets the cp instance uuid of this cp instance.
      Parameters:
      CPInstanceUuid - the cp instance uuid of this cp instance
    • getSku

      @AutoEscape String getSku()
      Returns the sku of this cp instance.
      Returns:
      the sku of this cp instance
    • setSku

      void setSku(String sku)
      Sets the sku of this cp instance.
      Parameters:
      sku - the sku of this cp instance
    • getGtin

      @AutoEscape String getGtin()
      Returns the gtin of this cp instance.
      Returns:
      the gtin of this cp instance
    • setGtin

      void setGtin(String gtin)
      Sets the gtin of this cp instance.
      Parameters:
      gtin - the gtin of this cp instance
    • getManufacturerPartNumber

      @AutoEscape String getManufacturerPartNumber()
      Returns the manufacturer part number of this cp instance.
      Returns:
      the manufacturer part number of this cp instance
    • setManufacturerPartNumber

      void setManufacturerPartNumber(String manufacturerPartNumber)
      Sets the manufacturer part number of this cp instance.
      Parameters:
      manufacturerPartNumber - the manufacturer part number of this cp instance
    • getPurchasable

      boolean getPurchasable()
      Returns the purchasable of this cp instance.
      Returns:
      the purchasable of this cp instance
    • isPurchasable

      boolean isPurchasable()
      Returns true if this cp instance is purchasable.
      Returns:
      true if this cp instance is purchasable; false otherwise
    • setPurchasable

      void setPurchasable(boolean purchasable)
      Sets whether this cp instance is purchasable.
      Parameters:
      purchasable - the purchasable of this cp instance
    • getWidth

      double getWidth()
      Returns the width of this cp instance.
      Returns:
      the width of this cp instance
    • setWidth

      void setWidth(double width)
      Sets the width of this cp instance.
      Parameters:
      width - the width of this cp instance
    • getHeight

      double getHeight()
      Returns the height of this cp instance.
      Returns:
      the height of this cp instance
    • setHeight

      void setHeight(double height)
      Sets the height of this cp instance.
      Parameters:
      height - the height of this cp instance
    • getDepth

      double getDepth()
      Returns the depth of this cp instance.
      Returns:
      the depth of this cp instance
    • setDepth

      void setDepth(double depth)
      Sets the depth of this cp instance.
      Parameters:
      depth - the depth of this cp instance
    • getWeight

      double getWeight()
      Returns the weight of this cp instance.
      Returns:
      the weight of this cp instance
    • setWeight

      void setWeight(double weight)
      Sets the weight of this cp instance.
      Parameters:
      weight - the weight of this cp instance
    • getPrice

      BigDecimal getPrice()
      Returns the price of this cp instance.
      Returns:
      the price of this cp instance
    • setPrice

      void setPrice(BigDecimal price)
      Sets the price of this cp instance.
      Parameters:
      price - the price of this cp instance
    • getPromoPrice

      BigDecimal getPromoPrice()
      Returns the promo price of this cp instance.
      Returns:
      the promo price of this cp instance
    • setPromoPrice

      void setPromoPrice(BigDecimal promoPrice)
      Sets the promo price of this cp instance.
      Parameters:
      promoPrice - the promo price of this cp instance
    • getCost

      BigDecimal getCost()
      Returns the cost of this cp instance.
      Returns:
      the cost of this cp instance
    • setCost

      void setCost(BigDecimal cost)
      Sets the cost of this cp instance.
      Parameters:
      cost - the cost of this cp instance
    • getPublished

      boolean getPublished()
      Returns the published of this cp instance.
      Returns:
      the published of this cp instance
    • isPublished

      boolean isPublished()
      Returns true if this cp instance is published.
      Returns:
      true if this cp instance is published; false otherwise
    • setPublished

      void setPublished(boolean published)
      Sets whether this cp instance is published.
      Parameters:
      published - the published of this cp instance
    • getDisplayDate

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

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

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

      void setExpirationDate(Date expirationDate)
      Sets the expiration date of this cp instance.
      Parameters:
      expirationDate - the expiration date of this cp instance
    • getLastPublishDate

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

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

      boolean getOverrideSubscriptionInfo()
      Returns the override subscription info of this cp instance.
      Returns:
      the override subscription info of this cp instance
    • isOverrideSubscriptionInfo

      boolean isOverrideSubscriptionInfo()
      Returns true if this cp instance is override subscription info.
      Returns:
      true if this cp instance is override subscription info; false otherwise
    • setOverrideSubscriptionInfo

      void setOverrideSubscriptionInfo(boolean overrideSubscriptionInfo)
      Sets whether this cp instance is override subscription info.
      Parameters:
      overrideSubscriptionInfo - the override subscription info of this cp instance
    • getSubscriptionEnabled

      boolean getSubscriptionEnabled()
      Returns the subscription enabled of this cp instance.
      Returns:
      the subscription enabled of this cp instance
    • isSubscriptionEnabled

      boolean isSubscriptionEnabled()
      Returns true if this cp instance is subscription enabled.
      Returns:
      true if this cp instance is subscription enabled; false otherwise
    • setSubscriptionEnabled

      void setSubscriptionEnabled(boolean subscriptionEnabled)
      Sets whether this cp instance is subscription enabled.
      Parameters:
      subscriptionEnabled - the subscription enabled of this cp instance
    • getSubscriptionLength

      int getSubscriptionLength()
      Returns the subscription length of this cp instance.
      Returns:
      the subscription length of this cp instance
    • setSubscriptionLength

      void setSubscriptionLength(int subscriptionLength)
      Sets the subscription length of this cp instance.
      Parameters:
      subscriptionLength - the subscription length of this cp instance
    • getSubscriptionType

      @AutoEscape String getSubscriptionType()
      Returns the subscription type of this cp instance.
      Returns:
      the subscription type of this cp instance
    • setSubscriptionType

      void setSubscriptionType(String subscriptionType)
      Sets the subscription type of this cp instance.
      Parameters:
      subscriptionType - the subscription type of this cp instance
    • getSubscriptionTypeSettings

      @AutoEscape String getSubscriptionTypeSettings()
      Returns the subscription type settings of this cp instance.
      Returns:
      the subscription type settings of this cp instance
    • setSubscriptionTypeSettings

      void setSubscriptionTypeSettings(String subscriptionTypeSettings)
      Sets the subscription type settings of this cp instance.
      Parameters:
      subscriptionTypeSettings - the subscription type settings of this cp instance
    • getMaxSubscriptionCycles

      long getMaxSubscriptionCycles()
      Returns the max subscription cycles of this cp instance.
      Returns:
      the max subscription cycles of this cp instance
    • setMaxSubscriptionCycles

      void setMaxSubscriptionCycles(long maxSubscriptionCycles)
      Sets the max subscription cycles of this cp instance.
      Parameters:
      maxSubscriptionCycles - the max subscription cycles of this cp instance
    • getDeliverySubscriptionEnabled

      boolean getDeliverySubscriptionEnabled()
      Returns the delivery subscription enabled of this cp instance.
      Returns:
      the delivery subscription enabled of this cp instance
    • isDeliverySubscriptionEnabled

      boolean isDeliverySubscriptionEnabled()
      Returns true if this cp instance is delivery subscription enabled.
      Returns:
      true if this cp instance is delivery subscription enabled; false otherwise
    • setDeliverySubscriptionEnabled

      void setDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled)
      Sets whether this cp instance is delivery subscription enabled.
      Parameters:
      deliverySubscriptionEnabled - the delivery subscription enabled of this cp instance
    • getDeliverySubscriptionLength

      int getDeliverySubscriptionLength()
      Returns the delivery subscription length of this cp instance.
      Returns:
      the delivery subscription length of this cp instance
    • setDeliverySubscriptionLength

      void setDeliverySubscriptionLength(int deliverySubscriptionLength)
      Sets the delivery subscription length of this cp instance.
      Parameters:
      deliverySubscriptionLength - the delivery subscription length of this cp instance
    • getDeliverySubscriptionType

      @AutoEscape String getDeliverySubscriptionType()
      Returns the delivery subscription type of this cp instance.
      Returns:
      the delivery subscription type of this cp instance
    • setDeliverySubscriptionType

      void setDeliverySubscriptionType(String deliverySubscriptionType)
      Sets the delivery subscription type of this cp instance.
      Parameters:
      deliverySubscriptionType - the delivery subscription type of this cp instance
    • getDeliverySubscriptionTypeSettings

      @AutoEscape String getDeliverySubscriptionTypeSettings()
      Returns the delivery subscription type settings of this cp instance.
      Returns:
      the delivery subscription type settings of this cp instance
    • setDeliverySubscriptionTypeSettings

      void setDeliverySubscriptionTypeSettings(String deliverySubscriptionTypeSettings)
      Sets the delivery subscription type settings of this cp instance.
      Parameters:
      deliverySubscriptionTypeSettings - the delivery subscription type settings of this cp instance
    • getDeliveryMaxSubscriptionCycles

      long getDeliveryMaxSubscriptionCycles()
      Returns the delivery max subscription cycles of this cp instance.
      Returns:
      the delivery max subscription cycles of this cp instance
    • setDeliveryMaxSubscriptionCycles

      void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles)
      Sets the delivery max subscription cycles of this cp instance.
      Parameters:
      deliveryMaxSubscriptionCycles - the delivery max subscription cycles of this cp instance
    • getUnspsc

      @AutoEscape String getUnspsc()
      Returns the unspsc of this cp instance.
      Returns:
      the unspsc of this cp instance
    • setUnspsc

      void setUnspsc(String unspsc)
      Sets the unspsc of this cp instance.
      Parameters:
      unspsc - the unspsc of this cp instance
    • getDiscontinued

      boolean getDiscontinued()
      Returns the discontinued of this cp instance.
      Returns:
      the discontinued of this cp instance
    • isDiscontinued

      boolean isDiscontinued()
      Returns true if this cp instance is discontinued.
      Returns:
      true if this cp instance is discontinued; false otherwise
    • setDiscontinued

      void setDiscontinued(boolean discontinued)
      Sets whether this cp instance is discontinued.
      Parameters:
      discontinued - the discontinued of this cp instance
    • getDiscontinuedDate

      Date getDiscontinuedDate()
      Returns the discontinued date of this cp instance.
      Returns:
      the discontinued date of this cp instance
    • setDiscontinuedDate

      void setDiscontinuedDate(Date discontinuedDate)
      Sets the discontinued date of this cp instance.
      Parameters:
      discontinuedDate - the discontinued date of this cp instance
    • getReplacementCPInstanceUuid

      @AutoEscape String getReplacementCPInstanceUuid()
      Returns the replacement cp instance uuid of this cp instance.
      Returns:
      the replacement cp instance uuid of this cp instance
    • setReplacementCPInstanceUuid

      void setReplacementCPInstanceUuid(String replacementCPInstanceUuid)
      Sets the replacement cp instance uuid of this cp instance.
      Parameters:
      replacementCPInstanceUuid - the replacement cp instance uuid of this cp instance
    • getReplacementCProductId

      long getReplacementCProductId()
      Returns the replacement c product ID of this cp instance.
      Returns:
      the replacement c product ID of this cp instance
    • setReplacementCProductId

      void setReplacementCProductId(long replacementCProductId)
      Sets the replacement c product ID of this cp instance.
      Parameters:
      replacementCProductId - the replacement c product ID of this cp instance
    • getStatus

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      default String toXmlString()