Interface CPDefinitionModel

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

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

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

See Also:
Generated:
  • Method Details

    • getPrimaryKey

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

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

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

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

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

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

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

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

      @AutoEscape String getDefaultLanguageId()
      Returns the default language ID of this cp definition.
      Returns:
      the default language ID of this cp definition
    • setDefaultLanguageId

      void setDefaultLanguageId(String defaultLanguageId)
      Sets the default language ID of this cp definition.
      Parameters:
      defaultLanguageId - the default language ID of this cp definition
    • getCPDefinitionId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      long getCPTaxCategoryId()
      Returns the cp tax category ID of this cp definition.
      Returns:
      the cp tax category ID of this cp definition
    • setCPTaxCategoryId

      void setCPTaxCategoryId(long CPTaxCategoryId)
      Sets the cp tax category ID of this cp definition.
      Parameters:
      CPTaxCategoryId - the cp tax category ID of this cp definition
    • getProductTypeName

      @AutoEscape String getProductTypeName()
      Returns the product type name of this cp definition.
      Returns:
      the product type name of this cp definition
    • setProductTypeName

      void setProductTypeName(String productTypeName)
      Sets the product type name of this cp definition.
      Parameters:
      productTypeName - the product type name of this cp definition
    • getAvailableIndividually

      boolean getAvailableIndividually()
      Returns the available individually of this cp definition.
      Returns:
      the available individually of this cp definition
    • isAvailableIndividually

      boolean isAvailableIndividually()
      Returns true if this cp definition is available individually.
      Returns:
      true if this cp definition is available individually; false otherwise
    • setAvailableIndividually

      void setAvailableIndividually(boolean availableIndividually)
      Sets whether this cp definition is available individually.
      Parameters:
      availableIndividually - the available individually of this cp definition
    • getIgnoreSKUCombinations

      boolean getIgnoreSKUCombinations()
      Returns the ignore sku combinations of this cp definition.
      Returns:
      the ignore sku combinations of this cp definition
    • isIgnoreSKUCombinations

      boolean isIgnoreSKUCombinations()
      Returns true if this cp definition is ignore sku combinations.
      Returns:
      true if this cp definition is ignore sku combinations; false otherwise
    • setIgnoreSKUCombinations

      void setIgnoreSKUCombinations(boolean ignoreSKUCombinations)
      Sets whether this cp definition is ignore sku combinations.
      Parameters:
      ignoreSKUCombinations - the ignore sku combinations of this cp definition
    • getShippable

      boolean getShippable()
      Returns the shippable of this cp definition.
      Returns:
      the shippable of this cp definition
    • isShippable

      boolean isShippable()
      Returns true if this cp definition is shippable.
      Returns:
      true if this cp definition is shippable; false otherwise
    • setShippable

      void setShippable(boolean shippable)
      Sets whether this cp definition is shippable.
      Parameters:
      shippable - the shippable of this cp definition
    • getFreeShipping

      boolean getFreeShipping()
      Returns the free shipping of this cp definition.
      Returns:
      the free shipping of this cp definition
    • isFreeShipping

      boolean isFreeShipping()
      Returns true if this cp definition is free shipping.
      Returns:
      true if this cp definition is free shipping; false otherwise
    • setFreeShipping

      void setFreeShipping(boolean freeShipping)
      Sets whether this cp definition is free shipping.
      Parameters:
      freeShipping - the free shipping of this cp definition
    • getShipSeparately

      boolean getShipSeparately()
      Returns the ship separately of this cp definition.
      Returns:
      the ship separately of this cp definition
    • isShipSeparately

      boolean isShipSeparately()
      Returns true if this cp definition is ship separately.
      Returns:
      true if this cp definition is ship separately; false otherwise
    • setShipSeparately

      void setShipSeparately(boolean shipSeparately)
      Sets whether this cp definition is ship separately.
      Parameters:
      shipSeparately - the ship separately of this cp definition
    • getShippingExtraPrice

      double getShippingExtraPrice()
      Returns the shipping extra price of this cp definition.
      Returns:
      the shipping extra price of this cp definition
    • setShippingExtraPrice

      void setShippingExtraPrice(double shippingExtraPrice)
      Sets the shipping extra price of this cp definition.
      Parameters:
      shippingExtraPrice - the shipping extra price of this cp definition
    • getWidth

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

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

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

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

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

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

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

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

      boolean getTaxExempt()
      Returns the tax exempt of this cp definition.
      Returns:
      the tax exempt of this cp definition
    • isTaxExempt

      boolean isTaxExempt()
      Returns true if this cp definition is tax exempt.
      Returns:
      true if this cp definition is tax exempt; false otherwise
    • setTaxExempt

      void setTaxExempt(boolean taxExempt)
      Sets whether this cp definition is tax exempt.
      Parameters:
      taxExempt - the tax exempt of this cp definition
    • getTelcoOrElectronics

      boolean getTelcoOrElectronics()
      Returns the telco or electronics of this cp definition.
      Returns:
      the telco or electronics of this cp definition
    • isTelcoOrElectronics

      boolean isTelcoOrElectronics()
      Returns true if this cp definition is telco or electronics.
      Returns:
      true if this cp definition is telco or electronics; false otherwise
    • setTelcoOrElectronics

      void setTelcoOrElectronics(boolean telcoOrElectronics)
      Sets whether this cp definition is telco or electronics.
      Parameters:
      telcoOrElectronics - the telco or electronics of this cp definition
    • getDDMStructureKey

      @AutoEscape String getDDMStructureKey()
      Returns the ddm structure key of this cp definition.
      Returns:
      the ddm structure key of this cp definition
    • setDDMStructureKey

      void setDDMStructureKey(String DDMStructureKey)
      Sets the ddm structure key of this cp definition.
      Parameters:
      DDMStructureKey - the ddm structure key of this cp definition
    • getPublished

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      boolean getAccountGroupFilterEnabled()
      Returns the account group filter enabled of this cp definition.
      Returns:
      the account group filter enabled of this cp definition
    • isAccountGroupFilterEnabled

      boolean isAccountGroupFilterEnabled()
      Returns true if this cp definition is account group filter enabled.
      Returns:
      true if this cp definition is account group filter enabled; false otherwise
    • setAccountGroupFilterEnabled

      void setAccountGroupFilterEnabled(boolean accountGroupFilterEnabled)
      Sets whether this cp definition is account group filter enabled.
      Parameters:
      accountGroupFilterEnabled - the account group filter enabled of this cp definition
    • getChannelFilterEnabled

      boolean getChannelFilterEnabled()
      Returns the channel filter enabled of this cp definition.
      Returns:
      the channel filter enabled of this cp definition
    • isChannelFilterEnabled

      boolean isChannelFilterEnabled()
      Returns true if this cp definition is channel filter enabled.
      Returns:
      true if this cp definition is channel filter enabled; false otherwise
    • setChannelFilterEnabled

      void setChannelFilterEnabled(boolean channelFilterEnabled)
      Sets whether this cp definition is channel filter enabled.
      Parameters:
      channelFilterEnabled - the channel filter enabled of this cp definition
    • getVersion

      int getVersion()
      Returns the version of this cp definition.
      Returns:
      the version of this cp definition
    • setVersion

      void setVersion(int version)
      Sets the version of this cp definition.
      Parameters:
      version - the version of this cp definition
    • getStatus

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

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

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

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

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

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

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

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

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

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

      String[] getAvailableLanguageIds()
    • getName

      String getName()
    • getName

      String getName(String languageId)
    • getName

      String getName(String languageId, boolean useDefault)
    • getNameMapAsXML

      String getNameMapAsXML()
    • getLanguageIdToNameMap

      Map<String,String> getLanguageIdToNameMap()
    • getShortDescription

      String getShortDescription()
    • getShortDescription

      String getShortDescription(String languageId)
    • getShortDescription

      String getShortDescription(String languageId, boolean useDefault)
    • getShortDescriptionMapAsXML

      String getShortDescriptionMapAsXML()
    • getLanguageIdToShortDescriptionMap

      Map<String,String> getLanguageIdToShortDescriptionMap()
    • getDescription

      String getDescription()
    • getDescription

      String getDescription(String languageId)
    • getDescription

      String getDescription(String languageId, boolean useDefault)
    • getDescriptionMapAsXML

      String getDescriptionMapAsXML()
    • getLanguageIdToDescriptionMap

      Map<String,String> getLanguageIdToDescriptionMap()
    • getMetaTitle

      String getMetaTitle()
    • getMetaTitle

      String getMetaTitle(String languageId)
    • getMetaTitle

      String getMetaTitle(String languageId, boolean useDefault)
    • getMetaTitleMapAsXML

      String getMetaTitleMapAsXML()
    • getLanguageIdToMetaTitleMap

      Map<String,String> getLanguageIdToMetaTitleMap()
    • getMetaDescription

      String getMetaDescription()
    • getMetaDescription

      String getMetaDescription(String languageId)
    • getMetaDescription

      String getMetaDescription(String languageId, boolean useDefault)
    • getMetaDescriptionMapAsXML

      String getMetaDescriptionMapAsXML()
    • getLanguageIdToMetaDescriptionMap

      Map<String,String> getLanguageIdToMetaDescriptionMap()
    • getMetaKeywords

      String getMetaKeywords()
    • getMetaKeywords

      String getMetaKeywords(String languageId)
    • getMetaKeywords

      String getMetaKeywords(String languageId, boolean useDefault)
    • getMetaKeywordsMapAsXML

      String getMetaKeywordsMapAsXML()
    • getLanguageIdToMetaKeywordsMap

      Map<String,String> getLanguageIdToMetaKeywordsMap()
    • isApproved

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

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

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

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

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

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

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

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

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

      default String toXmlString()