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, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitgetExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic 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 CPDefinitionclone in interface com.liferay.portal.kernel.model.BaseModel<CPDefinition>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinition>public CPDefinition cloneWithOriginalValues()
cloneWithOriginalValues in interface CPDefinitionModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CPDefinition>public boolean equals(java.lang.Object object)
equals in interface CPDefinitionequals in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinition>public boolean getAccountGroupFilterEnabled()
getAccountGroupFilterEnabled in interface CPDefinitionModelpublic boolean getAvailableIndividually()
getAvailableIndividually in interface CPDefinitionModelpublic java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface CPDefinitionModelpublic boolean getChannelFilterEnabled()
getChannelFilterEnabled in interface CPDefinitionModelpublic CommerceCatalog getCommerceCatalog()
getCommerceCatalog in interface CPDefinitionpublic long getCompanyId()
getCompanyId in interface CPDefinitionModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.List<CPAttachmentFileEntry> getCPAttachmentFileEntries(int type, int status) throws com.liferay.portal.kernel.exception.PortalException
getCPAttachmentFileEntries in interface CPDefinitioncom.liferay.portal.kernel.exception.PortalExceptionpublic long getCPDefinitionId()
getCPDefinitionId in interface CPDefinitionModelpublic java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRels()
getCPDefinitionOptionRels in interface CPDefinitionpublic java.util.List<CPDefinitionSpecificationOptionValue> getCPDefinitionSpecificationOptionValues()
getCPDefinitionSpecificationOptionValues in interface CPDefinitionpublic java.util.List<CPInstance> getCPInstances()
getCPInstances in interface CPDefinitionpublic CProduct getCProduct() throws com.liferay.portal.kernel.exception.PortalException
getCProduct in interface CPDefinitioncom.liferay.portal.kernel.exception.PortalExceptionpublic long getCProductId()
getCProductId in interface CPDefinitionModelpublic CPTaxCategory getCPTaxCategory() throws com.liferay.portal.kernel.exception.PortalException
getCPTaxCategory in interface CPDefinitioncom.liferay.portal.kernel.exception.PortalExceptionpublic long getCPTaxCategoryId()
getCPTaxCategoryId in interface CPDefinitionModelpublic java.util.Date getCreateDate()
getCreateDate in interface CPDefinitionModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface CPDefinitionModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinition>public java.lang.String getDDMStructureKey()
getDDMStructureKey in interface CPDefinitionModelpublic java.lang.String getDefaultImageThumbnailSrc(long commerceAccountId)
throws java.lang.Exception
getDefaultImageThumbnailSrc in interface CPDefinitionjava.lang.Exceptionpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface CPDefinitionModelpublic long getDeliveryMaxSubscriptionCycles()
getDeliveryMaxSubscriptionCycles in interface CPDefinitionModelpublic boolean getDeliverySubscriptionEnabled()
getDeliverySubscriptionEnabled in interface CPDefinitionModelpublic int getDeliverySubscriptionLength()
getDeliverySubscriptionLength in interface CPDefinitionModelpublic java.lang.String getDeliverySubscriptionType()
getDeliverySubscriptionType in interface CPDefinitionModelpublic java.lang.String getDeliverySubscriptionTypeSettings()
getDeliverySubscriptionTypeSettings in interface CPDefinitionModelpublic com.liferay.portal.kernel.util.UnicodeProperties getDeliverySubscriptionTypeSettingsUnicodeProperties()
getDeliverySubscriptionTypeSettingsUnicodeProperties in interface CPDefinitionpublic double getDepth()
getDepth in interface CPDefinitionModelpublic java.lang.String getDescription()
getDescription in interface CPDefinitionModelpublic java.lang.String getDescription(java.lang.String languageId)
getDescription in interface CPDefinitionModelpublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface CPDefinitionModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface CPDefinitionpublic java.lang.String getDescriptionMapAsXML()
getDescriptionMapAsXML in interface CPDefinitionModelpublic java.util.Date getDisplayDate()
getDisplayDate in interface CPDefinitionModelpublic java.util.Date getExpirationDate()
getExpirationDate in interface CPDefinitionModelpublic boolean getFreeShipping()
getFreeShipping in interface CPDefinitionModelpublic long getGroupId()
getGroupId in interface CPDefinitionModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic double getHeight()
getHeight in interface CPDefinitionModelpublic boolean getIgnoreSKUCombinations()
getIgnoreSKUCombinations in interface CPDefinitionModelpublic java.util.Map<java.lang.String,java.lang.String> getLanguageIdToDescriptionMap()
getLanguageIdToDescriptionMap in interface CPDefinitionModelpublic java.util.Map<java.lang.String,java.lang.String> getLanguageIdToMetaDescriptionMap()
getLanguageIdToMetaDescriptionMap in interface CPDefinitionModelpublic java.util.Map<java.lang.String,java.lang.String> getLanguageIdToMetaKeywordsMap()
getLanguageIdToMetaKeywordsMap in interface CPDefinitionModelpublic java.util.Map<java.lang.String,java.lang.String> getLanguageIdToMetaTitleMap()
getLanguageIdToMetaTitleMap in interface CPDefinitionModelpublic java.util.Map<java.lang.String,java.lang.String> getLanguageIdToNameMap()
getLanguageIdToNameMap in interface CPDefinitionModelpublic java.util.Map<java.lang.String,java.lang.String> getLanguageIdToShortDescriptionMap()
getLanguageIdToShortDescriptionMap in interface CPDefinitionModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface CPDefinitionModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic long getMaxSubscriptionCycles()
getMaxSubscriptionCycles in interface CPDefinitionModelpublic java.lang.String getMetaDescription()
getMetaDescription in interface CPDefinitionModelpublic java.lang.String getMetaDescription(java.lang.String languageId)
getMetaDescription in interface CPDefinitionModelpublic java.lang.String getMetaDescription(java.lang.String languageId,
boolean useDefault)
getMetaDescription in interface CPDefinitionModelpublic java.util.Map<java.util.Locale,java.lang.String> getMetaDescriptionMap()
getMetaDescriptionMap in interface CPDefinitionpublic java.lang.String getMetaDescriptionMapAsXML()
getMetaDescriptionMapAsXML in interface CPDefinitionModelpublic java.lang.String getMetaKeywords()
getMetaKeywords in interface CPDefinitionModelpublic java.lang.String getMetaKeywords(java.lang.String languageId)
getMetaKeywords in interface CPDefinitionModelpublic java.lang.String getMetaKeywords(java.lang.String languageId,
boolean useDefault)
getMetaKeywords in interface CPDefinitionModelpublic java.util.Map<java.util.Locale,java.lang.String> getMetaKeywordsMap()
getMetaKeywordsMap in interface CPDefinitionpublic java.lang.String getMetaKeywordsMapAsXML()
getMetaKeywordsMapAsXML in interface CPDefinitionModelpublic java.lang.String getMetaTitle()
getMetaTitle in interface CPDefinitionModelpublic java.lang.String getMetaTitle(java.lang.String languageId)
getMetaTitle in interface CPDefinitionModelpublic java.lang.String getMetaTitle(java.lang.String languageId,
boolean useDefault)
getMetaTitle in interface CPDefinitionModelpublic java.util.Map<java.util.Locale,java.lang.String> getMetaTitleMap()
getMetaTitleMap in interface CPDefinitionpublic java.lang.String getMetaTitleMapAsXML()
getMetaTitleMapAsXML in interface CPDefinitionModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CPDefinitionModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CPDefinitionModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface CPDefinitionModelpublic java.lang.String getName(java.lang.String languageId)
getName in interface CPDefinitionModelpublic java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getName in interface CPDefinitionModelpublic java.lang.String getNameCurrentValue()
getNameCurrentValue in interface CPDefinitionpublic java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap in interface CPDefinitionpublic java.lang.String getNameMapAsXML()
getNameMapAsXML in interface CPDefinitionModelpublic long getPrimaryKey()
getPrimaryKey in interface CPDefinitionModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinition>public java.lang.String getProductTypeName()
getProductTypeName in interface CPDefinitionModelpublic boolean getPublished()
getPublished in interface CPDefinitionModelpublic boolean getShippable()
getShippable in interface CPDefinitionModelpublic double getShippingExtraPrice()
getShippingExtraPrice in interface CPDefinitionModelpublic boolean getShipSeparately()
getShipSeparately in interface CPDefinitionModelpublic java.lang.String getShortDescription()
getShortDescription in interface CPDefinitionModelpublic java.lang.String getShortDescription(java.lang.String languageId)
getShortDescription in interface CPDefinitionModelpublic java.lang.String getShortDescription(java.lang.String languageId,
boolean useDefault)
getShortDescription in interface CPDefinitionModelpublic java.util.Map<java.util.Locale,java.lang.String> getShortDescriptionMap()
getShortDescriptionMap in interface CPDefinitionpublic java.lang.String getShortDescriptionMapAsXML()
getShortDescriptionMapAsXML in interface CPDefinitionModelpublic int getStatus()
getStatus in interface CPDefinitionModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface CPDefinitionModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface CPDefinitionModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface CPDefinitionModelgetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface CPDefinitionModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic boolean getSubscriptionEnabled()
getSubscriptionEnabled in interface CPDefinitionModelpublic int getSubscriptionLength()
getSubscriptionLength in interface CPDefinitionModelpublic java.lang.String getSubscriptionType()
getSubscriptionType in interface CPDefinitionModelpublic java.lang.String getSubscriptionTypeSettings()
getSubscriptionTypeSettings in interface CPDefinitionModelpublic com.liferay.portal.kernel.util.UnicodeProperties getSubscriptionTypeSettingsUnicodeProperties()
getSubscriptionTypeSettingsUnicodeProperties in interface CPDefinitionpublic boolean getTaxExempt()
getTaxExempt in interface CPDefinitionModelpublic boolean getTelcoOrElectronics()
getTelcoOrElectronics in interface CPDefinitionModelpublic java.lang.String getURL(java.lang.String languageId)
getURL in interface CPDefinitionpublic java.util.Map<java.util.Locale,java.lang.String> getUrlTitleMap()
getUrlTitleMap in interface CPDefinitionpublic long getUserId()
getUserId in interface CPDefinitionModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CPDefinitionModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CPDefinitionModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CPDefinitionModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic int getVersion()
getVersion in interface CPDefinitionModelpublic double getWeight()
getWeight in interface CPDefinitionModelpublic double getWidth()
getWidth in interface CPDefinitionModelpublic int hashCode()
hashCode in interface CPDefinitionhashCode 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 CPDefinitionModeltrue if this cp definition is account group filter enabled; false otherwisepublic boolean isApproved()
true if this cp definition is approved.isApproved in interface CPDefinitionModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition is approved; false otherwisepublic boolean isAvailableIndividually()
true if this cp definition is available individually.isAvailableIndividually in interface CPDefinitionModeltrue if this cp definition is available individually; false otherwisepublic boolean isChannelFilterEnabled()
true if this cp definition is channel filter enabled.isChannelFilterEnabled in interface CPDefinitionModeltrue if this cp definition is channel filter enabled; false otherwisepublic boolean isDeliverySubscriptionEnabled()
true if this cp definition is delivery subscription enabled.isDeliverySubscriptionEnabled in interface CPDefinitionModeltrue if this cp definition is delivery subscription enabled; false otherwisepublic boolean isDenied()
true if this cp definition is denied.isDenied in interface CPDefinitionModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition is denied; false otherwisepublic boolean isDraft()
true if this cp definition is a draft.isDraft in interface CPDefinitionModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition is a draft; false otherwisepublic boolean isExpired()
true if this cp definition is expired.isExpired in interface CPDefinitionModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition is expired; false otherwisepublic boolean isFreeShipping()
true if this cp definition is free shipping.isFreeShipping in interface CPDefinitionModeltrue if this cp definition is free shipping; false otherwisepublic boolean isIgnoreSKUCombinations()
true if this cp definition is ignore sku combinations.isIgnoreSKUCombinations in interface CPDefinitionModeltrue if this cp definition is ignore sku combinations; false otherwisepublic boolean isInactive()
true if this cp definition is inactive.isInactive in interface CPDefinitionModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition is inactive; false otherwisepublic boolean isIncomplete()
true if this cp definition is incomplete.isIncomplete in interface CPDefinitionModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition is incomplete; false otherwisepublic boolean isPending()
true if this cp definition is pending.isPending in interface CPDefinitionModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition is pending; false otherwisepublic boolean isPublished()
true if this cp definition is published.isPublished in interface CPDefinitionModeltrue if this cp definition is published; false otherwisepublic boolean isScheduled()
true if this cp definition is scheduled.isScheduled in interface CPDefinitionModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp definition is scheduled; false otherwisepublic boolean isShippable()
true if this cp definition is shippable.isShippable in interface CPDefinitionModeltrue if this cp definition is shippable; false otherwisepublic boolean isShipSeparately()
true if this cp definition is ship separately.isShipSeparately in interface CPDefinitionModeltrue if this cp definition is ship separately; false otherwisepublic boolean isSubscriptionEnabled()
true if this cp definition is subscription enabled.isSubscriptionEnabled in interface CPDefinitionModeltrue if this cp definition is subscription enabled; false otherwisepublic boolean isTaxExempt()
true if this cp definition is tax exempt.isTaxExempt in interface CPDefinitionModeltrue if this cp definition is tax exempt; false otherwisepublic boolean isTelcoOrElectronics()
true if this cp definition is telco or electronics.isTelcoOrElectronics in interface CPDefinitionModeltrue if this cp definition is telco or electronics; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAccountGroupFilterEnabled(boolean accountGroupFilterEnabled)
setAccountGroupFilterEnabled in interface CPDefinitionModelaccountGroupFilterEnabled - the account group filter enabled of this cp definitionpublic void setAvailableIndividually(boolean availableIndividually)
setAvailableIndividually in interface CPDefinitionModelavailableIndividually - the available individually of this cp definitionpublic void setChannelFilterEnabled(boolean channelFilterEnabled)
setChannelFilterEnabled in interface CPDefinitionModelchannelFilterEnabled - the channel filter enabled of this cp definitionpublic void setCompanyId(long companyId)
setCompanyId in interface CPDefinitionModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this cp definitionpublic void setCPDefinitionId(long CPDefinitionId)
setCPDefinitionId in interface CPDefinitionModelCPDefinitionId - the cp definition ID of this cp definitionpublic void setCProductId(long CProductId)
setCProductId in interface CPDefinitionModelCProductId - the c product ID of this cp definitionpublic void setCPTaxCategoryId(long CPTaxCategoryId)
setCPTaxCategoryId in interface CPDefinitionModelCPTaxCategoryId - the cp tax category ID of this cp definitionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CPDefinitionModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this cp definitionpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CPDefinitionModelsetCtCollectionId 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 CPDefinitionModelDDMStructureKey - the ddm structure key of this cp definitionpublic void setDefaultLanguageId(java.lang.String defaultLanguageId)
setDefaultLanguageId in interface CPDefinitionModeldefaultLanguageId - the default language ID of this cp definitionpublic void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles)
setDeliveryMaxSubscriptionCycles in interface CPDefinitionModeldeliveryMaxSubscriptionCycles - the delivery max subscription cycles of this cp definitionpublic void setDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled)
setDeliverySubscriptionEnabled in interface CPDefinitionModeldeliverySubscriptionEnabled - the delivery subscription enabled of this cp definitionpublic void setDeliverySubscriptionLength(int deliverySubscriptionLength)
setDeliverySubscriptionLength in interface CPDefinitionModeldeliverySubscriptionLength - the delivery subscription length of this cp definitionpublic void setDeliverySubscriptionType(java.lang.String deliverySubscriptionType)
setDeliverySubscriptionType in interface CPDefinitionModeldeliverySubscriptionType - the delivery subscription type of this cp definitionpublic void setDeliverySubscriptionTypeSettings(java.lang.String deliverySubscriptionTypeSettings)
setDeliverySubscriptionTypeSettings in interface CPDefinitionModeldeliverySubscriptionTypeSettings - the delivery subscription type settings of this cp definitionpublic void setDeliverySubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties)
setDeliverySubscriptionTypeSettingsUnicodeProperties in interface CPDefinitionpublic void setDepth(double depth)
setDepth in interface CPDefinitionModeldepth - the depth of this cp definitionpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface CPDefinitionpublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate in interface CPDefinitionModeldisplayDate - the display date of this cp definitionpublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface CPDefinitionModelexpirationDate - the expiration date of this cp definitionpublic void setFreeShipping(boolean freeShipping)
setFreeShipping in interface CPDefinitionModelfreeShipping - the free shipping of this cp definitionpublic void setGroupId(long groupId)
setGroupId in interface CPDefinitionModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this cp definitionpublic void setHeight(double height)
setHeight in interface CPDefinitionModelheight - the height of this cp definitionpublic void setIgnoreSKUCombinations(boolean ignoreSKUCombinations)
setIgnoreSKUCombinations in interface CPDefinitionModelignoreSKUCombinations - the ignore sku combinations of this cp definitionpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface CPDefinitionModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this cp definitionpublic void setMaxSubscriptionCycles(long maxSubscriptionCycles)
setMaxSubscriptionCycles in interface CPDefinitionModelmaxSubscriptionCycles - the max subscription cycles of this cp definitionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CPDefinitionModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this cp definitionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CPDefinitionModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this cp definitionpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap in interface CPDefinitionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CPDefinitionModelsetPrimaryKey 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 CPDefinitionModelproductTypeName - the product type name of this cp definitionpublic void setPublished(boolean published)
setPublished in interface CPDefinitionModelpublished - the published of this cp definitionpublic void setShippable(boolean shippable)
setShippable in interface CPDefinitionModelshippable - the shippable of this cp definitionpublic void setShippingExtraPrice(double shippingExtraPrice)
setShippingExtraPrice in interface CPDefinitionModelshippingExtraPrice - the shipping extra price of this cp definitionpublic void setShipSeparately(boolean shipSeparately)
setShipSeparately in interface CPDefinitionModelshipSeparately - the ship separately of this cp definitionpublic void setShortDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> shortDescriptionMap)
setShortDescriptionMap in interface CPDefinitionpublic void setStatus(int status)
setStatus in interface CPDefinitionModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this cp definitionpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface CPDefinitionModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this cp definitionpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface CPDefinitionModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this cp definitionpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface CPDefinitionModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this cp definitionpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface CPDefinitionModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this cp definitionpublic void setSubscriptionEnabled(boolean subscriptionEnabled)
setSubscriptionEnabled in interface CPDefinitionModelsubscriptionEnabled - the subscription enabled of this cp definitionpublic void setSubscriptionLength(int subscriptionLength)
setSubscriptionLength in interface CPDefinitionModelsubscriptionLength - the subscription length of this cp definitionpublic void setSubscriptionType(java.lang.String subscriptionType)
setSubscriptionType in interface CPDefinitionModelsubscriptionType - the subscription type of this cp definitionpublic void setSubscriptionTypeSettings(java.lang.String subscriptionTypeSettings)
setSubscriptionTypeSettings in interface CPDefinitionModelsubscriptionTypeSettings - the subscription type settings of this cp definitionpublic void setSubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties)
setSubscriptionTypeSettingsUnicodeProperties in interface CPDefinitionpublic void setTaxExempt(boolean taxExempt)
setTaxExempt in interface CPDefinitionModeltaxExempt - the tax exempt of this cp definitionpublic void setTelcoOrElectronics(boolean telcoOrElectronics)
setTelcoOrElectronics in interface CPDefinitionModeltelcoOrElectronics - the telco or electronics of this cp definitionpublic void setUrlTitleMap(java.util.Map<java.util.Locale,java.lang.String> urlTitleMap)
setUrlTitleMap in interface CPDefinitionpublic void setUserId(long userId)
setUserId in interface CPDefinitionModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this cp definitionpublic void setUserName(java.lang.String userName)
setUserName in interface CPDefinitionModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this cp definitionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CPDefinitionModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this cp definitionpublic void setUuid(java.lang.String uuid)
setUuid in interface CPDefinitionModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this cp definitionpublic void setVersion(int version)
setVersion in interface CPDefinitionModelversion - the version of this cp definitionpublic void setWeight(double weight)
setWeight in interface CPDefinitionModelweight - the weight of this cp definitionpublic void setWidth(double width)
setWidth in interface CPDefinitionModelwidth - the width of this cp definitionpublic java.lang.String toXmlString()
toXmlString in interface CPDefinitionModelpublic 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.StagedModelprotected CPDefinitionWrapper wrap(CPDefinition cpDefinition)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinition>