Class CPDefinitionWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinition>
com.liferay.commerce.product.model.CPDefinitionWrapper
- All Implemented Interfaces:
CPDefinition
,CPDefinitionModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CPDefinition>
,com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinition>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.ModelWrapper<CPDefinition>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.WorkflowedModel
,Serializable
,Cloneable
,Comparable<CPDefinition>
public class CPDefinitionWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinition>
implements CPDefinition, com.liferay.portal.kernel.model.ModelWrapper<CPDefinition>
This class is a wrapper for CPDefinition
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.product.model.CPDefinition
CP_DEFINITION_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
fetchCPConfigurationEntry
(long cpConfigurationListId) boolean
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.getCPAttachmentFileEntries
(int type, int status) 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.getDefaultImageThumbnailSrc
(long commerceAccountId) 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.com.liferay.portal.kernel.util.UnicodeProperties
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) com.liferay.exportimport.kernel.lar.StagedModelType
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.com.liferay.portal.kernel.util.UnicodeProperties
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.int
hashCode()
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.boolean
isVisible
(long cpConfigurationListId) void
persist()
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
setDeliverySubscriptionTypeSettingsUnicodeProperties
(com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties) void
setDepth
(double depth) Sets the depth of this cp definition.void
setDescriptionMap
(Map<Locale, String> descriptionMap) 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
setModelAttributes
(Map<String, Object> attributes) 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
setNameMap
(Map<Locale, String> nameMap) 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
setShortDescriptionMap
(Map<Locale, String> shortDescriptionMap) 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
setSubscriptionTypeSettingsUnicodeProperties
(com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties) 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
setUrlTitleMap
(Map<Locale, String> urlTitleMap) 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.protected CPDefinitionWrapper
wrap
(CPDefinition cpDefinition) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
compareTo, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.ModelWrapper
getWrappedModel
-
Constructor Details
-
CPDefinitionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinition>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinition>
-
clone
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinition>
- Specified by:
clone
in interfaceCPDefinition
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.StagedModel
- Overrides:
clone
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinition>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinition>
- Specified by:
cloneWithOriginalValues
in interfaceCPDefinitionModel
-
equals
- Specified by:
equals
in interfaceCPDefinition
- Overrides:
equals
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinition>
-
fetchCPConfigurationEntry
- Specified by:
fetchCPConfigurationEntry
in interfaceCPDefinition
-
fetchMasterCPConfigurationEntry
public CPConfigurationEntry fetchMasterCPConfigurationEntry() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
fetchMasterCPConfigurationEntry
in interfaceCPDefinition
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountGroupFilterEnabled
public boolean getAccountGroupFilterEnabled()Returns the account group filter enabled of this cp definition.- Specified by:
getAccountGroupFilterEnabled
in interfaceCPDefinitionModel
- Returns:
- the account group filter enabled of this cp definition
-
getAvailableIndividually
public boolean getAvailableIndividually()Returns the available individually of this cp definition.- Specified by:
getAvailableIndividually
in interfaceCPDefinitionModel
- Returns:
- the available individually of this cp definition
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCPDefinitionModel
-
getChannelFilterEnabled
public boolean getChannelFilterEnabled()Returns the channel filter enabled of this cp definition.- Specified by:
getChannelFilterEnabled
in interfaceCPDefinitionModel
- Returns:
- the channel filter enabled of this cp definition
-
getCommerceCatalog
- Specified by:
getCommerceCatalog
in interfaceCPDefinition
-
getCompanyId
public long getCompanyId()Returns the company ID of this cp definition.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCPDefinitionModel
- 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
-
getCPAttachmentFileEntries
public List<CPAttachmentFileEntry> getCPAttachmentFileEntries(int type, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPAttachmentFileEntries
in interfaceCPDefinition
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionId
public long getCPDefinitionId()Returns the cp definition ID of this cp definition.- Specified by:
getCPDefinitionId
in interfaceCPDefinitionModel
- Returns:
- the cp definition ID of this cp definition
-
getCPDefinitionOptionRels
- Specified by:
getCPDefinitionOptionRels
in interfaceCPDefinition
-
getCPDefinitionSpecificationOptionValues
- Specified by:
getCPDefinitionSpecificationOptionValues
in interfaceCPDefinition
-
getCPInstances
- Specified by:
getCPInstances
in interfaceCPDefinition
-
getCProduct
- Specified by:
getCProduct
in interfaceCPDefinition
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCProductId
public long getCProductId()Returns the c product ID of this cp definition.- Specified by:
getCProductId
in interfaceCPDefinitionModel
- Returns:
- the c product ID of this cp definition
-
getCPTaxCategory
- Specified by:
getCPTaxCategory
in interfaceCPDefinition
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPTaxCategoryId
public long getCPTaxCategoryId()Returns the cp tax category ID of this cp definition.- Specified by:
getCPTaxCategoryId
in interfaceCPDefinitionModel
- Returns:
- the cp tax category ID of this cp definition
-
getCreateDate
Returns the create date of this cp definition.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCPDefinitionModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this cp definition
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this cp definition.- Specified by:
getCtCollectionId
in interfaceCPDefinitionModel
- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinition>
- Returns:
- the ct collection ID of this cp definition
-
getDDMStructureKey
Returns the ddm structure key of this cp definition.- Specified by:
getDDMStructureKey
in interfaceCPDefinitionModel
- Returns:
- the ddm structure key of this cp definition
-
getDefaultImageThumbnailSrc
- Specified by:
getDefaultImageThumbnailSrc
in interfaceCPDefinition
- Throws:
Exception
-
getDefaultLanguageId
Returns the default language ID of this cp definition.- Specified by:
getDefaultLanguageId
in interfaceCPDefinitionModel
- Returns:
- the default language ID of this cp definition
-
getDeliveryMaxSubscriptionCycles
public long getDeliveryMaxSubscriptionCycles()Returns the delivery max subscription cycles of this cp definition.- Specified by:
getDeliveryMaxSubscriptionCycles
in interfaceCPDefinitionModel
- Returns:
- the delivery max subscription cycles of this cp definition
-
getDeliverySubscriptionEnabled
public boolean getDeliverySubscriptionEnabled()Returns the delivery subscription enabled of this cp definition.- Specified by:
getDeliverySubscriptionEnabled
in interfaceCPDefinitionModel
- Returns:
- the delivery subscription enabled of this cp definition
-
getDeliverySubscriptionLength
public int getDeliverySubscriptionLength()Returns the delivery subscription length of this cp definition.- Specified by:
getDeliverySubscriptionLength
in interfaceCPDefinitionModel
- Returns:
- the delivery subscription length of this cp definition
-
getDeliverySubscriptionType
Returns the delivery subscription type of this cp definition.- Specified by:
getDeliverySubscriptionType
in interfaceCPDefinitionModel
- Returns:
- the delivery subscription type of this cp definition
-
getDeliverySubscriptionTypeSettings
Returns the delivery subscription type settings of this cp definition.- Specified by:
getDeliverySubscriptionTypeSettings
in interfaceCPDefinitionModel
- Returns:
- the delivery subscription type settings of this cp definition
-
getDeliverySubscriptionTypeSettingsUnicodeProperties
public com.liferay.portal.kernel.util.UnicodeProperties getDeliverySubscriptionTypeSettingsUnicodeProperties()- Specified by:
getDeliverySubscriptionTypeSettingsUnicodeProperties
in interfaceCPDefinition
-
getDepth
public double getDepth()Returns the depth of this cp definition.- Specified by:
getDepth
in interfaceCPDefinitionModel
- Returns:
- the depth of this cp definition
-
getDescription
- Specified by:
getDescription
in interfaceCPDefinitionModel
-
getDescription
- Specified by:
getDescription
in interfaceCPDefinitionModel
-
getDescription
- Specified by:
getDescription
in interfaceCPDefinitionModel
-
getDescriptionMap
- Specified by:
getDescriptionMap
in interfaceCPDefinition
-
getDescriptionMapAsXML
- Specified by:
getDescriptionMapAsXML
in interfaceCPDefinitionModel
-
getDisplayDate
Returns the display date of this cp definition.- Specified by:
getDisplayDate
in interfaceCPDefinitionModel
- Returns:
- the display date of this cp definition
-
getExpirationDate
Returns the expiration date of this cp definition.- Specified by:
getExpirationDate
in interfaceCPDefinitionModel
- Returns:
- the expiration date of this cp definition
-
getFreeShipping
public boolean getFreeShipping()Returns the free shipping of this cp definition.- Specified by:
getFreeShipping
in interfaceCPDefinitionModel
- Returns:
- the free shipping of this cp definition
-
getGroupId
public long getGroupId()Returns the group ID of this cp definition.- Specified by:
getGroupId
in interfaceCPDefinitionModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this cp definition
-
getHeight
public double getHeight()Returns the height of this cp definition.- Specified by:
getHeight
in interfaceCPDefinitionModel
- Returns:
- the height of this cp definition
-
getIgnoreSKUCombinations
public boolean getIgnoreSKUCombinations()Returns the ignore sku combinations of this cp definition.- Specified by:
getIgnoreSKUCombinations
in interfaceCPDefinitionModel
- Returns:
- the ignore sku combinations of this cp definition
-
getLanguageIdToDescriptionMap
- Specified by:
getLanguageIdToDescriptionMap
in interfaceCPDefinitionModel
-
getLanguageIdToMetaDescriptionMap
- Specified by:
getLanguageIdToMetaDescriptionMap
in interfaceCPDefinitionModel
-
getLanguageIdToMetaKeywordsMap
- Specified by:
getLanguageIdToMetaKeywordsMap
in interfaceCPDefinitionModel
-
getLanguageIdToMetaTitleMap
- Specified by:
getLanguageIdToMetaTitleMap
in interfaceCPDefinitionModel
-
getLanguageIdToNameMap
- Specified by:
getLanguageIdToNameMap
in interfaceCPDefinitionModel
-
getLanguageIdToShortDescriptionMap
- Specified by:
getLanguageIdToShortDescriptionMap
in interfaceCPDefinitionModel
-
getLastPublishDate
Returns the last publish date of this cp definition.- Specified by:
getLastPublishDate
in interfaceCPDefinitionModel
- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this cp definition
-
getMasterCPConfigurationList
public CPConfigurationList getMasterCPConfigurationList() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getMasterCPConfigurationList
in interfaceCPDefinition
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMaxSubscriptionCycles
public long getMaxSubscriptionCycles()Returns the max subscription cycles of this cp definition.- Specified by:
getMaxSubscriptionCycles
in interfaceCPDefinitionModel
- Returns:
- the max subscription cycles of this cp definition
-
getMetaDescription
- Specified by:
getMetaDescription
in interfaceCPDefinitionModel
-
getMetaDescription
- Specified by:
getMetaDescription
in interfaceCPDefinitionModel
-
getMetaDescription
- Specified by:
getMetaDescription
in interfaceCPDefinitionModel
-
getMetaDescriptionMap
- Specified by:
getMetaDescriptionMap
in interfaceCPDefinition
-
getMetaDescriptionMapAsXML
- Specified by:
getMetaDescriptionMapAsXML
in interfaceCPDefinitionModel
-
getMetaKeywords
- Specified by:
getMetaKeywords
in interfaceCPDefinitionModel
-
getMetaKeywords
- Specified by:
getMetaKeywords
in interfaceCPDefinitionModel
-
getMetaKeywords
- Specified by:
getMetaKeywords
in interfaceCPDefinitionModel
-
getMetaKeywordsMap
- Specified by:
getMetaKeywordsMap
in interfaceCPDefinition
-
getMetaKeywordsMapAsXML
- Specified by:
getMetaKeywordsMapAsXML
in interfaceCPDefinitionModel
-
getMetaTitle
- Specified by:
getMetaTitle
in interfaceCPDefinitionModel
-
getMetaTitle
- Specified by:
getMetaTitle
in interfaceCPDefinitionModel
-
getMetaTitle
- Specified by:
getMetaTitle
in interfaceCPDefinitionModel
-
getMetaTitleMap
- Specified by:
getMetaTitleMap
in interfaceCPDefinition
-
getMetaTitleMapAsXML
- Specified by:
getMetaTitleMapAsXML
in interfaceCPDefinitionModel
-
getModifiedDate
Returns the modified date of this cp definition.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCPDefinitionModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this cp definition
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this cp definition.- Specified by:
getMvccVersion
in interfaceCPDefinitionModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this cp definition
-
getName
- Specified by:
getName
in interfaceCPDefinitionModel
-
getName
- Specified by:
getName
in interfaceCPDefinitionModel
-
getName
- Specified by:
getName
in interfaceCPDefinitionModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceCPDefinition
-
getNameMap
- Specified by:
getNameMap
in interfaceCPDefinition
-
getNameMapAsXML
- Specified by:
getNameMapAsXML
in interfaceCPDefinitionModel
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this cp definition.- Specified by:
getPrimaryKey
in interfaceCPDefinitionModel
- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinition>
- Returns:
- the primary key of this cp definition
-
getProductTypeName
Returns the product type name of this cp definition.- Specified by:
getProductTypeName
in interfaceCPDefinitionModel
- Returns:
- the product type name of this cp definition
-
getPublished
public boolean getPublished()Returns the published of this cp definition.- Specified by:
getPublished
in interfaceCPDefinitionModel
- Returns:
- the published of this cp definition
-
getShippable
public boolean getShippable()Returns the shippable of this cp definition.- Specified by:
getShippable
in interfaceCPDefinitionModel
- Returns:
- the shippable of this cp definition
-
getShippingExtraPrice
public double getShippingExtraPrice()Returns the shipping extra price of this cp definition.- Specified by:
getShippingExtraPrice
in interfaceCPDefinitionModel
- Returns:
- the shipping extra price of this cp definition
-
getShipSeparately
public boolean getShipSeparately()Returns the ship separately of this cp definition.- Specified by:
getShipSeparately
in interfaceCPDefinitionModel
- Returns:
- the ship separately of this cp definition
-
getShortDescription
- Specified by:
getShortDescription
in interfaceCPDefinitionModel
-
getShortDescription
- Specified by:
getShortDescription
in interfaceCPDefinitionModel
-
getShortDescription
- Specified by:
getShortDescription
in interfaceCPDefinitionModel
-
getShortDescriptionMap
- Specified by:
getShortDescriptionMap
in interfaceCPDefinition
-
getShortDescriptionMapAsXML
- Specified by:
getShortDescriptionMapAsXML
in interfaceCPDefinitionModel
-
getStatus
public int getStatus()Returns the status of this cp definition.- Specified by:
getStatus
in interfaceCPDefinitionModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status of this cp definition
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this cp definition.- Specified by:
getStatusByUserId
in interfaceCPDefinitionModel
- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this cp definition
-
getStatusByUserName
Returns the status by user name of this cp definition.- Specified by:
getStatusByUserName
in interfaceCPDefinitionModel
- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this cp definition
-
getStatusByUserUuid
Returns the status by user uuid of this cp definition.- Specified by:
getStatusByUserUuid
in interfaceCPDefinitionModel
- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this cp definition
-
getStatusDate
Returns the status date of this cp definition.- Specified by:
getStatusDate
in interfaceCPDefinitionModel
- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this cp definition
-
getSubscriptionEnabled
public boolean getSubscriptionEnabled()Returns the subscription enabled of this cp definition.- Specified by:
getSubscriptionEnabled
in interfaceCPDefinitionModel
- Returns:
- the subscription enabled of this cp definition
-
getSubscriptionLength
public int getSubscriptionLength()Returns the subscription length of this cp definition.- Specified by:
getSubscriptionLength
in interfaceCPDefinitionModel
- Returns:
- the subscription length of this cp definition
-
getSubscriptionType
Returns the subscription type of this cp definition.- Specified by:
getSubscriptionType
in interfaceCPDefinitionModel
- Returns:
- the subscription type of this cp definition
-
getSubscriptionTypeSettings
Returns the subscription type settings of this cp definition.- Specified by:
getSubscriptionTypeSettings
in interfaceCPDefinitionModel
- Returns:
- the subscription type settings of this cp definition
-
getSubscriptionTypeSettingsUnicodeProperties
public com.liferay.portal.kernel.util.UnicodeProperties getSubscriptionTypeSettingsUnicodeProperties()- Specified by:
getSubscriptionTypeSettingsUnicodeProperties
in interfaceCPDefinition
-
getTaxExempt
public boolean getTaxExempt()Returns the tax exempt of this cp definition.- Specified by:
getTaxExempt
in interfaceCPDefinitionModel
- Returns:
- the tax exempt of this cp definition
-
getTelcoOrElectronics
public boolean getTelcoOrElectronics()Returns the telco or electronics of this cp definition.- Specified by:
getTelcoOrElectronics
in interfaceCPDefinitionModel
- Returns:
- the telco or electronics of this cp definition
-
getURL
- Specified by:
getURL
in interfaceCPDefinition
-
getUrlTitleMap
- Specified by:
getUrlTitleMap
in interfaceCPDefinition
-
getUserId
public long getUserId()Returns the user ID of this cp definition.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCPDefinitionModel
- Returns:
- the user ID of this cp definition
-
getUserName
Returns the user name of this cp definition.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCPDefinitionModel
- Returns:
- the user name of this cp definition
-
getUserUuid
Returns the user uuid of this cp definition.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCPDefinitionModel
- Returns:
- the user uuid of this cp definition
-
getUuid
Returns the uuid of this cp definition.- Specified by:
getUuid
in interfaceCPDefinitionModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this cp definition
-
getVersion
public int getVersion()Returns the version of this cp definition.- Specified by:
getVersion
in interfaceCPDefinitionModel
- Returns:
- the version of this cp definition
-
getWeight
public double getWeight()Returns the weight of this cp definition.- Specified by:
getWeight
in interfaceCPDefinitionModel
- Returns:
- the weight of this cp definition
-
getWidth
public double getWidth()Returns the width of this cp definition.- Specified by:
getWidth
in interfaceCPDefinitionModel
- Returns:
- the width of this cp definition
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCPDefinition
- Overrides:
hashCode
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinition>
-
isAccountGroupFilterEnabled
public boolean isAccountGroupFilterEnabled()Returnstrue
if this cp definition is account group filter enabled.- Specified by:
isAccountGroupFilterEnabled
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is account group filter enabled;false
otherwise
-
isApproved
public boolean isApproved()Returnstrue
if this cp definition is approved.- Specified by:
isApproved
in interfaceCPDefinitionModel
- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is approved;false
otherwise
-
isAvailableIndividually
public boolean isAvailableIndividually()Returnstrue
if this cp definition is available individually.- Specified by:
isAvailableIndividually
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is available individually;false
otherwise
-
isChannelFilterEnabled
public boolean isChannelFilterEnabled()Returnstrue
if this cp definition is channel filter enabled.- Specified by:
isChannelFilterEnabled
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is channel filter enabled;false
otherwise
-
isDeliverySubscriptionEnabled
public boolean isDeliverySubscriptionEnabled()Returnstrue
if this cp definition is delivery subscription enabled.- Specified by:
isDeliverySubscriptionEnabled
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is delivery subscription enabled;false
otherwise
-
isDenied
public boolean isDenied()Returnstrue
if this cp definition is denied.- Specified by:
isDenied
in interfaceCPDefinitionModel
- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is denied;false
otherwise
-
isDraft
public boolean isDraft()Returnstrue
if this cp definition is a draft.- Specified by:
isDraft
in interfaceCPDefinitionModel
- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is a draft;false
otherwise
-
isExpired
public boolean isExpired()Returnstrue
if this cp definition is expired.- Specified by:
isExpired
in interfaceCPDefinitionModel
- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is expired;false
otherwise
-
isFreeShipping
public boolean isFreeShipping()Returnstrue
if this cp definition is free shipping.- Specified by:
isFreeShipping
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is free shipping;false
otherwise
-
isIgnoreSKUCombinations
public boolean isIgnoreSKUCombinations()Returnstrue
if this cp definition is ignore sku combinations.- Specified by:
isIgnoreSKUCombinations
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is ignore sku combinations;false
otherwise
-
isInactive
public boolean isInactive()Returnstrue
if this cp definition is inactive.- Specified by:
isInactive
in interfaceCPDefinitionModel
- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is inactive;false
otherwise
-
isIncomplete
public boolean isIncomplete()Returnstrue
if this cp definition is incomplete.- Specified by:
isIncomplete
in interfaceCPDefinitionModel
- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is incomplete;false
otherwise
-
isPending
public boolean isPending()Returnstrue
if this cp definition is pending.- Specified by:
isPending
in interfaceCPDefinitionModel
- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is pending;false
otherwise
-
isPublished
public boolean isPublished()Returnstrue
if this cp definition is published.- Specified by:
isPublished
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is published;false
otherwise
-
isScheduled
public boolean isScheduled()Returnstrue
if this cp definition is scheduled.- Specified by:
isScheduled
in interfaceCPDefinitionModel
- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp definition is scheduled;false
otherwise
-
isShippable
public boolean isShippable()Returnstrue
if this cp definition is shippable.- Specified by:
isShippable
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is shippable;false
otherwise
-
isShipSeparately
public boolean isShipSeparately()Returnstrue
if this cp definition is ship separately.- Specified by:
isShipSeparately
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is ship separately;false
otherwise
-
isSubscriptionEnabled
public boolean isSubscriptionEnabled()Returnstrue
if this cp definition is subscription enabled.- Specified by:
isSubscriptionEnabled
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is subscription enabled;false
otherwise
-
isTaxExempt
public boolean isTaxExempt()Returnstrue
if this cp definition is tax exempt.- Specified by:
isTaxExempt
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is tax exempt;false
otherwise
-
isTelcoOrElectronics
public boolean isTelcoOrElectronics()Returnstrue
if this cp definition is telco or electronics.- Specified by:
isTelcoOrElectronics
in interfaceCPDefinitionModel
- Returns:
true
if this cp definition is telco or electronics;false
otherwise
-
isVisible
public boolean isVisible(long cpConfigurationListId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
isVisible
in interfaceCPDefinition
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAccountGroupFilterEnabled
public void setAccountGroupFilterEnabled(boolean accountGroupFilterEnabled) Sets whether this cp definition is account group filter enabled.- Specified by:
setAccountGroupFilterEnabled
in interfaceCPDefinitionModel
- Parameters:
accountGroupFilterEnabled
- the account group filter enabled of this cp definition
-
setAvailableIndividually
public void setAvailableIndividually(boolean availableIndividually) Sets whether this cp definition is available individually.- Specified by:
setAvailableIndividually
in interfaceCPDefinitionModel
- Parameters:
availableIndividually
- the available individually of this cp definition
-
setChannelFilterEnabled
public void setChannelFilterEnabled(boolean channelFilterEnabled) Sets whether this cp definition is channel filter enabled.- Specified by:
setChannelFilterEnabled
in interfaceCPDefinitionModel
- Parameters:
channelFilterEnabled
- the channel filter enabled of this cp definition
-
setCompanyId
public 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 interfaceCPDefinitionModel
- 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
-
setCPDefinitionId
public void setCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp definition.- Specified by:
setCPDefinitionId
in interfaceCPDefinitionModel
- Parameters:
CPDefinitionId
- the cp definition ID of this cp definition
-
setCProductId
public void setCProductId(long CProductId) Sets the c product ID of this cp definition.- Specified by:
setCProductId
in interfaceCPDefinitionModel
- Parameters:
CProductId
- the c product ID of this cp definition
-
setCPTaxCategoryId
public void setCPTaxCategoryId(long CPTaxCategoryId) Sets the cp tax category ID of this cp definition.- Specified by:
setCPTaxCategoryId
in interfaceCPDefinitionModel
- Parameters:
CPTaxCategoryId
- the cp tax category ID 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 interfaceCPDefinitionModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this cp definition
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp definition.- Specified by:
setCtCollectionId
in interfaceCPDefinitionModel
- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinition>
- Parameters:
ctCollectionId
- the ct collection ID of this cp definition
-
setDDMStructureKey
Sets the ddm structure key of this cp definition.- Specified by:
setDDMStructureKey
in interfaceCPDefinitionModel
- Parameters:
DDMStructureKey
- the ddm structure key of this cp definition
-
setDefaultLanguageId
Sets the default language ID of this cp definition.- Specified by:
setDefaultLanguageId
in interfaceCPDefinitionModel
- Parameters:
defaultLanguageId
- the default language ID of this cp definition
-
setDeliveryMaxSubscriptionCycles
public void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this cp definition.- Specified by:
setDeliveryMaxSubscriptionCycles
in interfaceCPDefinitionModel
- Parameters:
deliveryMaxSubscriptionCycles
- the delivery max subscription cycles of this cp definition
-
setDeliverySubscriptionEnabled
public void setDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled) Sets whether this cp definition is delivery subscription enabled.- Specified by:
setDeliverySubscriptionEnabled
in interfaceCPDefinitionModel
- Parameters:
deliverySubscriptionEnabled
- the delivery subscription enabled of this cp definition
-
setDeliverySubscriptionLength
public void setDeliverySubscriptionLength(int deliverySubscriptionLength) Sets the delivery subscription length of this cp definition.- Specified by:
setDeliverySubscriptionLength
in interfaceCPDefinitionModel
- Parameters:
deliverySubscriptionLength
- the delivery subscription length of this cp definition
-
setDeliverySubscriptionType
Sets the delivery subscription type of this cp definition.- Specified by:
setDeliverySubscriptionType
in interfaceCPDefinitionModel
- Parameters:
deliverySubscriptionType
- the delivery subscription type of this cp definition
-
setDeliverySubscriptionTypeSettings
Sets the delivery subscription type settings of this cp definition.- Specified by:
setDeliverySubscriptionTypeSettings
in interfaceCPDefinitionModel
- Parameters:
deliverySubscriptionTypeSettings
- the delivery subscription type settings of this cp definition
-
setDeliverySubscriptionTypeSettingsUnicodeProperties
public void setDeliverySubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties) - Specified by:
setDeliverySubscriptionTypeSettingsUnicodeProperties
in interfaceCPDefinition
-
setDepth
public void setDepth(double depth) Sets the depth of this cp definition.- Specified by:
setDepth
in interfaceCPDefinitionModel
- Parameters:
depth
- the depth of this cp definition
-
setDescriptionMap
- Specified by:
setDescriptionMap
in interfaceCPDefinition
-
setDisplayDate
Sets the display date of this cp definition.- Specified by:
setDisplayDate
in interfaceCPDefinitionModel
- Parameters:
displayDate
- the display date of this cp definition
-
setExpirationDate
Sets the expiration date of this cp definition.- Specified by:
setExpirationDate
in interfaceCPDefinitionModel
- Parameters:
expirationDate
- the expiration date of this cp definition
-
setFreeShipping
public void setFreeShipping(boolean freeShipping) Sets whether this cp definition is free shipping.- Specified by:
setFreeShipping
in interfaceCPDefinitionModel
- Parameters:
freeShipping
- the free shipping of this cp definition
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this cp definition.- Specified by:
setGroupId
in interfaceCPDefinitionModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this cp definition
-
setHeight
public void setHeight(double height) Sets the height of this cp definition.- Specified by:
setHeight
in interfaceCPDefinitionModel
- Parameters:
height
- the height of this cp definition
-
setIgnoreSKUCombinations
public void setIgnoreSKUCombinations(boolean ignoreSKUCombinations) Sets whether this cp definition is ignore sku combinations.- Specified by:
setIgnoreSKUCombinations
in interfaceCPDefinitionModel
- Parameters:
ignoreSKUCombinations
- the ignore sku combinations of this cp definition
-
setLastPublishDate
Sets the last publish date of this cp definition.- Specified by:
setLastPublishDate
in interfaceCPDefinitionModel
- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this cp definition
-
setMaxSubscriptionCycles
public void setMaxSubscriptionCycles(long maxSubscriptionCycles) Sets the max subscription cycles of this cp definition.- Specified by:
setMaxSubscriptionCycles
in interfaceCPDefinitionModel
- Parameters:
maxSubscriptionCycles
- the max subscription cycles 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 interfaceCPDefinitionModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this cp definition
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition.- Specified by:
setMvccVersion
in interfaceCPDefinitionModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this cp definition
-
setNameMap
- Specified by:
setNameMap
in interfaceCPDefinition
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this cp definition.- Specified by:
setPrimaryKey
in interfaceCPDefinitionModel
- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinition>
- Parameters:
primaryKey
- the primary key of this cp definition
-
setProductTypeName
Sets the product type name of this cp definition.- Specified by:
setProductTypeName
in interfaceCPDefinitionModel
- Parameters:
productTypeName
- the product type name of this cp definition
-
setPublished
public void setPublished(boolean published) Sets whether this cp definition is published.- Specified by:
setPublished
in interfaceCPDefinitionModel
- Parameters:
published
- the published of this cp definition
-
setShippable
public void setShippable(boolean shippable) Sets whether this cp definition is shippable.- Specified by:
setShippable
in interfaceCPDefinitionModel
- Parameters:
shippable
- the shippable of this cp definition
-
setShippingExtraPrice
public void setShippingExtraPrice(double shippingExtraPrice) Sets the shipping extra price of this cp definition.- Specified by:
setShippingExtraPrice
in interfaceCPDefinitionModel
- Parameters:
shippingExtraPrice
- the shipping extra price of this cp definition
-
setShipSeparately
public void setShipSeparately(boolean shipSeparately) Sets whether this cp definition is ship separately.- Specified by:
setShipSeparately
in interfaceCPDefinitionModel
- Parameters:
shipSeparately
- the ship separately of this cp definition
-
setShortDescriptionMap
- Specified by:
setShortDescriptionMap
in interfaceCPDefinition
-
setStatus
public void setStatus(int status) Sets the status of this cp definition.- Specified by:
setStatus
in interfaceCPDefinitionModel
- Specified by:
setStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
status
- the status of this cp definition
-
setStatusByUserId
public void setStatusByUserId(long statusByUserId) Sets the status by user ID of this cp definition.- Specified by:
setStatusByUserId
in interfaceCPDefinitionModel
- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this cp definition
-
setStatusByUserName
Sets the status by user name of this cp definition.- Specified by:
setStatusByUserName
in interfaceCPDefinitionModel
- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this cp definition
-
setStatusByUserUuid
Sets the status by user uuid of this cp definition.- Specified by:
setStatusByUserUuid
in interfaceCPDefinitionModel
- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this cp definition
-
setStatusDate
Sets the status date of this cp definition.- Specified by:
setStatusDate
in interfaceCPDefinitionModel
- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this cp definition
-
setSubscriptionEnabled
public void setSubscriptionEnabled(boolean subscriptionEnabled) Sets whether this cp definition is subscription enabled.- Specified by:
setSubscriptionEnabled
in interfaceCPDefinitionModel
- Parameters:
subscriptionEnabled
- the subscription enabled of this cp definition
-
setSubscriptionLength
public void setSubscriptionLength(int subscriptionLength) Sets the subscription length of this cp definition.- Specified by:
setSubscriptionLength
in interfaceCPDefinitionModel
- Parameters:
subscriptionLength
- the subscription length of this cp definition
-
setSubscriptionType
Sets the subscription type of this cp definition.- Specified by:
setSubscriptionType
in interfaceCPDefinitionModel
- Parameters:
subscriptionType
- the subscription type of this cp definition
-
setSubscriptionTypeSettings
Sets the subscription type settings of this cp definition.- Specified by:
setSubscriptionTypeSettings
in interfaceCPDefinitionModel
- Parameters:
subscriptionTypeSettings
- the subscription type settings of this cp definition
-
setSubscriptionTypeSettingsUnicodeProperties
public void setSubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties) - Specified by:
setSubscriptionTypeSettingsUnicodeProperties
in interfaceCPDefinition
-
setTaxExempt
public void setTaxExempt(boolean taxExempt) Sets whether this cp definition is tax exempt.- Specified by:
setTaxExempt
in interfaceCPDefinitionModel
- Parameters:
taxExempt
- the tax exempt of this cp definition
-
setTelcoOrElectronics
public void setTelcoOrElectronics(boolean telcoOrElectronics) Sets whether this cp definition is telco or electronics.- Specified by:
setTelcoOrElectronics
in interfaceCPDefinitionModel
- Parameters:
telcoOrElectronics
- the telco or electronics of this cp definition
-
setUrlTitleMap
- Specified by:
setUrlTitleMap
in interfaceCPDefinition
-
setUserId
public void setUserId(long userId) Sets the user ID of this cp definition.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCPDefinitionModel
- Parameters:
userId
- the user ID of this cp definition
-
setUserName
Sets the user name of this cp definition.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCPDefinitionModel
- Parameters:
userName
- the user name of this cp definition
-
setUserUuid
Sets the user uuid of this cp definition.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCPDefinitionModel
- Parameters:
userUuid
- the user uuid of this cp definition
-
setUuid
Sets the uuid of this cp definition.- Specified by:
setUuid
in interfaceCPDefinitionModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this cp definition
-
setVersion
public void setVersion(int version) Sets the version of this cp definition.- Specified by:
setVersion
in interfaceCPDefinitionModel
- Parameters:
version
- the version of this cp definition
-
setWeight
public void setWeight(double weight) Sets the weight of this cp definition.- Specified by:
setWeight
in interfaceCPDefinitionModel
- Parameters:
weight
- the weight of this cp definition
-
setWidth
public void setWidth(double width) Sets the width of this cp definition.- Specified by:
setWidth
in interfaceCPDefinitionModel
- Parameters:
width
- the width of this cp definition
-
toXmlString
- Specified by:
toXmlString
in interfaceCPDefinitionModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinition>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinition>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinition>
-