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 TypeMethodDescriptionbooleanReturns the account group filter enabled of this cp definition.booleanReturns the available individually of this cp definition.String[]booleanReturns the channel filter enabled of this cp definition.longReturns the company ID of this cp definition.longReturns the cp definition ID of this cp definition.longReturns the c product ID of this cp definition.longReturns the cp tax category ID of this cp definition.Returns the create date of this cp definition.longReturns 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.longReturns the delivery max subscription cycles of this cp definition.booleanReturns the delivery subscription enabled of this cp definition.intReturns 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.doublegetDepth()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.booleanReturns the free shipping of this cp definition.longReturns the group ID of this cp definition.doubleReturns the height of this cp definition.booleanReturns the ignore sku combinations of this cp definition.Returns the last publish date of this cp definition.longReturns 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.longReturns the mvcc version of this cp definition.getName()longReturns the primary key of this cp definition.Returns the product type name of this cp definition.booleanReturns the published of this cp definition.booleanReturns the shippable of this cp definition.doubleReturns the shipping extra price of this cp definition.booleanReturns the ship separately of this cp definition.getShortDescription(String languageId) getShortDescription(String languageId, boolean useDefault) intReturns the status of this cp definition.longReturns 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.booleanReturns the subscription enabled of this cp definition.intReturns the subscription length of this cp definition.Returns the subscription type of this cp definition.Returns the subscription type settings of this cp definition.booleanReturns the tax exempt of this cp definition.booleanReturns the telco or electronics of this cp definition.longReturns 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.intReturns the version of this cp definition.doubleReturns the weight of this cp definition.doublegetWidth()Returns the width of this cp definition.booleanReturnstrueif this cp definition is account group filter enabled.booleanReturnstrueif this cp definition is approved.booleanReturnstrueif this cp definition is available individually.booleanReturnstrueif this cp definition is channel filter enabled.booleanReturnstrueif this cp definition is delivery subscription enabled.booleanisDenied()Returnstrueif this cp definition is denied.booleanisDraft()Returnstrueif this cp definition is a draft.booleanReturnstrueif this cp definition is expired.booleanReturnstrueif this cp definition is free shipping.booleanReturnstrueif this cp definition is ignore sku combinations.booleanReturnstrueif this cp definition is inactive.booleanReturnstrueif this cp definition is incomplete.booleanReturnstrueif this cp definition is pending.booleanReturnstrueif this cp definition is published.booleanReturnstrueif this cp definition is scheduled.booleanReturnstrueif this cp definition is shippable.booleanReturnstrueif this cp definition is ship separately.booleanReturnstrueif this cp definition is subscription enabled.booleanReturnstrueif this cp definition is tax exempt.booleanReturnstrueif this cp definition is telco or electronics.voidsetAccountGroupFilterEnabled(boolean accountGroupFilterEnabled) Sets whether this cp definition is account group filter enabled.voidsetAvailableIndividually(boolean availableIndividually) Sets whether this cp definition is available individually.voidsetChannelFilterEnabled(boolean channelFilterEnabled) Sets whether this cp definition is channel filter enabled.voidsetCompanyId(long companyId) Sets the company ID of this cp definition.voidsetCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp definition.voidsetCProductId(long CProductId) Sets the c product ID of this cp definition.voidsetCPTaxCategoryId(long CPTaxCategoryId) Sets the cp tax category ID of this cp definition.voidsetCreateDate(Date createDate) Sets the create date of this cp definition.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp definition.voidsetDDMStructureKey(String DDMStructureKey) Sets the ddm structure key of this cp definition.voidsetDefaultLanguageId(String defaultLanguageId) Sets the default language ID of this cp definition.voidsetDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this cp definition.voidsetDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled) Sets whether this cp definition is delivery subscription enabled.voidsetDeliverySubscriptionLength(int deliverySubscriptionLength) Sets the delivery subscription length of this cp definition.voidsetDeliverySubscriptionType(String deliverySubscriptionType) Sets the delivery subscription type of this cp definition.voidsetDeliverySubscriptionTypeSettings(String deliverySubscriptionTypeSettings) Sets the delivery subscription type settings of this cp definition.voidsetDepth(double depth) Sets the depth of this cp definition.voidsetDisplayDate(Date displayDate) Sets the display date of this cp definition.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this cp definition.voidsetFreeShipping(boolean freeShipping) Sets whether this cp definition is free shipping.voidsetGroupId(long groupId) Sets the group ID of this cp definition.voidsetHeight(double height) Sets the height of this cp definition.voidsetIgnoreSKUCombinations(boolean ignoreSKUCombinations) Sets whether this cp definition is ignore sku combinations.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this cp definition.voidsetMaxSubscriptionCycles(long maxSubscriptionCycles) Sets the max subscription cycles of this cp definition.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this cp definition.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition.voidsetPrimaryKey(long primaryKey) Sets the primary key of this cp definition.voidsetProductTypeName(String productTypeName) Sets the product type name of this cp definition.voidsetPublished(boolean published) Sets whether this cp definition is published.voidsetShippable(boolean shippable) Sets whether this cp definition is shippable.voidsetShippingExtraPrice(double shippingExtraPrice) Sets the shipping extra price of this cp definition.voidsetShipSeparately(boolean shipSeparately) Sets whether this cp definition is ship separately.voidsetStatus(int status) Sets the status of this cp definition.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this cp definition.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this cp definition.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this cp definition.voidsetStatusDate(Date statusDate) Sets the status date of this cp definition.voidsetSubscriptionEnabled(boolean subscriptionEnabled) Sets whether this cp definition is subscription enabled.voidsetSubscriptionLength(int subscriptionLength) Sets the subscription length of this cp definition.voidsetSubscriptionType(String subscriptionType) Sets the subscription type of this cp definition.voidsetSubscriptionTypeSettings(String subscriptionTypeSettings) Sets the subscription type settings of this cp definition.voidsetTaxExempt(boolean taxExempt) Sets whether this cp definition is tax exempt.voidsetTelcoOrElectronics(boolean telcoOrElectronics) Sets whether this cp definition is telco or electronics.voidsetUserId(long userId) Sets the user ID of this cp definition.voidsetUserName(String userName) Sets the user name of this cp definition.voidsetUserUuid(String userUuid) Sets the user uuid of this cp definition.voidSets the uuid of this cp definition.voidsetVersion(int version) Sets the version of this cp definition.voidsetWeight(double weight) Sets the weight of this cp definition.voidsetWidth(double width) Sets the width of this cp definition.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods 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:
getPrimaryKeyin 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:
setPrimaryKeyin 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:
getMvccVersionin 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:
setMvccVersionin 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:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this cp definition
-
setUuid
Sets the uuid of this cp definition.- Specified by:
setUuidin 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:
getGroupIdin 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:
setGroupIdin 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:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin 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:
getUserIdin 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:
setUserIdin 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:
getUserUuidin 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:
setUserUuidin 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:
getUserNamein 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:
setUserNamein 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:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein 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:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein 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:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein 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:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein 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()Returnstrueif this cp definition is available individually.- Returns:
trueif this cp definition is available individually;falseotherwise
-
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()Returnstrueif this cp definition is ignore sku combinations.- Returns:
trueif this cp definition is ignore sku combinations;falseotherwise
-
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()Returnstrueif this cp definition is shippable.- Returns:
trueif this cp definition is shippable;falseotherwise
-
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()Returnstrueif this cp definition is free shipping.- Returns:
trueif this cp definition is free shipping;falseotherwise
-
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()Returnstrueif this cp definition is ship separately.- Returns:
trueif this cp definition is ship separately;falseotherwise
-
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()Returnstrueif this cp definition is tax exempt.- Returns:
trueif this cp definition is tax exempt;falseotherwise
-
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()Returnstrueif this cp definition is telco or electronics.- Returns:
trueif this cp definition is telco or electronics;falseotherwise
-
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()Returnstrueif this cp definition is published.- Returns:
trueif this cp definition is published;falseotherwise
-
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:
getLastPublishDatein 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:
setLastPublishDatein 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()Returnstrueif this cp definition is subscription enabled.- Returns:
trueif this cp definition is subscription enabled;falseotherwise
-
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()Returnstrueif this cp definition is delivery subscription enabled.- Returns:
trueif this cp definition is delivery subscription enabled;falseotherwise
-
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()Returnstrueif this cp definition is account group filter enabled.- Returns:
trueif this cp definition is account group filter enabled;falseotherwise
-
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()Returnstrueif this cp definition is channel filter enabled.- Returns:
trueif this cp definition is channel filter enabled;falseotherwise
-
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:
getStatusin 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:
setStatusin 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:
getStatusByUserIdin 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:
setStatusByUserIdin 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:
getStatusByUserUuidin 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:
setStatusByUserUuidin 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:
getStatusByUserNamein 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:
setStatusByUserNamein 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:
getStatusDatein 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:
setStatusDatein 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()Returnstrueif this cp definition is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this cp definition is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this cp definition is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this cp definition is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this cp definition is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this cp definition is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this cp definition is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this cp definition is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp definition is scheduled;falseotherwise
-
cloneWithOriginalValues
CPDefinition cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinition>
-
toXmlString
-