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 TypeMethodDescriptionlongReturns the company ID of this cp instance.getCost()Returns the cost of this cp instance.longReturns the cp definition ID of this cp instance.longReturns 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.longReturns the ct collection ID of this cp instance.longReturns the delivery max subscription cycles of this cp instance.booleanReturns the delivery subscription enabled of this cp instance.intReturns 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.doublegetDepth()Returns the depth of this cp instance.booleanReturns 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.longReturns the group ID of this cp instance.getGtin()Returns the gtin of this cp instance.doubleReturns the height of this cp instance.Returns the last publish date of this cp instance.Returns the manufacturer part number of this cp instance.longReturns the max subscription cycles of this cp instance.Returns the modified date of this cp instance.longReturns the mvcc version of this cp instance.booleanReturns the override subscription info of this cp instance.getPrice()Returns the price of this cp instance.longReturns the primary key of this cp instance.Returns the promo price of this cp instance.booleanReturns the published of this cp instance.booleanReturns the purchasable of this cp instance.Returns the replacement cp instance uuid of this cp instance.longReturns the replacement c product ID of this cp instance.getSku()Returns the sku of this cp instance.intReturns the status of this cp instance.longReturns 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.booleanReturns the subscription enabled of this cp instance.intReturns 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.longReturns 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.doubleReturns the weight of this cp instance.doublegetWidth()Returns the width of this cp instance.booleanReturnstrueif this cp instance is approved.booleanReturnstrueif this cp instance is delivery subscription enabled.booleanisDenied()Returnstrueif this cp instance is denied.booleanReturnstrueif this cp instance is discontinued.booleanisDraft()Returnstrueif this cp instance is a draft.booleanReturnstrueif this cp instance is expired.booleanReturnstrueif this cp instance is inactive.booleanReturnstrueif this cp instance is incomplete.booleanReturnstrueif this cp instance is override subscription info.booleanReturnstrueif this cp instance is pending.booleanReturnstrueif this cp instance is published.booleanReturnstrueif this cp instance is purchasable.booleanReturnstrueif this cp instance is scheduled.booleanReturnstrueif this cp instance is subscription enabled.voidsetCompanyId(long companyId) Sets the company ID of this cp instance.voidsetCost(BigDecimal cost) Sets the cost of this cp instance.voidsetCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp instance.voidsetCPInstanceId(long CPInstanceId) Sets the cp instance ID of this cp instance.voidsetCPInstanceUuid(String CPInstanceUuid) Sets the cp instance uuid of this cp instance.voidsetCreateDate(Date createDate) Sets the create date of this cp instance.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp instance.voidsetDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this cp instance.voidsetDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled) Sets whether this cp instance is delivery subscription enabled.voidsetDeliverySubscriptionLength(int deliverySubscriptionLength) Sets the delivery subscription length of this cp instance.voidsetDeliverySubscriptionType(String deliverySubscriptionType) Sets the delivery subscription type of this cp instance.voidsetDeliverySubscriptionTypeSettings(String deliverySubscriptionTypeSettings) Sets the delivery subscription type settings of this cp instance.voidsetDepth(double depth) Sets the depth of this cp instance.voidsetDiscontinued(boolean discontinued) Sets whether this cp instance is discontinued.voidsetDiscontinuedDate(Date discontinuedDate) Sets the discontinued date of this cp instance.voidsetDisplayDate(Date displayDate) Sets the display date of this cp instance.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this cp instance.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this cp instance.voidsetGroupId(long groupId) Sets the group ID of this cp instance.voidSets the gtin of this cp instance.voidsetHeight(double height) Sets the height of this cp instance.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this cp instance.voidsetManufacturerPartNumber(String manufacturerPartNumber) Sets the manufacturer part number of this cp instance.voidsetMaxSubscriptionCycles(long maxSubscriptionCycles) Sets the max subscription cycles of this cp instance.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this cp instance.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this cp instance.voidsetOverrideSubscriptionInfo(boolean overrideSubscriptionInfo) Sets whether this cp instance is override subscription info.voidsetPrice(BigDecimal price) Sets the price of this cp instance.voidsetPrimaryKey(long primaryKey) Sets the primary key of this cp instance.voidsetPromoPrice(BigDecimal promoPrice) Sets the promo price of this cp instance.voidsetPublished(boolean published) Sets whether this cp instance is published.voidsetPurchasable(boolean purchasable) Sets whether this cp instance is purchasable.voidsetReplacementCPInstanceUuid(String replacementCPInstanceUuid) Sets the replacement cp instance uuid of this cp instance.voidsetReplacementCProductId(long replacementCProductId) Sets the replacement c product ID of this cp instance.voidSets the sku of this cp instance.voidsetStatus(int status) Sets the status of this cp instance.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this cp instance.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this cp instance.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this cp instance.voidsetStatusDate(Date statusDate) Sets the status date of this cp instance.voidsetSubscriptionEnabled(boolean subscriptionEnabled) Sets whether this cp instance is subscription enabled.voidsetSubscriptionLength(int subscriptionLength) Sets the subscription length of this cp instance.voidsetSubscriptionType(String subscriptionType) Sets the subscription type of this cp instance.voidsetSubscriptionTypeSettings(String subscriptionTypeSettings) Sets the subscription type settings of this cp instance.voidSets the unspsc of this cp instance.voidsetUserId(long userId) Sets the user ID of this cp instance.voidsetUserName(String userName) Sets the user name of this cp instance.voidsetUserUuid(String userUuid) Sets the user uuid of this cp instance.voidSets the uuid of this cp instance.voidsetWeight(double weight) Sets the weight of this cp instance.voidsetWidth(double width) Sets the width of this cp instance.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods 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:
getPrimaryKeyin 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:
setPrimaryKeyin 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:
getMvccVersionin 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:
setMvccVersionin 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:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this cp instance
-
setUuid
Sets the uuid of this cp instance.- Specified by:
setUuidin 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:
getExternalReferenceCodein 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:
setExternalReferenceCodein 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:
getGroupIdin 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:
setGroupIdin 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:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin 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:
getUserIdin 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:
setUserIdin 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:
getUserUuidin 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:
setUserUuidin 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:
getUserNamein 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:
setUserNamein 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:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein 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:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein 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:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein 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:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein 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()Returnstrueif this cp instance is purchasable.- Returns:
trueif this cp instance is purchasable;falseotherwise
-
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()Returnstrueif this cp instance is published.- Returns:
trueif this cp instance is published;falseotherwise
-
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:
getLastPublishDatein 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:
setLastPublishDatein 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()Returnstrueif this cp instance is override subscription info.- Returns:
trueif this cp instance is override subscription info;falseotherwise
-
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()Returnstrueif this cp instance is subscription enabled.- Returns:
trueif this cp instance is subscription enabled;falseotherwise
-
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()Returnstrueif this cp instance is delivery subscription enabled.- Returns:
trueif this cp instance is delivery subscription enabled;falseotherwise
-
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()Returnstrueif this cp instance is discontinued.- Returns:
trueif this cp instance is discontinued;falseotherwise
-
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:
getStatusin 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:
setStatusin 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:
getStatusByUserIdin 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:
setStatusByUserIdin 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:
getStatusByUserUuidin 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:
setStatusByUserUuidin 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:
getStatusByUserNamein 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:
setStatusByUserNamein 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:
getStatusDatein 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:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this cp instance
-
isApproved
boolean isApproved()Returnstrueif this cp instance is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this cp instance is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this cp instance is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this cp instance is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this cp instance is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this cp instance is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this cp instance is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this cp instance is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is scheduled;falseotherwise
-
cloneWithOriginalValues
CPInstance cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CPInstance>
-
toXmlString
-