Package com.liferay.commerce.model
Class CPDefinitionInventoryWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionInventory>
com.liferay.commerce.model.CPDefinitionInventoryWrapper
- All Implemented Interfaces:
CPDefinitionInventory,CPDefinitionInventoryModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>,com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionInventory>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel,Serializable,Cloneable,Comparable<CPDefinitionInventory>
public class CPDefinitionInventoryWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionInventory>
implements CPDefinitionInventory, com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionInventory>
This class is a wrapper for CPDefinitionInventory.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.commerce.model.CPDefinitionInventory
CP_DEFINITION_INVENTORY_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the allowed order quantities of this cp definition inventory.booleanReturns the back orders of this cp definition inventory.longReturns the company ID of this cp definition inventory.longReturns the cp definition ID of this cp definition inventory.Returns the cp definition inventory engine of this cp definition inventory.longReturns the cp definition inventory ID of this cp definition inventory.Returns the create date of this cp definition inventory.longReturns the ct collection ID of this cp definition inventory.booleanReturns the display availability of this cp definition inventory.booleanReturns the display stock quantity of this cp definition inventory.longReturns the group ID of this cp definition inventory.Returns the low stock activity of this cp definition inventory.Returns the max order quantity of this cp definition inventory.Returns the min order quantity of this cp definition inventory.Returns the min stock quantity of this cp definition inventory.Returns the modified date of this cp definition inventory.Returns the multiple order quantity of this cp definition inventory.longReturns the mvcc version of this cp definition inventory.longReturns the primary key of this cp definition inventory.com.liferay.exportimport.kernel.lar.StagedModelTypelongReturns the user ID of this cp definition inventory.Returns the user name of this cp definition inventory.Returns the user uuid of this cp definition inventory.getUuid()Returns the uuid of this cp definition inventory.booleanReturnstrueif this cp definition inventory is back orders.booleanReturnstrueif this cp definition inventory is display availability.booleanReturnstrueif this cp definition inventory is display stock quantity.voidpersist()voidsetAllowedOrderQuantities(String allowedOrderQuantities) Sets the allowed order quantities of this cp definition inventory.voidsetBackOrders(boolean backOrders) Sets whether this cp definition inventory is back orders.voidsetCompanyId(long companyId) Sets the company ID of this cp definition inventory.voidsetCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp definition inventory.voidsetCPDefinitionInventoryEngine(String CPDefinitionInventoryEngine) Sets the cp definition inventory engine of this cp definition inventory.voidsetCPDefinitionInventoryId(long CPDefinitionInventoryId) Sets the cp definition inventory ID of this cp definition inventory.voidsetCreateDate(Date createDate) Sets the create date of this cp definition inventory.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp definition inventory.voidsetDisplayAvailability(boolean displayAvailability) Sets whether this cp definition inventory is display availability.voidsetDisplayStockQuantity(boolean displayStockQuantity) Sets whether this cp definition inventory is display stock quantity.voidsetGroupId(long groupId) Sets the group ID of this cp definition inventory.voidsetLowStockActivity(String lowStockActivity) Sets the low stock activity of this cp definition inventory.voidsetMaxOrderQuantity(BigDecimal maxOrderQuantity) Sets the max order quantity of this cp definition inventory.voidsetMinOrderQuantity(BigDecimal minOrderQuantity) Sets the min order quantity of this cp definition inventory.voidsetMinStockQuantity(BigDecimal minStockQuantity) Sets the min stock quantity of this cp definition inventory.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this cp definition inventory.voidsetMultipleOrderQuantity(BigDecimal multipleOrderQuantity) Sets the multiple order quantity of this cp definition inventory.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition inventory.voidsetPrimaryKey(long primaryKey) Sets the primary key of this cp definition inventory.voidsetUserId(long userId) Sets the user ID of this cp definition inventory.voidsetUserName(String userName) Sets the user name of this cp definition inventory.voidsetUserUuid(String userUuid) Sets the user uuid of this cp definition inventory.voidSets the uuid of this cp definition inventory.protected CPDefinitionInventoryWrapperwrap(CPDefinitionInventory cpDefinitionInventory) 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
-
CPDefinitionInventoryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>- Specified by:
cloneWithOriginalValuesin interfaceCPDefinitionInventoryModel
-
getAllowedOrderQuantities
Returns the allowed order quantities of this cp definition inventory.- Specified by:
getAllowedOrderQuantitiesin interfaceCPDefinitionInventoryModel- Returns:
- the allowed order quantities of this cp definition inventory
-
getAllowedOrderQuantitiesArray
- Specified by:
getAllowedOrderQuantitiesArrayin interfaceCPDefinitionInventory
-
getBackOrders
public boolean getBackOrders()Returns the back orders of this cp definition inventory.- Specified by:
getBackOrdersin interfaceCPDefinitionInventoryModel- Returns:
- the back orders of this cp definition inventory
-
getCompanyId
public long getCompanyId()Returns the company ID of this cp definition inventory.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCPDefinitionInventoryModel- 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 definition inventory
-
getCPDefinitionId
public long getCPDefinitionId()Returns the cp definition ID of this cp definition inventory.- Specified by:
getCPDefinitionIdin interfaceCPDefinitionInventoryModel- Returns:
- the cp definition ID of this cp definition inventory
-
getCPDefinitionInventoryEngine
Returns the cp definition inventory engine of this cp definition inventory.- Specified by:
getCPDefinitionInventoryEnginein interfaceCPDefinitionInventoryModel- Returns:
- the cp definition inventory engine of this cp definition inventory
-
getCPDefinitionInventoryId
public long getCPDefinitionInventoryId()Returns the cp definition inventory ID of this cp definition inventory.- Specified by:
getCPDefinitionInventoryIdin interfaceCPDefinitionInventoryModel- Returns:
- the cp definition inventory ID of this cp definition inventory
-
getCreateDate
Returns the create date of this cp definition inventory.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCPDefinitionInventoryModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this cp definition inventory
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this cp definition inventory.- Specified by:
getCtCollectionIdin interfaceCPDefinitionInventoryModel- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>- Returns:
- the ct collection ID of this cp definition inventory
-
getDisplayAvailability
public boolean getDisplayAvailability()Returns the display availability of this cp definition inventory.- Specified by:
getDisplayAvailabilityin interfaceCPDefinitionInventoryModel- Returns:
- the display availability of this cp definition inventory
-
getDisplayStockQuantity
public boolean getDisplayStockQuantity()Returns the display stock quantity of this cp definition inventory.- Specified by:
getDisplayStockQuantityin interfaceCPDefinitionInventoryModel- Returns:
- the display stock quantity of this cp definition inventory
-
getGroupId
public long getGroupId()Returns the group ID of this cp definition inventory.- Specified by:
getGroupIdin interfaceCPDefinitionInventoryModel- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this cp definition inventory
-
getLowStockActivity
Returns the low stock activity of this cp definition inventory.- Specified by:
getLowStockActivityin interfaceCPDefinitionInventoryModel- Returns:
- the low stock activity of this cp definition inventory
-
getMaxOrderQuantity
Returns the max order quantity of this cp definition inventory.- Specified by:
getMaxOrderQuantityin interfaceCPDefinitionInventoryModel- Returns:
- the max order quantity of this cp definition inventory
-
getMinOrderQuantity
Returns the min order quantity of this cp definition inventory.- Specified by:
getMinOrderQuantityin interfaceCPDefinitionInventoryModel- Returns:
- the min order quantity of this cp definition inventory
-
getMinStockQuantity
Returns the min stock quantity of this cp definition inventory.- Specified by:
getMinStockQuantityin interfaceCPDefinitionInventoryModel- Returns:
- the min stock quantity of this cp definition inventory
-
getModifiedDate
Returns the modified date of this cp definition inventory.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCPDefinitionInventoryModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this cp definition inventory
-
getMultipleOrderQuantity
Returns the multiple order quantity of this cp definition inventory.- Specified by:
getMultipleOrderQuantityin interfaceCPDefinitionInventoryModel- Returns:
- the multiple order quantity of this cp definition inventory
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this cp definition inventory.- Specified by:
getMvccVersionin interfaceCPDefinitionInventoryModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this cp definition inventory
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this cp definition inventory.- Specified by:
getPrimaryKeyin interfaceCPDefinitionInventoryModel- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>- Returns:
- the primary key of this cp definition inventory
-
getUserId
public long getUserId()Returns the user ID of this cp definition inventory.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCPDefinitionInventoryModel- Returns:
- the user ID of this cp definition inventory
-
getUserName
Returns the user name of this cp definition inventory.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCPDefinitionInventoryModel- Returns:
- the user name of this cp definition inventory
-
getUserUuid
Returns the user uuid of this cp definition inventory.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCPDefinitionInventoryModel- Returns:
- the user uuid of this cp definition inventory
-
getUuid
Returns the uuid of this cp definition inventory.- Specified by:
getUuidin interfaceCPDefinitionInventoryModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this cp definition inventory
-
isBackOrders
public boolean isBackOrders()Returnstrueif this cp definition inventory is back orders.- Specified by:
isBackOrdersin interfaceCPDefinitionInventoryModel- Returns:
trueif this cp definition inventory is back orders;falseotherwise
-
isDisplayAvailability
public boolean isDisplayAvailability()Returnstrueif this cp definition inventory is display availability.- Specified by:
isDisplayAvailabilityin interfaceCPDefinitionInventoryModel- Returns:
trueif this cp definition inventory is display availability;falseotherwise
-
isDisplayStockQuantity
public boolean isDisplayStockQuantity()Returnstrueif this cp definition inventory is display stock quantity.- Specified by:
isDisplayStockQuantityin interfaceCPDefinitionInventoryModel- Returns:
trueif this cp definition inventory is display stock quantity;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAllowedOrderQuantities
Sets the allowed order quantities of this cp definition inventory.- Specified by:
setAllowedOrderQuantitiesin interfaceCPDefinitionInventoryModel- Parameters:
allowedOrderQuantities- the allowed order quantities of this cp definition inventory
-
setBackOrders
public void setBackOrders(boolean backOrders) Sets whether this cp definition inventory is back orders.- Specified by:
setBackOrdersin interfaceCPDefinitionInventoryModel- Parameters:
backOrders- the back orders of this cp definition inventory
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this cp definition inventory.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCPDefinitionInventoryModel- 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 definition inventory
-
setCPDefinitionId
public void setCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp definition inventory.- Specified by:
setCPDefinitionIdin interfaceCPDefinitionInventoryModel- Parameters:
CPDefinitionId- the cp definition ID of this cp definition inventory
-
setCPDefinitionInventoryEngine
Sets the cp definition inventory engine of this cp definition inventory.- Specified by:
setCPDefinitionInventoryEnginein interfaceCPDefinitionInventoryModel- Parameters:
CPDefinitionInventoryEngine- the cp definition inventory engine of this cp definition inventory
-
setCPDefinitionInventoryId
public void setCPDefinitionInventoryId(long CPDefinitionInventoryId) Sets the cp definition inventory ID of this cp definition inventory.- Specified by:
setCPDefinitionInventoryIdin interfaceCPDefinitionInventoryModel- Parameters:
CPDefinitionInventoryId- the cp definition inventory ID of this cp definition inventory
-
setCreateDate
Sets the create date of this cp definition inventory.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCPDefinitionInventoryModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this cp definition inventory
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp definition inventory.- Specified by:
setCtCollectionIdin interfaceCPDefinitionInventoryModel- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>- Parameters:
ctCollectionId- the ct collection ID of this cp definition inventory
-
setDisplayAvailability
public void setDisplayAvailability(boolean displayAvailability) Sets whether this cp definition inventory is display availability.- Specified by:
setDisplayAvailabilityin interfaceCPDefinitionInventoryModel- Parameters:
displayAvailability- the display availability of this cp definition inventory
-
setDisplayStockQuantity
public void setDisplayStockQuantity(boolean displayStockQuantity) Sets whether this cp definition inventory is display stock quantity.- Specified by:
setDisplayStockQuantityin interfaceCPDefinitionInventoryModel- Parameters:
displayStockQuantity- the display stock quantity of this cp definition inventory
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this cp definition inventory.- Specified by:
setGroupIdin interfaceCPDefinitionInventoryModel- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this cp definition inventory
-
setLowStockActivity
Sets the low stock activity of this cp definition inventory.- Specified by:
setLowStockActivityin interfaceCPDefinitionInventoryModel- Parameters:
lowStockActivity- the low stock activity of this cp definition inventory
-
setMaxOrderQuantity
Sets the max order quantity of this cp definition inventory.- Specified by:
setMaxOrderQuantityin interfaceCPDefinitionInventoryModel- Parameters:
maxOrderQuantity- the max order quantity of this cp definition inventory
-
setMinOrderQuantity
Sets the min order quantity of this cp definition inventory.- Specified by:
setMinOrderQuantityin interfaceCPDefinitionInventoryModel- Parameters:
minOrderQuantity- the min order quantity of this cp definition inventory
-
setMinStockQuantity
Sets the min stock quantity of this cp definition inventory.- Specified by:
setMinStockQuantityin interfaceCPDefinitionInventoryModel- Parameters:
minStockQuantity- the min stock quantity of this cp definition inventory
-
setModifiedDate
Sets the modified date of this cp definition inventory.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCPDefinitionInventoryModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this cp definition inventory
-
setMultipleOrderQuantity
Sets the multiple order quantity of this cp definition inventory.- Specified by:
setMultipleOrderQuantityin interfaceCPDefinitionInventoryModel- Parameters:
multipleOrderQuantity- the multiple order quantity of this cp definition inventory
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition inventory.- Specified by:
setMvccVersionin interfaceCPDefinitionInventoryModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this cp definition inventory
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this cp definition inventory.- Specified by:
setPrimaryKeyin interfaceCPDefinitionInventoryModel- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>- Parameters:
primaryKey- the primary key of this cp definition inventory
-
setUserId
public void setUserId(long userId) Sets the user ID of this cp definition inventory.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCPDefinitionInventoryModel- Parameters:
userId- the user ID of this cp definition inventory
-
setUserName
Sets the user name of this cp definition inventory.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCPDefinitionInventoryModel- Parameters:
userName- the user name of this cp definition inventory
-
setUserUuid
Sets the user uuid of this cp definition inventory.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCPDefinitionInventoryModel- Parameters:
userUuid- the user uuid of this cp definition inventory
-
setUuid
Sets the uuid of this cp definition inventory.- Specified by:
setUuidin interfaceCPDefinitionInventoryModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this cp definition inventory
-
toXmlString
- Specified by:
toXmlStringin interfaceCPDefinitionInventoryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
-
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<CPDefinitionInventory>
-