public class CPInstanceWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPInstance> implements CPInstance, com.liferay.portal.kernel.model.ModelWrapper<CPInstance>
This class is a wrapper for CPInstance.
CPInstance,
Serialized FormCP_INSTANCE_ID_ACCESSOR| Constructor and Description |
|---|
CPInstanceWrapper(CPInstance cpInstance) |
| Modifier and Type | Method and Description |
|---|---|
CPInstance |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<CPInstance,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<CPInstance,java.lang.Object>> |
getAttributeSetterBiConsumers() |
CommerceCatalog |
getCommerceCatalog() |
long |
getCompanyId()
Returns the company ID of this cp instance.
|
java.math.BigDecimal |
getCost()
Returns the cost of this cp instance.
|
CPDefinition |
getCPDefinition() |
long |
getCPDefinitionId()
Returns the cp definition ID of this cp instance.
|
long |
getCPInstanceId()
Returns the cp instance ID of this cp instance.
|
CPInstanceUnitOfMeasure |
getCPInstanceUnitOfMeasure(java.lang.String key) |
java.util.List<CPInstanceUnitOfMeasure> |
getCPInstanceUnitOfMeasures(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) |
java.lang.String |
getCPInstanceUuid()
Returns the cp instance uuid of this cp instance.
|
CPSubscriptionInfo |
getCPSubscriptionInfo() |
java.util.Date |
getCreateDate()
Returns the create date of this cp instance.
|
long |
getCtCollectionId()
Returns the ct collection ID of this cp instance.
|
long |
getDeliveryMaxSubscriptionCycles()
Returns the delivery max subscription cycles of this cp instance.
|
boolean |
getDeliverySubscriptionEnabled()
Returns the delivery subscription enabled of this cp instance.
|
int |
getDeliverySubscriptionLength()
Returns the delivery subscription length of this cp instance.
|
java.lang.String |
getDeliverySubscriptionType()
Returns the delivery subscription type of this cp instance.
|
java.lang.String |
getDeliverySubscriptionTypeSettings()
Returns the delivery subscription type settings of this cp instance.
|
com.liferay.portal.kernel.util.UnicodeProperties |
getDeliverySubscriptionTypeSettingsUnicodeProperties() |
double |
getDepth()
Returns the depth of this cp instance.
|
boolean |
getDiscontinued()
Returns the discontinued of this cp instance.
|
java.util.Date |
getDiscontinuedDate()
Returns the discontinued date of this cp instance.
|
java.util.Date |
getDisplayDate()
Returns the display date of this cp instance.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this cp instance.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this cp instance.
|
long |
getGroupId()
Returns the group ID of this cp instance.
|
java.lang.String |
getGtin()
Returns the gtin of this cp instance.
|
double |
getHeight()
Returns the height of this cp instance.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this cp instance.
|
java.lang.String |
getManufacturerPartNumber()
Returns the manufacturer part number of this cp instance.
|
long |
getMaxSubscriptionCycles()
Returns the max subscription cycles of this cp instance.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this cp instance.
|
long |
getMvccVersion()
Returns the mvcc version of this cp instance.
|
boolean |
getOverrideSubscriptionInfo()
Returns the override subscription info of this cp instance.
|
java.math.BigDecimal |
getPrice()
Returns the price of this cp instance.
|
long |
getPrimaryKey()
Returns the primary key of this cp instance.
|
java.math.BigDecimal |
getPromoPrice()
Returns the promo price of this cp instance.
|
boolean |
getPublished()
Returns the published of this cp instance.
|
boolean |
getPurchasable()
Returns the purchasable of this cp instance.
|
java.lang.String |
getReplacementCPInstanceUuid()
Returns the replacement cp instance uuid of this cp instance.
|
long |
getReplacementCProductId()
Returns the replacement c product ID of this cp instance.
|
java.lang.String |
getSku()
Returns the sku of this cp instance.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this cp instance.
|
long |
getStatusByUserId()
Returns the status by user ID of this cp instance.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this cp instance.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this cp instance.
|
java.util.Date |
getStatusDate()
Returns the status date of this cp instance.
|
boolean |
getSubscriptionEnabled()
Returns the subscription enabled of this cp instance.
|
int |
getSubscriptionLength()
Returns the subscription length of this cp instance.
|
java.lang.String |
getSubscriptionType()
Returns the subscription type of this cp instance.
|
java.lang.String |
getSubscriptionTypeSettings()
Returns the subscription type settings of this cp instance.
|
com.liferay.portal.kernel.util.UnicodeProperties |
getSubscriptionTypeSettingsUnicodeProperties() |
java.lang.String |
getUnspsc()
Returns the unspsc of this cp instance.
|
long |
getUserId()
Returns the user ID of this cp instance.
|
java.lang.String |
getUserName()
Returns the user name of this cp instance.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this cp instance.
|
java.lang.String |
getUuid()
Returns the uuid of this cp instance.
|
double |
getWeight()
Returns the weight of this cp instance.
|
double |
getWidth()
Returns the width of this cp instance.
|
boolean |
isApproved()
Returns
true if this cp instance is approved. |
boolean |
isDeliverySubscriptionEnabled()
Returns
true if this cp instance is delivery subscription enabled. |
boolean |
isDenied()
Returns
true if this cp instance is denied. |
boolean |
isDiscontinued()
Returns
true if this cp instance is discontinued. |
boolean |
isDraft()
Returns
true if this cp instance is a draft. |
boolean |
isExpired()
Returns
true if this cp instance is expired. |
boolean |
isInactive()
Returns
true if this cp instance is inactive. |
boolean |
isIncomplete()
Returns
true if this cp instance is incomplete. |
boolean |
isOverrideSubscriptionInfo()
Returns
true if this cp instance is override subscription info. |
boolean |
isPending()
Returns
true if this cp instance is pending. |
boolean |
isPublished()
Returns
true if this cp instance is published. |
boolean |
isPurchasable()
Returns
true if this cp instance is purchasable. |
boolean |
isScheduled()
Returns
true if this cp instance is scheduled. |
boolean |
isSubscriptionEnabled()
Returns
true if this cp instance is subscription enabled. |
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this cp instance.
|
void |
setCost(java.math.BigDecimal cost)
Sets the cost of this cp instance.
|
void |
setCPDefinitionId(long CPDefinitionId)
Sets the cp definition ID of this cp instance.
|
void |
setCPInstanceId(long CPInstanceId)
Sets the cp instance ID of this cp instance.
|
void |
setCPInstanceUuid(java.lang.String CPInstanceUuid)
Sets the cp instance uuid of this cp instance.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this cp instance.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this cp instance.
|
void |
setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles)
Sets the delivery max subscription cycles of this cp instance.
|
void |
setDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled)
Sets whether this cp instance is delivery subscription enabled.
|
void |
setDeliverySubscriptionLength(int deliverySubscriptionLength)
Sets the delivery subscription length of this cp instance.
|
void |
setDeliverySubscriptionType(java.lang.String deliverySubscriptionType)
Sets the delivery subscription type of this cp instance.
|
void |
setDeliverySubscriptionTypeSettings(java.lang.String deliverySubscriptionTypeSettings)
Sets the delivery subscription type settings of this cp instance.
|
void |
setDeliverySubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties) |
void |
setDepth(double depth)
Sets the depth of this cp instance.
|
void |
setDiscontinued(boolean discontinued)
Sets whether this cp instance is discontinued.
|
void |
setDiscontinuedDate(java.util.Date discontinuedDate)
Sets the discontinued date of this cp instance.
|
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this cp instance.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this cp instance.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this cp instance.
|
void |
setGroupId(long groupId)
Sets the group ID of this cp instance.
|
void |
setGtin(java.lang.String gtin)
Sets the gtin of this cp instance.
|
void |
setHeight(double height)
Sets the height of this cp instance.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this cp instance.
|
void |
setManufacturerPartNumber(java.lang.String manufacturerPartNumber)
Sets the manufacturer part number of this cp instance.
|
void |
setMaxSubscriptionCycles(long maxSubscriptionCycles)
Sets the max subscription cycles of this cp instance.
|
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 instance.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this cp instance.
|
void |
setOverrideSubscriptionInfo(boolean overrideSubscriptionInfo)
Sets whether this cp instance is override subscription info.
|
void |
setPrice(java.math.BigDecimal price)
Sets the price of this cp instance.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this cp instance.
|
void |
setPromoPrice(java.math.BigDecimal promoPrice)
Sets the promo price of this cp instance.
|
void |
setPublished(boolean published)
Sets whether this cp instance is published.
|
void |
setPurchasable(boolean purchasable)
Sets whether this cp instance is purchasable.
|
void |
setReplacementCPInstanceUuid(java.lang.String replacementCPInstanceUuid)
Sets the replacement cp instance uuid of this cp instance.
|
void |
setReplacementCProductId(long replacementCProductId)
Sets the replacement c product ID of this cp instance.
|
void |
setSku(java.lang.String sku)
Sets the sku of this cp instance.
|
void |
setStatus(int status)
Sets the status of this cp instance.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this cp instance.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this cp instance.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this cp instance.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this cp instance.
|
void |
setSubscriptionEnabled(boolean subscriptionEnabled)
Sets whether this cp instance is subscription enabled.
|
void |
setSubscriptionLength(int subscriptionLength)
Sets the subscription length of this cp instance.
|
void |
setSubscriptionType(java.lang.String subscriptionType)
Sets the subscription type of this cp instance.
|
void |
setSubscriptionTypeSettings(java.lang.String subscriptionTypeSettings)
Sets the subscription type settings of this cp instance.
|
void |
setSubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties) |
void |
setUnspsc(java.lang.String unspsc)
Sets the unspsc of this cp instance.
|
void |
setUserId(long userId)
Sets the user ID of this cp instance.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this cp instance.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this cp instance.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this cp instance.
|
void |
setWeight(double weight)
Sets the weight of this cp instance.
|
void |
setWidth(double width)
Sets the width of this cp instance.
|
java.lang.String |
toXmlString() |
protected CPInstanceWrapper |
wrap(CPInstance cpInstance) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic CPInstanceWrapper(CPInstance cpInstance)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CPInstance>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CPInstance>public CPInstance cloneWithOriginalValues()
cloneWithOriginalValues in interface CPInstanceModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CPInstance>public CommerceCatalog getCommerceCatalog() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCatalog in interface CPInstancecom.liferay.portal.kernel.exception.PortalExceptionpublic long getCompanyId()
getCompanyId in interface CPInstanceModelgetCompanyId 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.math.BigDecimal getCost()
getCost in interface CPInstanceModelpublic CPDefinition getCPDefinition() throws com.liferay.portal.kernel.exception.PortalException
getCPDefinition in interface CPInstancecom.liferay.portal.kernel.exception.PortalExceptionpublic long getCPDefinitionId()
getCPDefinitionId in interface CPInstanceModelpublic long getCPInstanceId()
getCPInstanceId in interface CPInstanceModelpublic CPInstanceUnitOfMeasure getCPInstanceUnitOfMeasure(java.lang.String key) throws com.liferay.portal.kernel.exception.PortalException
getCPInstanceUnitOfMeasure in interface CPInstancecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CPInstanceUnitOfMeasure> getCPInstanceUnitOfMeasures(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
getCPInstanceUnitOfMeasures in interface CPInstancepublic java.lang.String getCPInstanceUuid()
getCPInstanceUuid in interface CPInstanceModelpublic CPSubscriptionInfo getCPSubscriptionInfo() throws com.liferay.portal.kernel.exception.PortalException
getCPSubscriptionInfo in interface CPInstancecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.Date getCreateDate()
getCreateDate in interface CPInstanceModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface CPInstanceModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>public long getDeliveryMaxSubscriptionCycles()
getDeliveryMaxSubscriptionCycles in interface CPInstanceModelpublic boolean getDeliverySubscriptionEnabled()
getDeliverySubscriptionEnabled in interface CPInstanceModelpublic int getDeliverySubscriptionLength()
getDeliverySubscriptionLength in interface CPInstanceModelpublic java.lang.String getDeliverySubscriptionType()
getDeliverySubscriptionType in interface CPInstanceModelpublic java.lang.String getDeliverySubscriptionTypeSettings()
getDeliverySubscriptionTypeSettings in interface CPInstanceModelpublic com.liferay.portal.kernel.util.UnicodeProperties getDeliverySubscriptionTypeSettingsUnicodeProperties()
getDeliverySubscriptionTypeSettingsUnicodeProperties in interface CPInstancepublic double getDepth()
getDepth in interface CPInstanceModelpublic boolean getDiscontinued()
getDiscontinued in interface CPInstanceModelpublic java.util.Date getDiscontinuedDate()
getDiscontinuedDate in interface CPInstanceModelpublic java.util.Date getDisplayDate()
getDisplayDate in interface CPInstanceModelpublic java.util.Date getExpirationDate()
getExpirationDate in interface CPInstanceModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface CPInstanceModelpublic long getGroupId()
getGroupId in interface CPInstanceModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.lang.String getGtin()
getGtin in interface CPInstanceModelpublic double getHeight()
getHeight in interface CPInstanceModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface CPInstanceModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.lang.String getManufacturerPartNumber()
getManufacturerPartNumber in interface CPInstanceModelpublic long getMaxSubscriptionCycles()
getMaxSubscriptionCycles in interface CPInstanceModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CPInstanceModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CPInstanceModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic boolean getOverrideSubscriptionInfo()
getOverrideSubscriptionInfo in interface CPInstanceModelpublic java.math.BigDecimal getPrice()
getPrice in interface CPInstanceModelpublic long getPrimaryKey()
getPrimaryKey in interface CPInstanceModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>public java.math.BigDecimal getPromoPrice()
getPromoPrice in interface CPInstanceModelpublic boolean getPublished()
getPublished in interface CPInstanceModelpublic boolean getPurchasable()
getPurchasable in interface CPInstanceModelpublic java.lang.String getReplacementCPInstanceUuid()
getReplacementCPInstanceUuid in interface CPInstanceModelpublic long getReplacementCProductId()
getReplacementCProductId in interface CPInstanceModelpublic java.lang.String getSku()
getSku in interface CPInstanceModelpublic int getStatus()
getStatus in interface CPInstanceModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface CPInstanceModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface CPInstanceModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface CPInstanceModelgetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface CPInstanceModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic boolean getSubscriptionEnabled()
getSubscriptionEnabled in interface CPInstanceModelpublic int getSubscriptionLength()
getSubscriptionLength in interface CPInstanceModelpublic java.lang.String getSubscriptionType()
getSubscriptionType in interface CPInstanceModelpublic java.lang.String getSubscriptionTypeSettings()
getSubscriptionTypeSettings in interface CPInstanceModelpublic com.liferay.portal.kernel.util.UnicodeProperties getSubscriptionTypeSettingsUnicodeProperties()
getSubscriptionTypeSettingsUnicodeProperties in interface CPInstancepublic java.lang.String getUnspsc()
getUnspsc in interface CPInstanceModelpublic long getUserId()
getUserId in interface CPInstanceModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CPInstanceModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CPInstanceModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CPInstanceModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic double getWeight()
getWeight in interface CPInstanceModelpublic double getWidth()
getWidth in interface CPInstanceModelpublic boolean isApproved()
true if this cp instance is approved.isApproved in interface CPInstanceModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp instance is approved; false otherwisepublic boolean isDeliverySubscriptionEnabled()
true if this cp instance is delivery subscription enabled.isDeliverySubscriptionEnabled in interface CPInstanceModeltrue if this cp instance is delivery subscription enabled; false otherwisepublic boolean isDenied()
true if this cp instance is denied.isDenied in interface CPInstanceModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp instance is denied; false otherwisepublic boolean isDiscontinued()
true if this cp instance is discontinued.isDiscontinued in interface CPInstanceModeltrue if this cp instance is discontinued; false otherwisepublic boolean isDraft()
true if this cp instance is a draft.isDraft in interface CPInstanceModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp instance is a draft; false otherwisepublic boolean isExpired()
true if this cp instance is expired.isExpired in interface CPInstanceModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp instance is expired; false otherwisepublic boolean isInactive()
true if this cp instance is inactive.isInactive in interface CPInstanceModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp instance is inactive; false otherwisepublic boolean isIncomplete()
true if this cp instance is incomplete.isIncomplete in interface CPInstanceModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp instance is incomplete; false otherwisepublic boolean isOverrideSubscriptionInfo()
true if this cp instance is override subscription info.isOverrideSubscriptionInfo in interface CPInstanceModeltrue if this cp instance is override subscription info; false otherwisepublic boolean isPending()
true if this cp instance is pending.isPending in interface CPInstanceModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp instance is pending; false otherwisepublic boolean isPublished()
true if this cp instance is published.isPublished in interface CPInstanceModeltrue if this cp instance is published; false otherwisepublic boolean isPurchasable()
true if this cp instance is purchasable.isPurchasable in interface CPInstanceModeltrue if this cp instance is purchasable; false otherwisepublic boolean isScheduled()
true if this cp instance is scheduled.isScheduled in interface CPInstanceModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp instance is scheduled; false otherwisepublic boolean isSubscriptionEnabled()
true if this cp instance is subscription enabled.isSubscriptionEnabled in interface CPInstanceModeltrue if this cp instance is subscription enabled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface CPInstanceModelsetCompanyId 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 instancepublic void setCost(java.math.BigDecimal cost)
setCost in interface CPInstanceModelcost - the cost of this cp instancepublic void setCPDefinitionId(long CPDefinitionId)
setCPDefinitionId in interface CPInstanceModelCPDefinitionId - the cp definition ID of this cp instancepublic void setCPInstanceId(long CPInstanceId)
setCPInstanceId in interface CPInstanceModelCPInstanceId - the cp instance ID of this cp instancepublic void setCPInstanceUuid(java.lang.String CPInstanceUuid)
setCPInstanceUuid in interface CPInstanceModelCPInstanceUuid - the cp instance uuid of this cp instancepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CPInstanceModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this cp instancepublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CPInstanceModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>ctCollectionId - the ct collection ID of this cp instancepublic void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles)
setDeliveryMaxSubscriptionCycles in interface CPInstanceModeldeliveryMaxSubscriptionCycles - the delivery max subscription cycles of this cp instancepublic void setDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled)
setDeliverySubscriptionEnabled in interface CPInstanceModeldeliverySubscriptionEnabled - the delivery subscription enabled of this cp instancepublic void setDeliverySubscriptionLength(int deliverySubscriptionLength)
setDeliverySubscriptionLength in interface CPInstanceModeldeliverySubscriptionLength - the delivery subscription length of this cp instancepublic void setDeliverySubscriptionType(java.lang.String deliverySubscriptionType)
setDeliverySubscriptionType in interface CPInstanceModeldeliverySubscriptionType - the delivery subscription type of this cp instancepublic void setDeliverySubscriptionTypeSettings(java.lang.String deliverySubscriptionTypeSettings)
setDeliverySubscriptionTypeSettings in interface CPInstanceModeldeliverySubscriptionTypeSettings - the delivery subscription type settings of this cp instancepublic void setDeliverySubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties)
setDeliverySubscriptionTypeSettingsUnicodeProperties in interface CPInstancepublic void setDepth(double depth)
setDepth in interface CPInstanceModeldepth - the depth of this cp instancepublic void setDiscontinued(boolean discontinued)
setDiscontinued in interface CPInstanceModeldiscontinued - the discontinued of this cp instancepublic void setDiscontinuedDate(java.util.Date discontinuedDate)
setDiscontinuedDate in interface CPInstanceModeldiscontinuedDate - the discontinued date of this cp instancepublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate in interface CPInstanceModeldisplayDate - the display date of this cp instancepublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface CPInstanceModelexpirationDate - the expiration date of this cp instancepublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface CPInstanceModelexternalReferenceCode - the external reference code of this cp instancepublic void setGroupId(long groupId)
setGroupId in interface CPInstanceModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this cp instancepublic void setGtin(java.lang.String gtin)
setGtin in interface CPInstanceModelgtin - the gtin of this cp instancepublic void setHeight(double height)
setHeight in interface CPInstanceModelheight - the height of this cp instancepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface CPInstanceModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this cp instancepublic void setManufacturerPartNumber(java.lang.String manufacturerPartNumber)
setManufacturerPartNumber in interface CPInstanceModelmanufacturerPartNumber - the manufacturer part number of this cp instancepublic void setMaxSubscriptionCycles(long maxSubscriptionCycles)
setMaxSubscriptionCycles in interface CPInstanceModelmaxSubscriptionCycles - the max subscription cycles of this cp instancepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CPInstanceModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this cp instancepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CPInstanceModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this cp instancepublic void setOverrideSubscriptionInfo(boolean overrideSubscriptionInfo)
setOverrideSubscriptionInfo in interface CPInstanceModeloverrideSubscriptionInfo - the override subscription info of this cp instancepublic void setPrice(java.math.BigDecimal price)
setPrice in interface CPInstanceModelprice - the price of this cp instancepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CPInstanceModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>primaryKey - the primary key of this cp instancepublic void setPromoPrice(java.math.BigDecimal promoPrice)
setPromoPrice in interface CPInstanceModelpromoPrice - the promo price of this cp instancepublic void setPublished(boolean published)
setPublished in interface CPInstanceModelpublished - the published of this cp instancepublic void setPurchasable(boolean purchasable)
setPurchasable in interface CPInstanceModelpurchasable - the purchasable of this cp instancepublic void setReplacementCPInstanceUuid(java.lang.String replacementCPInstanceUuid)
setReplacementCPInstanceUuid in interface CPInstanceModelreplacementCPInstanceUuid - the replacement cp instance uuid of this cp instancepublic void setReplacementCProductId(long replacementCProductId)
setReplacementCProductId in interface CPInstanceModelreplacementCProductId - the replacement c product ID of this cp instancepublic void setSku(java.lang.String sku)
setSku in interface CPInstanceModelsku - the sku of this cp instancepublic void setStatus(int status)
setStatus in interface CPInstanceModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this cp instancepublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface CPInstanceModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this cp instancepublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface CPInstanceModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this cp instancepublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface CPInstanceModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this cp instancepublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface CPInstanceModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this cp instancepublic void setSubscriptionEnabled(boolean subscriptionEnabled)
setSubscriptionEnabled in interface CPInstanceModelsubscriptionEnabled - the subscription enabled of this cp instancepublic void setSubscriptionLength(int subscriptionLength)
setSubscriptionLength in interface CPInstanceModelsubscriptionLength - the subscription length of this cp instancepublic void setSubscriptionType(java.lang.String subscriptionType)
setSubscriptionType in interface CPInstanceModelsubscriptionType - the subscription type of this cp instancepublic void setSubscriptionTypeSettings(java.lang.String subscriptionTypeSettings)
setSubscriptionTypeSettings in interface CPInstanceModelsubscriptionTypeSettings - the subscription type settings of this cp instancepublic void setSubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties)
setSubscriptionTypeSettingsUnicodeProperties in interface CPInstancepublic void setUnspsc(java.lang.String unspsc)
setUnspsc in interface CPInstanceModelunspsc - the unspsc of this cp instancepublic void setUserId(long userId)
setUserId in interface CPInstanceModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this cp instancepublic void setUserName(java.lang.String userName)
setUserName in interface CPInstanceModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this cp instancepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CPInstanceModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this cp instancepublic void setUuid(java.lang.String uuid)
setUuid in interface CPInstanceModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this cp instancepublic void setWeight(double weight)
setWeight in interface CPInstanceModelweight - the weight of this cp instancepublic void setWidth(double width)
setWidth in interface CPInstanceModelwidth - the width of this cp instancepublic java.lang.String toXmlString()
toXmlString in interface CPInstanceModelpublic java.util.Map<java.lang.String,java.util.function.Function<CPInstance,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CPInstance>public java.util.Map<java.lang.String,java.util.function.BiConsumer<CPInstance,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CPInstance>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CPInstanceWrapper wrap(CPInstance cpInstance)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPInstance>