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 Summary
Modifier and TypeMethodDescriptionboolean
Returns the account group filter enabled of this cp definition.boolean
Returns the available individually of this cp definition.String[]
boolean
Returns the channel filter enabled of this cp definition.long
Returns the company ID of this cp definition.long
Returns the cp definition ID of this cp definition.long
Returns the c product ID of this cp definition.long
Returns the cp tax category ID of this cp definition.Returns the create date of this cp definition.long
Returns the ct collection ID of this cp definition.Returns the ddm structure key of this cp definition.Returns the default language ID of this cp definition.long
Returns the delivery max subscription cycles of this cp definition.boolean
Returns the delivery subscription enabled of this cp definition.int
Returns the delivery subscription length of this cp definition.Returns the delivery subscription type of this cp definition.Returns the delivery subscription type settings of this cp definition.double
getDepth()
Returns the depth of this cp definition.getDescription
(String languageId) getDescription
(String languageId, boolean useDefault) Returns the display date of this cp definition.Returns the expiration date of this cp definition.boolean
Returns the free shipping of this cp definition.long
Returns the group ID of this cp definition.double
Returns the height of this cp definition.boolean
Returns the ignore sku combinations of this cp definition.Returns the last publish date of this cp definition.long
Returns the max subscription cycles of this cp definition.getMetaDescription
(String languageId) getMetaDescription
(String languageId, boolean useDefault) getMetaKeywords
(String languageId) getMetaKeywords
(String languageId, boolean useDefault) getMetaTitle
(String languageId) getMetaTitle
(String languageId, boolean useDefault) Returns the modified date of this cp definition.long
Returns the mvcc version of this cp definition.getName()
long
Returns the primary key of this cp definition.Returns the product type name of this cp definition.boolean
Returns the published of this cp definition.boolean
Returns the shippable of this cp definition.double
Returns the shipping extra price of this cp definition.boolean
Returns the ship separately of this cp definition.getShortDescription
(String languageId) getShortDescription
(String languageId, boolean useDefault) int
Returns the status of this cp definition.long
Returns the status by user ID of this cp definition.Returns the status by user name of this cp definition.Returns the status by user uuid of this cp definition.Returns the status date of this cp definition.boolean
Returns the subscription enabled of this cp definition.int
Returns the subscription length of this cp definition.Returns the subscription type of this cp definition.Returns the subscription type settings of this cp definition.boolean
Returns the tax exempt of this cp definition.boolean
Returns the telco or electronics of this cp definition.long
Returns the user ID of this cp definition.Returns the user name of this cp definition.Returns the user uuid of this cp definition.getUuid()
Returns the uuid of this cp definition.int
Returns the version of this cp definition.double
Returns the weight of this cp definition.double
getWidth()
Returns the width of this cp definition.boolean
Returnstrue
if this cp definition is account group filter enabled.boolean
Returnstrue
if this cp definition is approved.boolean
Returnstrue
if this cp definition is available individually.boolean
Returnstrue
if this cp definition is channel filter enabled.boolean
Returnstrue
if this cp definition is delivery subscription enabled.boolean
isDenied()
Returnstrue
if this cp definition is denied.boolean
isDraft()
Returnstrue
if this cp definition is a draft.boolean
Returnstrue
if this cp definition is expired.boolean
Returnstrue
if this cp definition is free shipping.boolean
Returnstrue
if this cp definition is ignore sku combinations.boolean
Returnstrue
if this cp definition is inactive.boolean
Returnstrue
if this cp definition is incomplete.boolean
Returnstrue
if this cp definition is pending.boolean
Returnstrue
if this cp definition is published.boolean
Returnstrue
if this cp definition is scheduled.boolean
Returnstrue
if this cp definition is shippable.boolean
Returnstrue
if this cp definition is ship separately.boolean
Returnstrue
if this cp definition is subscription enabled.boolean
Returnstrue
if this cp definition is tax exempt.boolean
Returnstrue
if this cp definition is telco or electronics.void
setAccountGroupFilterEnabled
(boolean accountGroupFilterEnabled) Sets whether this cp definition is account group filter enabled.void
setAvailableIndividually
(boolean availableIndividually) Sets whether this cp definition is available individually.void
setChannelFilterEnabled
(boolean channelFilterEnabled) Sets whether this cp definition is channel filter enabled.void
setCompanyId
(long companyId) Sets the company ID of this cp definition.void
setCPDefinitionId
(long CPDefinitionId) Sets the cp definition ID of this cp definition.void
setCProductId
(long CProductId) Sets the c product ID of this cp definition.void
setCPTaxCategoryId
(long CPTaxCategoryId) Sets the cp tax category ID of this cp definition.void
setCreateDate
(Date createDate) Sets the create date of this cp definition.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this cp definition.void
setDDMStructureKey
(String DDMStructureKey) Sets the ddm structure key of this cp definition.void
setDefaultLanguageId
(String defaultLanguageId) Sets the default language ID of this cp definition.void
setDeliveryMaxSubscriptionCycles
(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this cp definition.void
setDeliverySubscriptionEnabled
(boolean deliverySubscriptionEnabled) Sets whether this cp definition is delivery subscription enabled.void
setDeliverySubscriptionLength
(int deliverySubscriptionLength) Sets the delivery subscription length of this cp definition.void
setDeliverySubscriptionType
(String deliverySubscriptionType) Sets the delivery subscription type of this cp definition.void
setDeliverySubscriptionTypeSettings
(String deliverySubscriptionTypeSettings) Sets the delivery subscription type settings of this cp definition.void
setDepth
(double depth) Sets the depth of this cp definition.void
setDisplayDate
(Date displayDate) Sets the display date of this cp definition.void
setExpirationDate
(Date expirationDate) Sets the expiration date of this cp definition.void
setFreeShipping
(boolean freeShipping) Sets whether this cp definition is free shipping.void
setGroupId
(long groupId) Sets the group ID of this cp definition.void
setHeight
(double height) Sets the height of this cp definition.void
setIgnoreSKUCombinations
(boolean ignoreSKUCombinations) Sets whether this cp definition is ignore sku combinations.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this cp definition.void
setMaxSubscriptionCycles
(long maxSubscriptionCycles) Sets the max subscription cycles of this cp definition.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this cp definition.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this cp definition.void
setPrimaryKey
(long primaryKey) Sets the primary key of this cp definition.void
setProductTypeName
(String productTypeName) Sets the product type name of this cp definition.void
setPublished
(boolean published) Sets whether this cp definition is published.void
setShippable
(boolean shippable) Sets whether this cp definition is shippable.void
setShippingExtraPrice
(double shippingExtraPrice) Sets the shipping extra price of this cp definition.void
setShipSeparately
(boolean shipSeparately) Sets whether this cp definition is ship separately.void
setStatus
(int status) Sets the status of this cp definition.void
setStatusByUserId
(long statusByUserId) Sets the status by user ID of this cp definition.void
setStatusByUserName
(String statusByUserName) Sets the status by user name of this cp definition.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this cp definition.void
setStatusDate
(Date statusDate) Sets the status date of this cp definition.void
setSubscriptionEnabled
(boolean subscriptionEnabled) Sets whether this cp definition is subscription enabled.void
setSubscriptionLength
(int subscriptionLength) Sets the subscription length of this cp definition.void
setSubscriptionType
(String subscriptionType) Sets the subscription type of this cp definition.void
setSubscriptionTypeSettings
(String subscriptionTypeSettings) Sets the subscription type settings of this cp definition.void
setTaxExempt
(boolean taxExempt) Sets whether this cp definition is tax exempt.void
setTelcoOrElectronics
(boolean telcoOrElectronics) Sets whether this cp definition is telco or electronics.void
setUserId
(long userId) Sets the user ID of this cp definition.void
setUserName
(String userName) Sets the user name of this cp definition.void
setUserUuid
(String userUuid) Sets the user uuid of this cp definition.void
Sets the uuid of this cp definition.void
setVersion
(int version) Sets the version of this cp definition.void
setWeight
(double weight) Sets the weight of this cp definition.void
setWidth
(double width) Sets the width of this cp definition.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.- Specified by:
getPrimaryKey
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinition>
- Parameters:
ctCollectionId
- the ct collection ID of this cp definition
-
getUuid
Returns the uuid of this cp definition.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this cp definition
-
setUuid
Sets the uuid of this cp definition.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this cp definition
-
getDefaultLanguageId
Returns the default language ID of this cp definition.- Returns:
- the default language ID of this cp definition
-
setDefaultLanguageId
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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this cp definition
-
setUserUuid
Sets the user uuid of this cp definition.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this cp definition
-
getUserName
Returns the user name of this cp definition.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this cp definition
-
setUserName
Sets the user name of this cp definition.- Specified by:
setUserName
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this cp definition
-
setCreateDate
Sets the create date of this cp definition.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this cp definition
-
setModifiedDate
Sets the modified date of this cp definition.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfacecom.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
Returns the product type name of this cp definition.- Returns:
- the product type name of this cp definition
-
setProductTypeName
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()Returnstrue
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()Returnstrue
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()Returnstrue
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()Returnstrue
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()Returnstrue
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()Returnstrue
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()Returnstrue
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
Returns the ddm structure key of this cp definition.- Returns:
- the ddm structure key of this cp definition
-
setDDMStructureKey
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()Returnstrue
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
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
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 interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this cp definition
-
setLastPublishDate
Sets the last publish date of this cp definition.- Specified by:
setLastPublishDate
in interfacecom.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()Returnstrue
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
Returns the subscription type of this cp definition.- Returns:
- the subscription type of this cp definition
-
setSubscriptionType
Sets the subscription type of this cp definition.- Parameters:
subscriptionType
- the subscription type of this cp definition
-
getSubscriptionTypeSettings
Returns the subscription type settings of this cp definition.- Returns:
- the subscription type settings of this cp definition
-
setSubscriptionTypeSettings
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()Returnstrue
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
Returns the delivery subscription type of this cp definition.- Returns:
- the delivery subscription type of this cp definition
-
setDeliverySubscriptionType
Sets the delivery subscription type of this cp definition.- Parameters:
deliverySubscriptionType
- the delivery subscription type of this cp definition
-
getDeliverySubscriptionTypeSettings
Returns the delivery subscription type settings of this cp definition.- Returns:
- the delivery subscription type settings of this cp definition
-
setDeliverySubscriptionTypeSettings
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()Returnstrue
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()Returnstrue
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this cp definition
-
setStatusByUserUuid
Sets the status by user uuid of this cp definition.- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this cp definition
-
getStatusByUserName
Returns the status by user name of this cp definition.- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this cp definition
-
setStatusByUserName
Sets the status by user name of this cp definition.- Specified by:
setStatusByUserName
in interfacecom.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 interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this cp definition
-
setStatusDate
Sets the status date of this cp definition.- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this cp definition
-
getAvailableLanguageIds
String[] getAvailableLanguageIds() -
getName
String getName() -
getName
-
getName
-
getNameMapAsXML
String getNameMapAsXML() -
getLanguageIdToNameMap
-
getShortDescription
String getShortDescription() -
getShortDescription
-
getShortDescription
-
getShortDescriptionMapAsXML
String getShortDescriptionMapAsXML() -
getLanguageIdToShortDescriptionMap
-
getDescription
String getDescription() -
getDescription
-
getDescription
-
getDescriptionMapAsXML
String getDescriptionMapAsXML() -
getLanguageIdToDescriptionMap
-
getMetaTitle
String getMetaTitle() -
getMetaTitle
-
getMetaTitle
-
getMetaTitleMapAsXML
String getMetaTitleMapAsXML() -
getLanguageIdToMetaTitleMap
-
getMetaDescription
String getMetaDescription() -
getMetaDescription
-
getMetaDescription
-
getMetaDescriptionMapAsXML
String getMetaDescriptionMapAsXML() -
getLanguageIdToMetaDescriptionMap
-
getMetaKeywords
String getMetaKeywords() -
getMetaKeywords
-
getMetaKeywords
-
getMetaKeywordsMapAsXML
String getMetaKeywordsMapAsXML() -
getLanguageIdToMetaKeywordsMap
-
isApproved
boolean isApproved()Returnstrue
if this cp definition is approved.- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is approved;false
otherwise
-
isDenied
boolean isDenied()Returnstrue
if this cp definition is denied.- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is denied;false
otherwise
-
isDraft
boolean isDraft()Returnstrue
if this cp definition is a draft.- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is a draft;false
otherwise
-
isExpired
boolean isExpired()Returnstrue
if this cp definition is expired.- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is expired;false
otherwise
-
isInactive
boolean isInactive()Returnstrue
if this cp definition is inactive.- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is inactive;false
otherwise
-
isIncomplete
boolean isIncomplete()Returnstrue
if this cp definition is incomplete.- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is incomplete;false
otherwise
-
isPending
boolean isPending()Returnstrue
if this cp definition is pending.- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is pending;false
otherwise
-
isScheduled
boolean isScheduled()Returnstrue
if this cp definition is scheduled.- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is scheduled;false
otherwise
-
cloneWithOriginalValues
CPDefinition cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinition>
-
toXmlString
-