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
model
Fields 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.boolean
Returns the back orders of this cp definition inventory.long
Returns the company ID of this cp definition inventory.long
Returns the cp definition ID of this cp definition inventory.Returns the cp definition inventory engine of this cp definition inventory.long
Returns the cp definition inventory ID of this cp definition inventory.Returns the create date of this cp definition inventory.long
Returns the ct collection ID of this cp definition inventory.boolean
Returns the display availability of this cp definition inventory.boolean
Returns the display stock quantity of this cp definition inventory.long
Returns 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.long
Returns the mvcc version of this cp definition inventory.long
Returns the primary key of this cp definition inventory.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns 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.boolean
Returnstrue
if this cp definition inventory is back orders.boolean
Returnstrue
if this cp definition inventory is display availability.boolean
Returnstrue
if this cp definition inventory is display stock quantity.void
persist()
void
setAllowedOrderQuantities
(String allowedOrderQuantities) Sets the allowed order quantities of this cp definition inventory.void
setBackOrders
(boolean backOrders) Sets whether this cp definition inventory is back orders.void
setCompanyId
(long companyId) Sets the company ID of this cp definition inventory.void
setCPDefinitionId
(long CPDefinitionId) Sets the cp definition ID of this cp definition inventory.void
setCPDefinitionInventoryEngine
(String CPDefinitionInventoryEngine) Sets the cp definition inventory engine of this cp definition inventory.void
setCPDefinitionInventoryId
(long CPDefinitionInventoryId) Sets the cp definition inventory ID of this cp definition inventory.void
setCreateDate
(Date createDate) Sets the create date of this cp definition inventory.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this cp definition inventory.void
setDisplayAvailability
(boolean displayAvailability) Sets whether this cp definition inventory is display availability.void
setDisplayStockQuantity
(boolean displayStockQuantity) Sets whether this cp definition inventory is display stock quantity.void
setGroupId
(long groupId) Sets the group ID of this cp definition inventory.void
setLowStockActivity
(String lowStockActivity) Sets the low stock activity of this cp definition inventory.void
setMaxOrderQuantity
(BigDecimal maxOrderQuantity) Sets the max order quantity of this cp definition inventory.void
setMinOrderQuantity
(BigDecimal minOrderQuantity) Sets the min order quantity of this cp definition inventory.void
setMinStockQuantity
(BigDecimal minStockQuantity) Sets the min stock quantity of this cp definition inventory.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this cp definition inventory.void
setMultipleOrderQuantity
(BigDecimal multipleOrderQuantity) Sets the multiple order quantity of this cp definition inventory.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this cp definition inventory.void
setPrimaryKey
(long primaryKey) Sets the primary key of this cp definition inventory.void
setUserId
(long userId) Sets the user ID of this cp definition inventory.void
setUserName
(String userName) Sets the user name of this cp definition inventory.void
setUserUuid
(String userUuid) Sets the user uuid of this cp definition inventory.void
Sets the uuid of this cp definition inventory.protected CPDefinitionInventoryWrapper
wrap
(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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CPDefinitionInventoryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
- Specified by:
cloneWithOriginalValues
in interfaceCPDefinitionInventoryModel
-
getAllowedOrderQuantities
Returns the allowed order quantities of this cp definition inventory.- Specified by:
getAllowedOrderQuantities
in interfaceCPDefinitionInventoryModel
- Returns:
- the allowed order quantities of this cp definition inventory
-
getAllowedOrderQuantitiesArray
- Specified by:
getAllowedOrderQuantitiesArray
in interfaceCPDefinitionInventory
-
getBackOrders
public boolean getBackOrders()Returns the back orders of this cp definition inventory.- Specified by:
getBackOrders
in 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:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCPDefinitionInventoryModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this cp definition inventory
-
getCPDefinitionId
public long getCPDefinitionId()Returns the cp definition ID of this cp definition inventory.- Specified by:
getCPDefinitionId
in 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:
getCPDefinitionInventoryEngine
in 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:
getCPDefinitionInventoryId
in interfaceCPDefinitionInventoryModel
- Returns:
- the cp definition inventory ID of this cp definition inventory
-
getCreateDate
Returns the create date of this cp definition inventory.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCPDefinitionInventoryModel
- Specified by:
getCreateDate
in 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:
getCtCollectionId
in interfaceCPDefinitionInventoryModel
- Specified by:
getCtCollectionId
in 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:
getDisplayAvailability
in 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:
getDisplayStockQuantity
in 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:
getGroupId
in interfaceCPDefinitionInventoryModel
- Specified by:
getGroupId
in 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:
getLowStockActivity
in interfaceCPDefinitionInventoryModel
- Returns:
- the low stock activity of this cp definition inventory
-
getMaxOrderQuantity
Returns the max order quantity of this cp definition inventory.- Specified by:
getMaxOrderQuantity
in interfaceCPDefinitionInventoryModel
- Returns:
- the max order quantity of this cp definition inventory
-
getMinOrderQuantity
Returns the min order quantity of this cp definition inventory.- Specified by:
getMinOrderQuantity
in interfaceCPDefinitionInventoryModel
- Returns:
- the min order quantity of this cp definition inventory
-
getMinStockQuantity
Returns the min stock quantity of this cp definition inventory.- Specified by:
getMinStockQuantity
in interfaceCPDefinitionInventoryModel
- Returns:
- the min stock quantity of this cp definition inventory
-
getModifiedDate
Returns the modified date of this cp definition inventory.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCPDefinitionInventoryModel
- Specified by:
getModifiedDate
in 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:
getMultipleOrderQuantity
in 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:
getMvccVersion
in interfaceCPDefinitionInventoryModel
- Specified by:
getMvccVersion
in 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:
getPrimaryKey
in interfaceCPDefinitionInventoryModel
- Specified by:
getPrimaryKey
in 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:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCPDefinitionInventoryModel
- Returns:
- the user ID of this cp definition inventory
-
getUserName
Returns the user name of this cp definition inventory.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCPDefinitionInventoryModel
- Returns:
- the user name of this cp definition inventory
-
getUserUuid
Returns the user uuid of this cp definition inventory.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCPDefinitionInventoryModel
- Returns:
- the user uuid of this cp definition inventory
-
getUuid
Returns the uuid of this cp definition inventory.- Specified by:
getUuid
in interfaceCPDefinitionInventoryModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this cp definition inventory
-
isBackOrders
public boolean isBackOrders()Returnstrue
if this cp definition inventory is back orders.- Specified by:
isBackOrders
in interfaceCPDefinitionInventoryModel
- Returns:
true
if this cp definition inventory is back orders;false
otherwise
-
isDisplayAvailability
public boolean isDisplayAvailability()Returnstrue
if this cp definition inventory is display availability.- Specified by:
isDisplayAvailability
in interfaceCPDefinitionInventoryModel
- Returns:
true
if this cp definition inventory is display availability;false
otherwise
-
isDisplayStockQuantity
public boolean isDisplayStockQuantity()Returnstrue
if this cp definition inventory is display stock quantity.- Specified by:
isDisplayStockQuantity
in interfaceCPDefinitionInventoryModel
- Returns:
true
if this cp definition inventory is display stock quantity;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAllowedOrderQuantities
Sets the allowed order quantities of this cp definition inventory.- Specified by:
setAllowedOrderQuantities
in 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:
setBackOrders
in 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:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCPDefinitionInventoryModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this cp definition inventory
-
setCPDefinitionId
public void setCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp definition inventory.- Specified by:
setCPDefinitionId
in 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:
setCPDefinitionInventoryEngine
in 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:
setCPDefinitionInventoryId
in 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:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCPDefinitionInventoryModel
- Specified by:
setCreateDate
in 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:
setCtCollectionId
in interfaceCPDefinitionInventoryModel
- Specified by:
setCtCollectionId
in 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:
setDisplayAvailability
in 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:
setDisplayStockQuantity
in 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:
setGroupId
in interfaceCPDefinitionInventoryModel
- Specified by:
setGroupId
in 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:
setLowStockActivity
in 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:
setMaxOrderQuantity
in 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:
setMinOrderQuantity
in 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:
setMinStockQuantity
in interfaceCPDefinitionInventoryModel
- Parameters:
minStockQuantity
- the min stock quantity of this cp definition inventory
-
setModifiedDate
Sets the modified date of this cp definition inventory.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCPDefinitionInventoryModel
- Specified by:
setModifiedDate
in 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:
setMultipleOrderQuantity
in 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:
setMvccVersion
in interfaceCPDefinitionInventoryModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in interfaceCPDefinitionInventoryModel
- Specified by:
setPrimaryKey
in 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:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCPDefinitionInventoryModel
- Parameters:
userId
- the user ID of this cp definition inventory
-
setUserName
Sets the user name of this cp definition inventory.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCPDefinitionInventoryModel
- Parameters:
userName
- the user name of this cp definition inventory
-
setUserUuid
Sets the user uuid of this cp definition inventory.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCPDefinitionInventoryModel
- Parameters:
userUuid
- the user uuid of this cp definition inventory
-
setUuid
Sets the uuid of this cp definition inventory.- Specified by:
setUuid
in interfaceCPDefinitionInventoryModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this cp definition inventory
-
toXmlString
- Specified by:
toXmlString
in interfaceCPDefinitionInventoryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionInventory>
-