Class CPInstanceWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPInstance>
com.liferay.commerce.product.model.CPInstanceWrapper
- All Implemented Interfaces:
CPInstance,CPInstanceModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CPInstance>,com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.ModelWrapper<CPInstance>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedGroupedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.WorkflowedModel,Serializable,Cloneable,Comparable<CPInstance>
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.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.commerce.product.model.CPInstance
CP_INSTANCE_ID_ACCESSOR -
Constructor Summary
Constructors -
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.getCPInstanceUnitOfMeasures(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) 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.com.liferay.portal.kernel.util.UnicodePropertiesdoublegetDepth()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.com.liferay.exportimport.kernel.lar.StagedModelTypeintReturns 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.com.liferay.portal.kernel.util.UnicodePropertiesReturns 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.booleanbooleanReturnstrueif 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.voidpersist()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.voidsetDeliverySubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties) 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.voidsetModelAttributes(Map<String, Object> attributes) 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.voidsetSubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties) 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.protected CPInstanceWrapperwrap(CPInstance cpInstance) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CPInstanceWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CPInstance>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CPInstance>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CPInstance>- Specified by:
cloneWithOriginalValuesin interfaceCPInstanceModel
-
fetchCPInstanceUnitOfMeasure
- Specified by:
fetchCPInstanceUnitOfMeasurein interfaceCPInstance
-
getCommerceCatalog
public CommerceCatalog getCommerceCatalog() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCommerceCatalogin interfaceCPInstance- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyId
public long getCompanyId()Returns the company ID of this cp instance.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCPInstanceModel- 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
-
getCost
Returns the cost of this cp instance.- Specified by:
getCostin interfaceCPInstanceModel- Returns:
- the cost of this cp instance
-
getCPDefinition
- Specified by:
getCPDefinitionin interfaceCPInstance- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionId
public long getCPDefinitionId()Returns the cp definition ID of this cp instance.- Specified by:
getCPDefinitionIdin interfaceCPInstanceModel- Returns:
- the cp definition ID of this cp instance
-
getCPInstanceId
public long getCPInstanceId()Returns the cp instance ID of this cp instance.- Specified by:
getCPInstanceIdin interfaceCPInstanceModel- Returns:
- the cp instance ID of this cp instance
-
getCPInstanceUnitOfMeasure
public CPInstanceUnitOfMeasure getCPInstanceUnitOfMeasure(String key) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPInstanceUnitOfMeasurein interfaceCPInstance- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPInstanceUnitOfMeasures
public List<CPInstanceUnitOfMeasure> getCPInstanceUnitOfMeasures(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) - Specified by:
getCPInstanceUnitOfMeasuresin interfaceCPInstance
-
getCPInstanceUuid
Returns the cp instance uuid of this cp instance.- Specified by:
getCPInstanceUuidin interfaceCPInstanceModel- Returns:
- the cp instance uuid of this cp instance
-
getCPSubscriptionInfo
public CPSubscriptionInfo getCPSubscriptionInfo() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCPSubscriptionInfoin interfaceCPInstance- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCreateDate
Returns the create date of this cp instance.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCPInstanceModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this cp instance
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this cp instance.- Specified by:
getCtCollectionIdin interfaceCPInstanceModel- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>- Returns:
- the ct collection ID of this cp instance
-
getDeliveryMaxSubscriptionCycles
public long getDeliveryMaxSubscriptionCycles()Returns the delivery max subscription cycles of this cp instance.- Specified by:
getDeliveryMaxSubscriptionCyclesin interfaceCPInstanceModel- Returns:
- the delivery max subscription cycles of this cp instance
-
getDeliverySubscriptionEnabled
public boolean getDeliverySubscriptionEnabled()Returns the delivery subscription enabled of this cp instance.- Specified by:
getDeliverySubscriptionEnabledin interfaceCPInstanceModel- Returns:
- the delivery subscription enabled of this cp instance
-
getDeliverySubscriptionLength
public int getDeliverySubscriptionLength()Returns the delivery subscription length of this cp instance.- Specified by:
getDeliverySubscriptionLengthin interfaceCPInstanceModel- Returns:
- the delivery subscription length of this cp instance
-
getDeliverySubscriptionType
Returns the delivery subscription type of this cp instance.- Specified by:
getDeliverySubscriptionTypein interfaceCPInstanceModel- Returns:
- the delivery subscription type of this cp instance
-
getDeliverySubscriptionTypeSettings
Returns the delivery subscription type settings of this cp instance.- Specified by:
getDeliverySubscriptionTypeSettingsin interfaceCPInstanceModel- Returns:
- the delivery subscription type settings of this cp instance
-
getDeliverySubscriptionTypeSettingsUnicodeProperties
public com.liferay.portal.kernel.util.UnicodeProperties getDeliverySubscriptionTypeSettingsUnicodeProperties()- Specified by:
getDeliverySubscriptionTypeSettingsUnicodePropertiesin interfaceCPInstance
-
getDepth
public double getDepth()Returns the depth of this cp instance.- Specified by:
getDepthin interfaceCPInstanceModel- Returns:
- the depth of this cp instance
-
getDiscontinued
public boolean getDiscontinued()Returns the discontinued of this cp instance.- Specified by:
getDiscontinuedin interfaceCPInstanceModel- Returns:
- the discontinued of this cp instance
-
getDiscontinuedDate
Returns the discontinued date of this cp instance.- Specified by:
getDiscontinuedDatein interfaceCPInstanceModel- Returns:
- the discontinued date of this cp instance
-
getDisplayDate
Returns the display date of this cp instance.- Specified by:
getDisplayDatein interfaceCPInstanceModel- Returns:
- the display date of this cp instance
-
getExpirationDate
Returns the expiration date of this cp instance.- Specified by:
getExpirationDatein interfaceCPInstanceModel- Returns:
- the expiration date of this cp instance
-
getExternalReferenceCode
Returns the external reference code of this cp instance.- Specified by:
getExternalReferenceCodein interfaceCPInstanceModel- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this cp instance
-
getGroupId
public long getGroupId()Returns the group ID of this cp instance.- Specified by:
getGroupIdin interfaceCPInstanceModel- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this cp instance
-
getGtin
Returns the gtin of this cp instance.- Specified by:
getGtinin interfaceCPInstanceModel- Returns:
- the gtin of this cp instance
-
getHeight
public double getHeight()Returns the height of this cp instance.- Specified by:
getHeightin interfaceCPInstanceModel- Returns:
- the height of this cp instance
-
getLastPublishDate
Returns the last publish date of this cp instance.- Specified by:
getLastPublishDatein interfaceCPInstanceModel- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this cp instance
-
getManufacturerPartNumber
Returns the manufacturer part number of this cp instance.- Specified by:
getManufacturerPartNumberin interfaceCPInstanceModel- Returns:
- the manufacturer part number of this cp instance
-
getMaxSubscriptionCycles
public long getMaxSubscriptionCycles()Returns the max subscription cycles of this cp instance.- Specified by:
getMaxSubscriptionCyclesin interfaceCPInstanceModel- Returns:
- the max subscription cycles of this cp instance
-
getModifiedDate
Returns the modified date of this cp instance.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCPInstanceModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this cp instance
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this cp instance.- Specified by:
getMvccVersionin interfaceCPInstanceModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this cp instance
-
getOverrideSubscriptionInfo
public boolean getOverrideSubscriptionInfo()Returns the override subscription info of this cp instance.- Specified by:
getOverrideSubscriptionInfoin interfaceCPInstanceModel- Returns:
- the override subscription info of this cp instance
-
getPrice
Returns the price of this cp instance.- Specified by:
getPricein interfaceCPInstanceModel- Returns:
- the price of this cp instance
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this cp instance.- Specified by:
getPrimaryKeyin interfaceCPInstanceModel- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>- Returns:
- the primary key of this cp instance
-
getPromoPrice
Returns the promo price of this cp instance.- Specified by:
getPromoPricein interfaceCPInstanceModel- Returns:
- the promo price of this cp instance
-
getPublished
public boolean getPublished()Returns the published of this cp instance.- Specified by:
getPublishedin interfaceCPInstanceModel- Returns:
- the published of this cp instance
-
getPurchasable
public boolean getPurchasable()Returns the purchasable of this cp instance.- Specified by:
getPurchasablein interfaceCPInstanceModel- Returns:
- the purchasable of this cp instance
-
getReplacementCPInstanceUuid
Returns the replacement cp instance uuid of this cp instance.- Specified by:
getReplacementCPInstanceUuidin interfaceCPInstanceModel- Returns:
- the replacement cp instance uuid of this cp instance
-
getReplacementCProductId
public long getReplacementCProductId()Returns the replacement c product ID of this cp instance.- Specified by:
getReplacementCProductIdin interfaceCPInstanceModel- Returns:
- the replacement c product ID of this cp instance
-
getSku
Returns the sku of this cp instance.- Specified by:
getSkuin interfaceCPInstanceModel- Returns:
- the sku of this cp instance
-
getStatus
public int getStatus()Returns the status of this cp instance.- Specified by:
getStatusin interfaceCPInstanceModel- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this cp instance
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this cp instance.- Specified by:
getStatusByUserIdin interfaceCPInstanceModel- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this cp instance
-
getStatusByUserName
Returns the status by user name of this cp instance.- Specified by:
getStatusByUserNamein interfaceCPInstanceModel- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this cp instance
-
getStatusByUserUuid
Returns the status by user uuid of this cp instance.- Specified by:
getStatusByUserUuidin interfaceCPInstanceModel- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this cp instance
-
getStatusDate
Returns the status date of this cp instance.- Specified by:
getStatusDatein interfaceCPInstanceModel- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this cp instance
-
getSubscriptionEnabled
public boolean getSubscriptionEnabled()Returns the subscription enabled of this cp instance.- Specified by:
getSubscriptionEnabledin interfaceCPInstanceModel- Returns:
- the subscription enabled of this cp instance
-
getSubscriptionLength
public int getSubscriptionLength()Returns the subscription length of this cp instance.- Specified by:
getSubscriptionLengthin interfaceCPInstanceModel- Returns:
- the subscription length of this cp instance
-
getSubscriptionType
Returns the subscription type of this cp instance.- Specified by:
getSubscriptionTypein interfaceCPInstanceModel- Returns:
- the subscription type of this cp instance
-
getSubscriptionTypeSettings
Returns the subscription type settings of this cp instance.- Specified by:
getSubscriptionTypeSettingsin interfaceCPInstanceModel- Returns:
- the subscription type settings of this cp instance
-
getSubscriptionTypeSettingsUnicodeProperties
public com.liferay.portal.kernel.util.UnicodeProperties getSubscriptionTypeSettingsUnicodeProperties()- Specified by:
getSubscriptionTypeSettingsUnicodePropertiesin interfaceCPInstance
-
getUnspsc
Returns the unspsc of this cp instance.- Specified by:
getUnspscin interfaceCPInstanceModel- Returns:
- the unspsc of this cp instance
-
getUserId
public long getUserId()Returns the user ID of this cp instance.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCPInstanceModel- Returns:
- the user ID of this cp instance
-
getUserName
Returns the user name of this cp instance.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCPInstanceModel- Returns:
- the user name of this cp instance
-
getUserUuid
Returns the user uuid of this cp instance.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCPInstanceModel- Returns:
- the user uuid of this cp instance
-
getUuid
Returns the uuid of this cp instance.- Specified by:
getUuidin interfaceCPInstanceModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this cp instance
-
getWeight
public double getWeight()Returns the weight of this cp instance.- Specified by:
getWeightin interfaceCPInstanceModel- Returns:
- the weight of this cp instance
-
getWidth
public double getWidth()Returns the width of this cp instance.- Specified by:
getWidthin interfaceCPInstanceModel- Returns:
- the width of this cp instance
-
hasCPInstanceUnitOfMeasures
public boolean hasCPInstanceUnitOfMeasures()- Specified by:
hasCPInstanceUnitOfMeasuresin interfaceCPInstance
-
isApproved
public boolean isApproved()Returnstrueif this cp instance is approved.- Specified by:
isApprovedin interfaceCPInstanceModel- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is approved;falseotherwise
-
isDeliverySubscriptionEnabled
public boolean isDeliverySubscriptionEnabled()Returnstrueif this cp instance is delivery subscription enabled.- Specified by:
isDeliverySubscriptionEnabledin interfaceCPInstanceModel- Returns:
trueif this cp instance is delivery subscription enabled;falseotherwise
-
isDenied
public boolean isDenied()Returnstrueif this cp instance is denied.- Specified by:
isDeniedin interfaceCPInstanceModel- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is denied;falseotherwise
-
isDiscontinued
public boolean isDiscontinued()Returnstrueif this cp instance is discontinued.- Specified by:
isDiscontinuedin interfaceCPInstanceModel- Returns:
trueif this cp instance is discontinued;falseotherwise
-
isDraft
public boolean isDraft()Returnstrueif this cp instance is a draft.- Specified by:
isDraftin interfaceCPInstanceModel- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is a draft;falseotherwise
-
isExpired
public boolean isExpired()Returnstrueif this cp instance is expired.- Specified by:
isExpiredin interfaceCPInstanceModel- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is expired;falseotherwise
-
isInactive
public boolean isInactive()Returnstrueif this cp instance is inactive.- Specified by:
isInactivein interfaceCPInstanceModel- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is inactive;falseotherwise
-
isIncomplete
public boolean isIncomplete()Returnstrueif this cp instance is incomplete.- Specified by:
isIncompletein interfaceCPInstanceModel- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is incomplete;falseotherwise
-
isOverrideSubscriptionInfo
public boolean isOverrideSubscriptionInfo()Returnstrueif this cp instance is override subscription info.- Specified by:
isOverrideSubscriptionInfoin interfaceCPInstanceModel- Returns:
trueif this cp instance is override subscription info;falseotherwise
-
isPending
public boolean isPending()Returnstrueif this cp instance is pending.- Specified by:
isPendingin interfaceCPInstanceModel- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is pending;falseotherwise
-
isPublished
public boolean isPublished()Returnstrueif this cp instance is published.- Specified by:
isPublishedin interfaceCPInstanceModel- Returns:
trueif this cp instance is published;falseotherwise
-
isPurchasable
public boolean isPurchasable()Returnstrueif this cp instance is purchasable.- Specified by:
isPurchasablein interfaceCPInstanceModel- Returns:
trueif this cp instance is purchasable;falseotherwise
-
isScheduled
public boolean isScheduled()Returnstrueif this cp instance is scheduled.- Specified by:
isScheduledin interfaceCPInstanceModel- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp instance is scheduled;falseotherwise
-
isSubscriptionEnabled
public boolean isSubscriptionEnabled()Returnstrueif this cp instance is subscription enabled.- Specified by:
isSubscriptionEnabledin interfaceCPInstanceModel- Returns:
trueif this cp instance is subscription enabled;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this cp instance.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCPInstanceModel- 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
-
setCost
Sets the cost of this cp instance.- Specified by:
setCostin interfaceCPInstanceModel- Parameters:
cost- the cost of this cp instance
-
setCPDefinitionId
public void setCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp instance.- Specified by:
setCPDefinitionIdin interfaceCPInstanceModel- Parameters:
CPDefinitionId- the cp definition ID of this cp instance
-
setCPInstanceId
public void setCPInstanceId(long CPInstanceId) Sets the cp instance ID of this cp instance.- Specified by:
setCPInstanceIdin interfaceCPInstanceModel- Parameters:
CPInstanceId- the cp instance ID of this cp instance
-
setCPInstanceUuid
Sets the cp instance uuid of this cp instance.- Specified by:
setCPInstanceUuidin interfaceCPInstanceModel- Parameters:
CPInstanceUuid- the cp instance uuid 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 interfaceCPInstanceModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this cp instance
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp instance.- Specified by:
setCtCollectionIdin interfaceCPInstanceModel- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>- Parameters:
ctCollectionId- the ct collection ID of this cp instance
-
setDeliveryMaxSubscriptionCycles
public void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles) Sets the delivery max subscription cycles of this cp instance.- Specified by:
setDeliveryMaxSubscriptionCyclesin interfaceCPInstanceModel- Parameters:
deliveryMaxSubscriptionCycles- the delivery max subscription cycles of this cp instance
-
setDeliverySubscriptionEnabled
public void setDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled) Sets whether this cp instance is delivery subscription enabled.- Specified by:
setDeliverySubscriptionEnabledin interfaceCPInstanceModel- Parameters:
deliverySubscriptionEnabled- the delivery subscription enabled of this cp instance
-
setDeliverySubscriptionLength
public void setDeliverySubscriptionLength(int deliverySubscriptionLength) Sets the delivery subscription length of this cp instance.- Specified by:
setDeliverySubscriptionLengthin interfaceCPInstanceModel- Parameters:
deliverySubscriptionLength- the delivery subscription length of this cp instance
-
setDeliverySubscriptionType
Sets the delivery subscription type of this cp instance.- Specified by:
setDeliverySubscriptionTypein interfaceCPInstanceModel- Parameters:
deliverySubscriptionType- the delivery subscription type of this cp instance
-
setDeliverySubscriptionTypeSettings
Sets the delivery subscription type settings of this cp instance.- Specified by:
setDeliverySubscriptionTypeSettingsin interfaceCPInstanceModel- Parameters:
deliverySubscriptionTypeSettings- the delivery subscription type settings of this cp instance
-
setDeliverySubscriptionTypeSettingsUnicodeProperties
public void setDeliverySubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties) - Specified by:
setDeliverySubscriptionTypeSettingsUnicodePropertiesin interfaceCPInstance
-
setDepth
public void setDepth(double depth) Sets the depth of this cp instance.- Specified by:
setDepthin interfaceCPInstanceModel- Parameters:
depth- the depth of this cp instance
-
setDiscontinued
public void setDiscontinued(boolean discontinued) Sets whether this cp instance is discontinued.- Specified by:
setDiscontinuedin interfaceCPInstanceModel- Parameters:
discontinued- the discontinued of this cp instance
-
setDiscontinuedDate
Sets the discontinued date of this cp instance.- Specified by:
setDiscontinuedDatein interfaceCPInstanceModel- Parameters:
discontinuedDate- the discontinued date of this cp instance
-
setDisplayDate
Sets the display date of this cp instance.- Specified by:
setDisplayDatein interfaceCPInstanceModel- Parameters:
displayDate- the display date of this cp instance
-
setExpirationDate
Sets the expiration date of this cp instance.- Specified by:
setExpirationDatein interfaceCPInstanceModel- Parameters:
expirationDate- the expiration date of this cp instance
-
setExternalReferenceCode
Sets the external reference code of this cp instance.- Specified by:
setExternalReferenceCodein interfaceCPInstanceModel- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this cp instance
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this cp instance.- Specified by:
setGroupIdin interfaceCPInstanceModel- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this cp instance
-
setGtin
Sets the gtin of this cp instance.- Specified by:
setGtinin interfaceCPInstanceModel- Parameters:
gtin- the gtin of this cp instance
-
setHeight
public void setHeight(double height) Sets the height of this cp instance.- Specified by:
setHeightin interfaceCPInstanceModel- Parameters:
height- the height of this cp instance
-
setLastPublishDate
Sets the last publish date of this cp instance.- Specified by:
setLastPublishDatein interfaceCPInstanceModel- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this cp instance
-
setManufacturerPartNumber
Sets the manufacturer part number of this cp instance.- Specified by:
setManufacturerPartNumberin interfaceCPInstanceModel- Parameters:
manufacturerPartNumber- the manufacturer part number of this cp instance
-
setMaxSubscriptionCycles
public void setMaxSubscriptionCycles(long maxSubscriptionCycles) Sets the max subscription cycles of this cp instance.- Specified by:
setMaxSubscriptionCyclesin interfaceCPInstanceModel- Parameters:
maxSubscriptionCycles- the max subscription cycles 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 interfaceCPInstanceModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this cp instance
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp instance.- Specified by:
setMvccVersionin interfaceCPInstanceModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this cp instance
-
setOverrideSubscriptionInfo
public void setOverrideSubscriptionInfo(boolean overrideSubscriptionInfo) Sets whether this cp instance is override subscription info.- Specified by:
setOverrideSubscriptionInfoin interfaceCPInstanceModel- Parameters:
overrideSubscriptionInfo- the override subscription info of this cp instance
-
setPrice
Sets the price of this cp instance.- Specified by:
setPricein interfaceCPInstanceModel- Parameters:
price- the price of this cp instance
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this cp instance.- Specified by:
setPrimaryKeyin interfaceCPInstanceModel- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>- Parameters:
primaryKey- the primary key of this cp instance
-
setPromoPrice
Sets the promo price of this cp instance.- Specified by:
setPromoPricein interfaceCPInstanceModel- Parameters:
promoPrice- the promo price of this cp instance
-
setPublished
public void setPublished(boolean published) Sets whether this cp instance is published.- Specified by:
setPublishedin interfaceCPInstanceModel- Parameters:
published- the published of this cp instance
-
setPurchasable
public void setPurchasable(boolean purchasable) Sets whether this cp instance is purchasable.- Specified by:
setPurchasablein interfaceCPInstanceModel- Parameters:
purchasable- the purchasable of this cp instance
-
setReplacementCPInstanceUuid
Sets the replacement cp instance uuid of this cp instance.- Specified by:
setReplacementCPInstanceUuidin interfaceCPInstanceModel- Parameters:
replacementCPInstanceUuid- the replacement cp instance uuid of this cp instance
-
setReplacementCProductId
public void setReplacementCProductId(long replacementCProductId) Sets the replacement c product ID of this cp instance.- Specified by:
setReplacementCProductIdin interfaceCPInstanceModel- Parameters:
replacementCProductId- the replacement c product ID of this cp instance
-
setSku
Sets the sku of this cp instance.- Specified by:
setSkuin interfaceCPInstanceModel- Parameters:
sku- the sku of this cp instance
-
setStatus
public void setStatus(int status) Sets the status of this cp instance.- Specified by:
setStatusin interfaceCPInstanceModel- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this cp instance
-
setStatusByUserId
public void setStatusByUserId(long statusByUserId) Sets the status by user ID of this cp instance.- Specified by:
setStatusByUserIdin interfaceCPInstanceModel- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this cp instance
-
setStatusByUserName
Sets the status by user name of this cp instance.- Specified by:
setStatusByUserNamein interfaceCPInstanceModel- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this cp instance
-
setStatusByUserUuid
Sets the status by user uuid of this cp instance.- Specified by:
setStatusByUserUuidin interfaceCPInstanceModel- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this cp instance
-
setStatusDate
Sets the status date of this cp instance.- Specified by:
setStatusDatein interfaceCPInstanceModel- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this cp instance
-
setSubscriptionEnabled
public void setSubscriptionEnabled(boolean subscriptionEnabled) Sets whether this cp instance is subscription enabled.- Specified by:
setSubscriptionEnabledin interfaceCPInstanceModel- Parameters:
subscriptionEnabled- the subscription enabled of this cp instance
-
setSubscriptionLength
public void setSubscriptionLength(int subscriptionLength) Sets the subscription length of this cp instance.- Specified by:
setSubscriptionLengthin interfaceCPInstanceModel- Parameters:
subscriptionLength- the subscription length of this cp instance
-
setSubscriptionType
Sets the subscription type of this cp instance.- Specified by:
setSubscriptionTypein interfaceCPInstanceModel- Parameters:
subscriptionType- the subscription type of this cp instance
-
setSubscriptionTypeSettings
Sets the subscription type settings of this cp instance.- Specified by:
setSubscriptionTypeSettingsin interfaceCPInstanceModel- Parameters:
subscriptionTypeSettings- the subscription type settings of this cp instance
-
setSubscriptionTypeSettingsUnicodeProperties
public void setSubscriptionTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties) - Specified by:
setSubscriptionTypeSettingsUnicodePropertiesin interfaceCPInstance
-
setUnspsc
Sets the unspsc of this cp instance.- Specified by:
setUnspscin interfaceCPInstanceModel- Parameters:
unspsc- the unspsc of this cp instance
-
setUserId
public void setUserId(long userId) Sets the user ID of this cp instance.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCPInstanceModel- Parameters:
userId- the user ID of this cp instance
-
setUserName
Sets the user name of this cp instance.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCPInstanceModel- Parameters:
userName- the user name of this cp instance
-
setUserUuid
Sets the user uuid of this cp instance.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCPInstanceModel- Parameters:
userUuid- the user uuid of this cp instance
-
setUuid
Sets the uuid of this cp instance.- Specified by:
setUuidin interfaceCPInstanceModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this cp instance
-
setWeight
public void setWeight(double weight) Sets the weight of this cp instance.- Specified by:
setWeightin interfaceCPInstanceModel- Parameters:
weight- the weight of this cp instance
-
setWidth
public void setWidth(double width) Sets the width of this cp instance.- Specified by:
setWidthin interfaceCPInstanceModel- Parameters:
width- the width of this cp instance
-
toXmlString
- Specified by:
toXmlStringin interfaceCPInstanceModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<CPInstance>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<CPInstance>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPInstance>
-