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