Interface CPInstanceModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CPInstance>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<CPInstance>
,com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.MVCCModel
,Serializable
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Subinterfaces:
CPInstance
- All Known Implementing Classes:
CPInstanceWrapper
@ProviderType
public interface CPInstanceModel
extends com.liferay.portal.kernel.model.BaseModel<CPInstance>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the CPInstance service. Represents a row in the "CPInstance" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.product.model.impl.CPInstanceModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.product.model.impl.CPInstanceImpl
.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this cp instance.getCost()
Returns the cost of this cp instance.long
Returns the cp definition ID of this cp instance.long
Returns the cp instance ID of this cp instance.Returns the cp instance uuid of this cp instance.Returns the create date of this cp instance.long
Returns the ct collection ID of this cp instance.long
Returns the delivery max subscription cycles of this cp instance.boolean
Returns the delivery subscription enabled of this cp instance.int
Returns the delivery subscription length of this cp instance.Returns the delivery subscription type of this cp instance.Returns the delivery subscription type settings of this cp instance.double
getDepth()
Returns the depth of this cp instance.boolean
Returns the discontinued of this cp instance.Returns the discontinued date of this cp instance.Returns the display date of this cp instance.Returns the expiration date of this cp instance.Returns the external reference code of this cp instance.long
Returns the group ID of this cp instance.getGtin()
Returns the gtin of this cp instance.double
Returns the height of this cp instance.Returns the last publish date of this cp instance.Returns the manufacturer part number of this cp instance.long
Returns the max subscription cycles of this cp instance.Returns the modified date of this cp instance.long
Returns the mvcc version of this cp instance.boolean
Returns the override subscription info of this cp instance.getPrice()
Returns the price of this cp instance.long
Returns the primary key of this cp instance.Returns the promo price of this cp instance.boolean
Returns the published of this cp instance.boolean
Returns the purchasable of this cp instance.Returns the replacement cp instance uuid of this cp instance.long
Returns the replacement c product ID of this cp instance.getSku()
Returns the sku of this cp instance.int
Returns the status of this cp instance.long
Returns the status by user ID of this cp instance.Returns the status by user name of this cp instance.Returns the status by user uuid of this cp instance.Returns the status date of this cp instance.boolean
Returns the subscription enabled of this cp instance.int
Returns the subscription length of this cp instance.Returns the subscription type of this cp instance.Returns the subscription type settings of this cp instance.Returns the unspsc of this cp instance.long
Returns the user ID of this cp instance.Returns the user name of this cp instance.Returns the user uuid of this cp instance.getUuid()
Returns the uuid of this cp instance.double
Returns the weight of this cp instance.double
getWidth()
Returns the width of this cp instance.boolean
Returnstrue
if this cp instance is approved.boolean
Returnstrue
if this cp instance is delivery subscription enabled.boolean
isDenied()
Returnstrue
if this cp instance is denied.boolean
Returnstrue
if this cp instance is discontinued.boolean
isDraft()
Returnstrue
if this cp instance is a draft.boolean
Returnstrue
if this cp instance is expired.boolean
Returnstrue
if this cp instance is inactive.boolean
Returnstrue
if this cp instance is incomplete.boolean
Returnstrue
if this cp instance is override subscription info.boolean
Returnstrue
if this cp instance is pending.boolean
Returnstrue
if this cp instance is published.boolean
Returnstrue
if this cp instance is purchasable.boolean
Returnstrue
if this cp instance is scheduled.boolean
Returnstrue
if this cp instance is subscription enabled.void
setCompanyId
(long companyId) Sets the company ID of this cp instance.void
setCost
(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
(String CPInstanceUuid) Sets the cp instance uuid of this cp instance.void
setCreateDate
(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
(String deliverySubscriptionType) Sets the delivery subscription type of this cp instance.void
setDeliverySubscriptionTypeSettings
(String deliverySubscriptionTypeSettings) Sets the delivery subscription type settings of this cp instance.void
setDepth
(double depth) Sets the depth of this cp instance.void
setDiscontinued
(boolean discontinued) Sets whether this cp instance is discontinued.void
setDiscontinuedDate
(Date discontinuedDate) Sets the discontinued date of this cp instance.void
setDisplayDate
(Date displayDate) Sets the display date of this cp instance.void
setExpirationDate
(Date expirationDate) Sets the expiration date of this cp instance.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this cp instance.void
setGroupId
(long groupId) Sets the group ID of this cp instance.void
Sets the gtin of this cp instance.void
setHeight
(double height) Sets the height of this cp instance.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this cp instance.void
setManufacturerPartNumber
(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
setModifiedDate
(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
(BigDecimal price) Sets the price of this cp instance.void
setPrimaryKey
(long primaryKey) Sets the primary key of this cp instance.void
setPromoPrice
(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
(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
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
(String statusByUserName) Sets the status by user name of this cp instance.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this cp instance.void
setStatusDate
(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
(String subscriptionType) Sets the subscription type of this cp instance.void
setSubscriptionTypeSettings
(String subscriptionTypeSettings) Sets the subscription type settings of this cp instance.void
Sets the unspsc of this cp instance.void
setUserId
(long userId) Sets the user ID of this cp instance.void
setUserName
(String userName) Sets the user name of this cp instance.void
setUserUuid
(String userUuid) Sets the user uuid of this cp instance.void
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this cp instance.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>
- Returns:
- the primary key of this cp instance
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this cp instance.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>
- Parameters:
primaryKey
- the primary key of this cp instance
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this cp instance.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this cp instance
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp instance.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this cp instance
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this cp instance.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>
- Returns:
- the ct collection ID of this cp instance
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp instance.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>
- Parameters:
ctCollectionId
- the ct collection ID of this cp instance
-
getUuid
Returns the uuid of this cp instance.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this cp instance
-
setUuid
Sets the uuid of this cp instance.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this cp instance
-
getExternalReferenceCode
Returns the external reference code of this cp instance.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this cp instance
-
setExternalReferenceCode
Sets the external reference code of this cp instance.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this cp instance
-
getCPInstanceId
long getCPInstanceId()Returns the cp instance ID of this cp instance.- Returns:
- the cp instance ID of this cp instance
-
setCPInstanceId
void setCPInstanceId(long CPInstanceId) Sets the cp instance ID of this cp instance.- Parameters:
CPInstanceId
- the cp instance ID of this cp instance
-
getGroupId
long getGroupId()Returns the group ID of this cp instance.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this cp instance
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this cp instance.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this cp instance
-
getCompanyId
long getCompanyId()Returns the company ID of this cp instance.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this cp instance
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this cp instance.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this cp instance
-
getUserId
long getUserId()Returns the user ID of this cp instance.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user ID of this cp instance
-
setUserId
void setUserId(long userId) Sets the user ID of this cp instance.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userId
- the user ID of this cp instance
-
getUserUuid
String getUserUuid()Returns the user uuid of this cp instance.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this cp instance
-
setUserUuid
Sets the user uuid of this cp instance.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this cp instance
-
getUserName
Returns the user name of this cp instance.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this cp instance
-
setUserName
Sets the user name of this cp instance.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userName
- the user name of this cp instance
-
getCreateDate
Date getCreateDate()Returns the create date of this cp instance.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this cp instance
-
setCreateDate
Sets the create date of this cp instance.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this cp instance
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this cp instance.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this cp instance
-
setModifiedDate
Sets the modified date of this cp instance.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this cp instance
-
getCPDefinitionId
long getCPDefinitionId()Returns the cp definition ID of this cp instance.- Returns:
- the cp definition ID of this cp instance
-
setCPDefinitionId
void setCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp instance.- Parameters:
CPDefinitionId
- the cp definition ID of this cp instance
-
getCPInstanceUuid
Returns the cp instance uuid of this cp instance.- Returns:
- the cp instance uuid of this cp instance
-
setCPInstanceUuid
Sets the cp instance uuid of this cp instance.- Parameters:
CPInstanceUuid
- the cp instance uuid of this cp instance
-
getSku
Returns the sku of this cp instance.- Returns:
- the sku of this cp instance
-
setSku
Sets the sku of this cp instance.- Parameters:
sku
- the sku of this cp instance
-
getGtin
Returns the gtin of this cp instance.- Returns:
- the gtin of this cp instance
-
setGtin
Sets the gtin of this cp instance.- Parameters:
gtin
- the gtin of this cp instance
-
getManufacturerPartNumber
Returns the manufacturer part number of this cp instance.- Returns:
- the manufacturer part number of this cp instance
-
setManufacturerPartNumber
Sets the manufacturer part number of this cp instance.- Parameters:
manufacturerPartNumber
- the manufacturer part number of this cp instance
-
getPurchasable
boolean getPurchasable()Returns the purchasable of this cp instance.- Returns:
- the purchasable of this cp instance
-
isPurchasable
boolean isPurchasable()Returnstrue
if this cp instance is purchasable.- Returns:
true
if this cp instance is purchasable;false
otherwise
-
setPurchasable
void setPurchasable(boolean purchasable) Sets whether this cp instance is purchasable.- Parameters:
purchasable
- the purchasable of this cp instance
-
getWidth
double getWidth()Returns the width of this cp instance.- Returns:
- the width of this cp instance
-
setWidth
void setWidth(double width) Sets the width of this cp instance.- Parameters:
width
- the width of this cp instance
-
getHeight
double getHeight()Returns the height of this cp instance.- Returns:
- the height of this cp instance
-
setHeight
void setHeight(double height) Sets the height of this cp instance.- Parameters:
height
- the height of this cp instance
-
getDepth
double getDepth()Returns the depth of this cp instance.- Returns:
- the depth of this cp instance
-
setDepth
void setDepth(double depth) Sets the depth of this cp instance.- Parameters:
depth
- the depth of this cp instance
-
getWeight
double getWeight()Returns the weight of this cp instance.- Returns:
- the weight of this cp instance
-
setWeight
void setWeight(double weight) Sets the weight of this cp instance.- Parameters:
weight
- the weight of this cp instance
-
getPrice
BigDecimal getPrice()Returns the price of this cp instance.- Returns:
- the price of this cp instance
-
setPrice
Sets the price of this cp instance.- Parameters:
price
- the price of this cp instance
-
getPromoPrice
BigDecimal getPromoPrice()Returns the promo price of this cp instance.- Returns:
- the promo price of this cp instance
-
setPromoPrice
Sets the promo price of this cp instance.- Parameters:
promoPrice
- the promo price of this cp instance
-
getCost
BigDecimal getCost()Returns the cost of this cp instance.- Returns:
- the cost of this cp instance
-
setCost
Sets the cost of this cp instance.- Parameters:
cost
- the cost of this cp instance
-
getPublished
boolean getPublished()Returns the published of this cp instance.- Returns:
- the published of this cp instance
-
isPublished
boolean isPublished()Returnstrue
if this cp instance is published.- Returns:
true
if this cp instance is published;false
otherwise
-
setPublished
void setPublished(boolean published) Sets whether this cp instance is published.- Parameters:
published
- the published of this cp instance
-
getDisplayDate
Date getDisplayDate()Returns the display date of this cp instance.- Returns:
- the display date of this cp instance
-
setDisplayDate
Sets the display date of this cp instance.- Parameters:
displayDate
- the display date of this cp instance
-
getExpirationDate
Date getExpirationDate()Returns the expiration date of this cp instance.- Returns:
- the expiration date of this cp instance
-
setExpirationDate
Sets the expiration date of this cp instance.- Parameters:
expirationDate
- the expiration date of this cp instance
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this cp instance.- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this cp instance
-
setLastPublishDate
Sets the last publish date of this cp instance.- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this cp instance
-
getOverrideSubscriptionInfo
boolean getOverrideSubscriptionInfo()Returns the override subscription info of this cp instance.- Returns:
- the override subscription info of this cp instance
-
isOverrideSubscriptionInfo
boolean isOverrideSubscriptionInfo()Returnstrue
if this cp instance is override subscription info.- Returns:
true
if this cp instance is override subscription info;false
otherwise
-
setOverrideSubscriptionInfo
void setOverrideSubscriptionInfo(boolean overrideSubscriptionInfo) Sets whether this cp instance is override subscription info.- Parameters:
overrideSubscriptionInfo
- the override subscription info of this cp instance
-
getSubscriptionEnabled
boolean getSubscriptionEnabled()Returns the subscription enabled of this cp instance.- Returns:
- the subscription enabled of this cp instance
-
isSubscriptionEnabled
boolean isSubscriptionEnabled()Returnstrue
if this cp instance is subscription enabled.- Returns:
true
if this cp instance is subscription enabled;false
otherwise
-
setSubscriptionEnabled
void setSubscriptionEnabled(boolean subscriptionEnabled) Sets whether this cp instance is subscription enabled.- Parameters:
subscriptionEnabled
- the subscription enabled of this cp instance
-
getSubscriptionLength
int getSubscriptionLength()Returns the subscription length of this cp instance.- Returns:
- the subscription length of this cp instance
-
setSubscriptionLength
void setSubscriptionLength(int subscriptionLength) Sets the subscription length of this cp instance.- Parameters:
subscriptionLength
- the subscription length of this cp instance
-
getSubscriptionType
Returns the subscription type of this cp instance.- Returns:
- the subscription type of this cp instance
-
setSubscriptionType
Sets the subscription type of this cp instance.- Parameters:
subscriptionType
- the subscription type of this cp instance
-
getSubscriptionTypeSettings
Returns the subscription type settings of this cp instance.- Returns:
- the subscription type settings of this cp instance
-
setSubscriptionTypeSettings
Sets the subscription type settings of this cp instance.- Parameters:
subscriptionTypeSettings
- the subscription type settings of this cp instance
-
getMaxSubscriptionCycles
long getMaxSubscriptionCycles()Returns the max subscription cycles of this cp instance.- Returns:
- the max subscription cycles of this cp instance
-
setMaxSubscriptionCycles
void setMaxSubscriptionCycles(long maxSubscriptionCycles) Sets the max subscription cycles of this cp instance.- Parameters:
maxSubscriptionCycles
- the max subscription cycles of this cp instance
-
getDeliverySubscriptionEnabled
boolean getDeliverySubscriptionEnabled()Returns the delivery subscription enabled of this cp instance.- Returns:
- the delivery subscription enabled of this cp instance
-
isDeliverySubscriptionEnabled
boolean isDeliverySubscriptionEnabled()Returnstrue
if this cp instance is delivery subscription enabled.- Returns:
true
if this cp instance is delivery subscription enabled;false
otherwise
-
setDeliverySubscriptionEnabled
void setDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled) Sets whether this cp instance is delivery subscription enabled.- Parameters:
deliverySubscriptionEnabled
- the delivery subscription enabled of this cp instance
-
getDeliverySubscriptionLength
int getDeliverySubscriptionLength()Returns the delivery subscription length of this cp instance.- Returns:
- the delivery subscription length of this cp instance
-
setDeliverySubscriptionLength
void setDeliverySubscriptionLength(int deliverySubscriptionLength) Sets the delivery subscription length of this cp instance.- Parameters:
deliverySubscriptionLength
- the delivery subscription length of this cp instance
-
getDeliverySubscriptionType
Returns the delivery subscription type of this cp instance.- Returns:
- the delivery subscription type of this cp instance
-
setDeliverySubscriptionType
Sets the delivery subscription type of this cp instance.- Parameters:
deliverySubscriptionType
- the delivery subscription type of this cp instance
-
getDeliverySubscriptionTypeSettings
Returns the delivery subscription type settings of this cp instance.- Returns:
- the delivery subscription type settings of this cp instance
-
setDeliverySubscriptionTypeSettings
Sets the delivery subscription type settings of this cp instance.- Parameters:
deliverySubscriptionTypeSettings
- the delivery subscription type settings of this cp instance
-
getDeliveryMaxSubscriptionCycles
long getDeliveryMaxSubscriptionCycles()Returns the delivery max subscription cycles of this cp instance.- Returns:
- the delivery max subscription cycles of this cp instance
-
setDeliveryMaxSubscriptionCycles
void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this cp instance.- Parameters:
deliveryMaxSubscriptionCycles
- the delivery max subscription cycles of this cp instance
-
getUnspsc
Returns the unspsc of this cp instance.- Returns:
- the unspsc of this cp instance
-
setUnspsc
Sets the unspsc of this cp instance.- Parameters:
unspsc
- the unspsc of this cp instance
-
getDiscontinued
boolean getDiscontinued()Returns the discontinued of this cp instance.- Returns:
- the discontinued of this cp instance
-
isDiscontinued
boolean isDiscontinued()Returnstrue
if this cp instance is discontinued.- Returns:
true
if this cp instance is discontinued;false
otherwise
-
setDiscontinued
void setDiscontinued(boolean discontinued) Sets whether this cp instance is discontinued.- Parameters:
discontinued
- the discontinued of this cp instance
-
getDiscontinuedDate
Date getDiscontinuedDate()Returns the discontinued date of this cp instance.- Returns:
- the discontinued date of this cp instance
-
setDiscontinuedDate
Sets the discontinued date of this cp instance.- Parameters:
discontinuedDate
- the discontinued date of this cp instance
-
getReplacementCPInstanceUuid
Returns the replacement cp instance uuid of this cp instance.- Returns:
- the replacement cp instance uuid of this cp instance
-
setReplacementCPInstanceUuid
Sets the replacement cp instance uuid of this cp instance.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuid of this cp instance
-
getReplacementCProductId
long getReplacementCProductId()Returns the replacement c product ID of this cp instance.- Returns:
- the replacement c product ID of this cp instance
-
setReplacementCProductId
void setReplacementCProductId(long replacementCProductId) Sets the replacement c product ID of this cp instance.- Parameters:
replacementCProductId
- the replacement c product ID of this cp instance
-
getStatus
int getStatus()Returns the status of this cp instance.- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status of this cp instance
-
setStatus
void setStatus(int status) Sets the status of this cp instance.- Specified by:
setStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
status
- the status of this cp instance
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this cp instance.- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this cp instance
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this cp instance.- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this cp instance
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this cp instance.- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this cp instance
-
setStatusByUserUuid
Sets the status by user uuid of this cp instance.- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this cp instance
-
getStatusByUserName
Returns the status by user name of this cp instance.- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this cp instance
-
setStatusByUserName
Sets the status by user name of this cp instance.- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this cp instance
-
getStatusDate
Date getStatusDate()Returns the status date of this cp instance.- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this cp instance
-
setStatusDate
Sets the status date of this cp instance.- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this cp instance
-
isApproved
boolean isApproved()Returnstrue
if this cp instance is approved.- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp instance is approved;false
otherwise
-
isDenied
boolean isDenied()Returnstrue
if this cp instance is denied.- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp instance is denied;false
otherwise
-
isDraft
boolean isDraft()Returnstrue
if this cp instance is a draft.- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp instance is a draft;false
otherwise
-
isExpired
boolean isExpired()Returnstrue
if this cp instance is expired.- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp instance is expired;false
otherwise
-
isInactive
boolean isInactive()Returnstrue
if this cp instance is inactive.- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp instance is inactive;false
otherwise
-
isIncomplete
boolean isIncomplete()Returnstrue
if this cp instance is incomplete.- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp instance is incomplete;false
otherwise
-
isPending
boolean isPending()Returnstrue
if this cp instance is pending.- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp instance is pending;false
otherwise
-
isScheduled
boolean isScheduled()Returnstrue
if this cp instance is scheduled.- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp instance is scheduled;false
otherwise
-
cloneWithOriginalValues
CPInstance cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPInstance>
-
toXmlString
-