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() |
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.
|
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 |
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 |
getDeliverySubscriptionTypeSettingsProperties() |
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 |
getSubscriptionTypeSettingsProperties() |
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 |
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 |
setDeliverySubscriptionTypeSettingsProperties(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 |
setSubscriptionTypeSettingsProperties(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.
|
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, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 CPInstanceModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CPInstance>
public CommerceCatalog getCommerceCatalog() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCatalog
in interface CPInstance
com.liferay.portal.kernel.exception.PortalException
public long getCompanyId()
getCompanyId
in interface CPInstanceModel
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.math.BigDecimal getCost()
getCost
in interface CPInstanceModel
public CPDefinition getCPDefinition() throws com.liferay.portal.kernel.exception.PortalException
getCPDefinition
in interface CPInstance
com.liferay.portal.kernel.exception.PortalException
public long getCPDefinitionId()
getCPDefinitionId
in interface CPInstanceModel
public long getCPInstanceId()
getCPInstanceId
in interface CPInstanceModel
public java.lang.String getCPInstanceUuid()
getCPInstanceUuid
in interface CPInstanceModel
public CPSubscriptionInfo getCPSubscriptionInfo() throws com.liferay.portal.kernel.exception.PortalException
getCPSubscriptionInfo
in interface CPInstance
com.liferay.portal.kernel.exception.PortalException
public java.util.Date getCreateDate()
getCreateDate
in interface CPInstanceModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getDeliveryMaxSubscriptionCycles()
getDeliveryMaxSubscriptionCycles
in interface CPInstanceModel
public boolean getDeliverySubscriptionEnabled()
getDeliverySubscriptionEnabled
in interface CPInstanceModel
public int getDeliverySubscriptionLength()
getDeliverySubscriptionLength
in interface CPInstanceModel
public java.lang.String getDeliverySubscriptionType()
getDeliverySubscriptionType
in interface CPInstanceModel
public java.lang.String getDeliverySubscriptionTypeSettings()
getDeliverySubscriptionTypeSettings
in interface CPInstanceModel
public com.liferay.portal.kernel.util.UnicodeProperties getDeliverySubscriptionTypeSettingsProperties()
getDeliverySubscriptionTypeSettingsProperties
in interface CPInstance
public double getDepth()
getDepth
in interface CPInstanceModel
public boolean getDiscontinued()
getDiscontinued
in interface CPInstanceModel
public java.util.Date getDiscontinuedDate()
getDiscontinuedDate
in interface CPInstanceModel
public java.util.Date getDisplayDate()
getDisplayDate
in interface CPInstanceModel
public java.util.Date getExpirationDate()
getExpirationDate
in interface CPInstanceModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CPInstanceModel
public long getGroupId()
getGroupId
in interface CPInstanceModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.lang.String getGtin()
getGtin
in interface CPInstanceModel
public double getHeight()
getHeight
in interface CPInstanceModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface CPInstanceModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public java.lang.String getManufacturerPartNumber()
getManufacturerPartNumber
in interface CPInstanceModel
public long getMaxSubscriptionCycles()
getMaxSubscriptionCycles
in interface CPInstanceModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CPInstanceModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface CPInstanceModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public boolean getOverrideSubscriptionInfo()
getOverrideSubscriptionInfo
in interface CPInstanceModel
public java.math.BigDecimal getPrice()
getPrice
in interface CPInstanceModel
public long getPrimaryKey()
getPrimaryKey
in interface CPInstanceModel
public java.math.BigDecimal getPromoPrice()
getPromoPrice
in interface CPInstanceModel
public boolean getPublished()
getPublished
in interface CPInstanceModel
public boolean getPurchasable()
getPurchasable
in interface CPInstanceModel
public java.lang.String getReplacementCPInstanceUuid()
getReplacementCPInstanceUuid
in interface CPInstanceModel
public long getReplacementCProductId()
getReplacementCProductId
in interface CPInstanceModel
public java.lang.String getSku()
getSku
in interface CPInstanceModel
public int getStatus()
getStatus
in interface CPInstanceModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface CPInstanceModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface CPInstanceModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface CPInstanceModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Date getStatusDate()
getStatusDate
in interface CPInstanceModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public boolean getSubscriptionEnabled()
getSubscriptionEnabled
in interface CPInstanceModel
public int getSubscriptionLength()
getSubscriptionLength
in interface CPInstanceModel
public java.lang.String getSubscriptionType()
getSubscriptionType
in interface CPInstanceModel
public java.lang.String getSubscriptionTypeSettings()
getSubscriptionTypeSettings
in interface CPInstanceModel
public com.liferay.portal.kernel.util.UnicodeProperties getSubscriptionTypeSettingsProperties()
getSubscriptionTypeSettingsProperties
in interface CPInstance
public java.lang.String getUnspsc()
getUnspsc
in interface CPInstanceModel
public long getUserId()
getUserId
in interface CPInstanceModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CPInstanceModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CPInstanceModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface CPInstanceModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public double getWeight()
getWeight
in interface CPInstanceModel
public double getWidth()
getWidth
in interface CPInstanceModel
public boolean isApproved()
true
if this cp instance is approved.isApproved
in interface CPInstanceModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is approved; false
otherwisepublic boolean isDeliverySubscriptionEnabled()
true
if this cp instance is delivery subscription enabled.isDeliverySubscriptionEnabled
in interface CPInstanceModel
true
if this cp instance is delivery subscription enabled; false
otherwisepublic boolean isDenied()
true
if this cp instance is denied.isDenied
in interface CPInstanceModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is denied; false
otherwisepublic boolean isDiscontinued()
true
if this cp instance is discontinued.isDiscontinued
in interface CPInstanceModel
true
if this cp instance is discontinued; false
otherwisepublic boolean isDraft()
true
if this cp instance is a draft.isDraft
in interface CPInstanceModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is a draft; false
otherwisepublic boolean isExpired()
true
if this cp instance is expired.isExpired
in interface CPInstanceModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is expired; false
otherwisepublic boolean isInactive()
true
if this cp instance is inactive.isInactive
in interface CPInstanceModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is inactive; false
otherwisepublic boolean isIncomplete()
true
if this cp instance is incomplete.isIncomplete
in interface CPInstanceModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is incomplete; false
otherwisepublic boolean isOverrideSubscriptionInfo()
true
if this cp instance is override subscription info.isOverrideSubscriptionInfo
in interface CPInstanceModel
true
if this cp instance is override subscription info; false
otherwisepublic boolean isPending()
true
if this cp instance is pending.isPending
in interface CPInstanceModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is pending; false
otherwisepublic boolean isPublished()
true
if this cp instance is published.isPublished
in interface CPInstanceModel
true
if this cp instance is published; false
otherwisepublic boolean isPurchasable()
true
if this cp instance is purchasable.isPurchasable
in interface CPInstanceModel
true
if this cp instance is purchasable; false
otherwisepublic boolean isScheduled()
true
if this cp instance is scheduled.isScheduled
in interface CPInstanceModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is scheduled; false
otherwisepublic boolean isSubscriptionEnabled()
true
if this cp instance is subscription enabled.isSubscriptionEnabled
in interface CPInstanceModel
true
if this cp instance is subscription enabled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface CPInstanceModel
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 instancepublic void setCost(java.math.BigDecimal cost)
setCost
in interface CPInstanceModel
cost
- the cost of this cp instancepublic void setCPDefinitionId(long CPDefinitionId)
setCPDefinitionId
in interface CPInstanceModel
CPDefinitionId
- the cp definition ID of this cp instancepublic void setCPInstanceId(long CPInstanceId)
setCPInstanceId
in interface CPInstanceModel
CPInstanceId
- the cp instance ID of this cp instancepublic void setCPInstanceUuid(java.lang.String CPInstanceUuid)
setCPInstanceUuid
in interface CPInstanceModel
CPInstanceUuid
- the cp instance uuid of this cp instancepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CPInstanceModel
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 instancepublic void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles)
setDeliveryMaxSubscriptionCycles
in interface CPInstanceModel
deliveryMaxSubscriptionCycles
- the delivery max subscription cycles of this cp instancepublic void setDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled)
setDeliverySubscriptionEnabled
in interface CPInstanceModel
deliverySubscriptionEnabled
- the delivery subscription enabled of this cp instancepublic void setDeliverySubscriptionLength(int deliverySubscriptionLength)
setDeliverySubscriptionLength
in interface CPInstanceModel
deliverySubscriptionLength
- the delivery subscription length of this cp instancepublic void setDeliverySubscriptionType(java.lang.String deliverySubscriptionType)
setDeliverySubscriptionType
in interface CPInstanceModel
deliverySubscriptionType
- the delivery subscription type of this cp instancepublic void setDeliverySubscriptionTypeSettings(java.lang.String deliverySubscriptionTypeSettings)
setDeliverySubscriptionTypeSettings
in interface CPInstanceModel
deliverySubscriptionTypeSettings
- the delivery subscription type settings of this cp instancepublic void setDeliverySubscriptionTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties)
setDeliverySubscriptionTypeSettingsProperties
in interface CPInstance
public void setDepth(double depth)
setDepth
in interface CPInstanceModel
depth
- the depth of this cp instancepublic void setDiscontinued(boolean discontinued)
setDiscontinued
in interface CPInstanceModel
discontinued
- the discontinued of this cp instancepublic void setDiscontinuedDate(java.util.Date discontinuedDate)
setDiscontinuedDate
in interface CPInstanceModel
discontinuedDate
- the discontinued date of this cp instancepublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate
in interface CPInstanceModel
displayDate
- the display date of this cp instancepublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate
in interface CPInstanceModel
expirationDate
- the expiration date of this cp instancepublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CPInstanceModel
externalReferenceCode
- the external reference code of this cp instancepublic void setGroupId(long groupId)
setGroupId
in interface CPInstanceModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this cp instancepublic void setGtin(java.lang.String gtin)
setGtin
in interface CPInstanceModel
gtin
- the gtin of this cp instancepublic void setHeight(double height)
setHeight
in interface CPInstanceModel
height
- the height of this cp instancepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface CPInstanceModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this cp instancepublic void setManufacturerPartNumber(java.lang.String manufacturerPartNumber)
setManufacturerPartNumber
in interface CPInstanceModel
manufacturerPartNumber
- the manufacturer part number of this cp instancepublic void setMaxSubscriptionCycles(long maxSubscriptionCycles)
setMaxSubscriptionCycles
in interface CPInstanceModel
maxSubscriptionCycles
- the max subscription cycles of this cp instancepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CPInstanceModel
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 instancepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CPInstanceModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this cp instancepublic void setOverrideSubscriptionInfo(boolean overrideSubscriptionInfo)
setOverrideSubscriptionInfo
in interface CPInstanceModel
overrideSubscriptionInfo
- the override subscription info of this cp instancepublic void setPrice(java.math.BigDecimal price)
setPrice
in interface CPInstanceModel
price
- the price of this cp instancepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CPInstanceModel
primaryKey
- the primary key of this cp instancepublic void setPromoPrice(java.math.BigDecimal promoPrice)
setPromoPrice
in interface CPInstanceModel
promoPrice
- the promo price of this cp instancepublic void setPublished(boolean published)
setPublished
in interface CPInstanceModel
published
- the published of this cp instancepublic void setPurchasable(boolean purchasable)
setPurchasable
in interface CPInstanceModel
purchasable
- the purchasable of this cp instancepublic void setReplacementCPInstanceUuid(java.lang.String replacementCPInstanceUuid)
setReplacementCPInstanceUuid
in interface CPInstanceModel
replacementCPInstanceUuid
- the replacement cp instance uuid of this cp instancepublic void setReplacementCProductId(long replacementCProductId)
setReplacementCProductId
in interface CPInstanceModel
replacementCProductId
- the replacement c product ID of this cp instancepublic void setSku(java.lang.String sku)
setSku
in interface CPInstanceModel
sku
- the sku of this cp instancepublic void setStatus(int status)
setStatus
in interface CPInstanceModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this cp instancepublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface CPInstanceModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this cp instancepublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface CPInstanceModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this cp instancepublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface CPInstanceModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this cp instancepublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface CPInstanceModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this cp instancepublic void setSubscriptionEnabled(boolean subscriptionEnabled)
setSubscriptionEnabled
in interface CPInstanceModel
subscriptionEnabled
- the subscription enabled of this cp instancepublic void setSubscriptionLength(int subscriptionLength)
setSubscriptionLength
in interface CPInstanceModel
subscriptionLength
- the subscription length of this cp instancepublic void setSubscriptionType(java.lang.String subscriptionType)
setSubscriptionType
in interface CPInstanceModel
subscriptionType
- the subscription type of this cp instancepublic void setSubscriptionTypeSettings(java.lang.String subscriptionTypeSettings)
setSubscriptionTypeSettings
in interface CPInstanceModel
subscriptionTypeSettings
- the subscription type settings of this cp instancepublic void setSubscriptionTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties)
setSubscriptionTypeSettingsProperties
in interface CPInstance
public void setUnspsc(java.lang.String unspsc)
setUnspsc
in interface CPInstanceModel
unspsc
- the unspsc of this cp instancepublic void setUserId(long userId)
setUserId
in interface CPInstanceModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this cp instancepublic void setUserName(java.lang.String userName)
setUserName
in interface CPInstanceModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this cp instancepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CPInstanceModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this cp instancepublic void setUuid(java.lang.String uuid)
setUuid
in interface CPInstanceModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this cp instancepublic void setWeight(double weight)
setWeight
in interface CPInstanceModel
weight
- the weight of this cp instancepublic void setWidth(double width)
setWidth
in interface CPInstanceModel
width
- the width of this cp instancepublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected CPInstanceWrapper wrap(CPInstance cpInstance)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPInstance>