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.
CPDefinitionInventory,
Serialized FormCP_DEFINITION_INVENTORY_ID_ACCESSOR| Constructor and Description |
|---|
CPDefinitionInventoryWrapper(CPDefinitionInventory cpDefinitionInventory) |
| Modifier and Type | Method and Description |
|---|---|
CPDefinitionInventory |
cloneWithOriginalValues() |
java.lang.String |
getAllowedOrderQuantities()
Returns the allowed order quantities of this cp definition inventory.
|
int[] |
getAllowedOrderQuantitiesArray() |
java.util.Map<java.lang.String,java.util.function.Function<CPDefinitionInventory,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<CPDefinitionInventory,java.lang.Object>> |
getAttributeSetterBiConsumers() |
boolean |
getBackOrders()
Returns the back orders of this cp definition inventory.
|
long |
getCompanyId()
Returns the company ID of this cp definition inventory.
|
long |
getCPDefinitionId()
Returns the cp definition ID of this cp definition inventory.
|
java.lang.String |
getCPDefinitionInventoryEngine()
Returns the cp definition inventory engine of this cp definition inventory.
|
long |
getCPDefinitionInventoryId()
Returns the cp definition inventory ID of this cp definition inventory.
|
java.util.Date |
getCreateDate()
Returns the create date of this cp definition inventory.
|
long |
getCtCollectionId()
Returns the ct collection ID of this cp definition inventory.
|
boolean |
getDisplayAvailability()
Returns the display availability of this cp definition inventory.
|
boolean |
getDisplayStockQuantity()
Returns the display stock quantity of this cp definition inventory.
|
long |
getGroupId()
Returns the group ID of this cp definition inventory.
|
java.lang.String |
getLowStockActivity()
Returns the low stock activity of this cp definition inventory.
|
int |
getMaxOrderQuantity()
Returns the max order quantity of this cp definition inventory.
|
int |
getMinOrderQuantity()
Returns the min order quantity of this cp definition inventory.
|
int |
getMinStockQuantity()
Returns the min stock quantity of this cp definition inventory.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this cp definition inventory.
|
int |
getMultipleOrderQuantity()
Returns the multiple order quantity of this cp definition inventory.
|
long |
getMvccVersion()
Returns the mvcc version of this cp definition inventory.
|
long |
getPrimaryKey()
Returns the primary key of this cp definition inventory.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this cp definition inventory.
|
java.lang.String |
getUserName()
Returns the user name of this cp definition inventory.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this cp definition inventory.
|
java.lang.String |
getUuid()
Returns the uuid of this cp definition inventory.
|
boolean |
isBackOrders()
Returns
true if this cp definition inventory is back orders. |
boolean |
isDisplayAvailability()
Returns
true if this cp definition inventory is display availability. |
boolean |
isDisplayStockQuantity()
Returns
true if this cp definition inventory is display stock quantity. |
void |
persist() |
void |
setAllowedOrderQuantities(java.lang.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(java.lang.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(java.util.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(java.lang.String lowStockActivity)
Sets the low stock activity of this cp definition inventory.
|
void |
setMaxOrderQuantity(int maxOrderQuantity)
Sets the max order quantity of this cp definition inventory.
|
void |
setMinOrderQuantity(int minOrderQuantity)
Sets the min order quantity of this cp definition inventory.
|
void |
setMinStockQuantity(int minStockQuantity)
Sets the min stock quantity of this cp definition inventory.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this cp definition inventory.
|
void |
setMultipleOrderQuantity(int 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(java.lang.String userName)
Sets the user name of this cp definition inventory.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this cp definition inventory.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this cp definition inventory.
|
java.lang.String |
toXmlString() |
protected CPDefinitionInventoryWrapper |
wrap(CPDefinitionInventory cpDefinitionInventory) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic CPDefinitionInventoryWrapper(CPDefinitionInventory cpDefinitionInventory)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>public CPDefinitionInventory cloneWithOriginalValues()
cloneWithOriginalValues in interface CPDefinitionInventoryModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>public java.lang.String getAllowedOrderQuantities()
getAllowedOrderQuantities in interface CPDefinitionInventoryModelpublic int[] getAllowedOrderQuantitiesArray()
getAllowedOrderQuantitiesArray in interface CPDefinitionInventorypublic boolean getBackOrders()
getBackOrders in interface CPDefinitionInventoryModelpublic long getCompanyId()
getCompanyId in interface CPDefinitionInventoryModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getCPDefinitionId()
getCPDefinitionId in interface CPDefinitionInventoryModelpublic java.lang.String getCPDefinitionInventoryEngine()
getCPDefinitionInventoryEngine in interface CPDefinitionInventoryModelpublic long getCPDefinitionInventoryId()
getCPDefinitionInventoryId in interface CPDefinitionInventoryModelpublic java.util.Date getCreateDate()
getCreateDate in interface CPDefinitionInventoryModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface CPDefinitionInventoryModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>public boolean getDisplayAvailability()
getDisplayAvailability in interface CPDefinitionInventoryModelpublic boolean getDisplayStockQuantity()
getDisplayStockQuantity in interface CPDefinitionInventoryModelpublic long getGroupId()
getGroupId in interface CPDefinitionInventoryModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.lang.String getLowStockActivity()
getLowStockActivity in interface CPDefinitionInventoryModelpublic int getMaxOrderQuantity()
getMaxOrderQuantity in interface CPDefinitionInventoryModelpublic int getMinOrderQuantity()
getMinOrderQuantity in interface CPDefinitionInventoryModelpublic int getMinStockQuantity()
getMinStockQuantity in interface CPDefinitionInventoryModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CPDefinitionInventoryModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic int getMultipleOrderQuantity()
getMultipleOrderQuantity in interface CPDefinitionInventoryModelpublic long getMvccVersion()
getMvccVersion in interface CPDefinitionInventoryModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface CPDefinitionInventoryModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>public long getUserId()
getUserId in interface CPDefinitionInventoryModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CPDefinitionInventoryModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CPDefinitionInventoryModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CPDefinitionInventoryModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isBackOrders()
true if this cp definition inventory is back orders.isBackOrders in interface CPDefinitionInventoryModeltrue if this cp definition inventory is back orders; false otherwisepublic boolean isDisplayAvailability()
true if this cp definition inventory is display availability.isDisplayAvailability in interface CPDefinitionInventoryModeltrue if this cp definition inventory is display availability; false otherwisepublic boolean isDisplayStockQuantity()
true if this cp definition inventory is display stock quantity.isDisplayStockQuantity in interface CPDefinitionInventoryModeltrue if this cp definition inventory is display stock quantity; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAllowedOrderQuantities(java.lang.String allowedOrderQuantities)
setAllowedOrderQuantities in interface CPDefinitionInventoryModelallowedOrderQuantities - the allowed order quantities of this cp definition inventorypublic void setBackOrders(boolean backOrders)
setBackOrders in interface CPDefinitionInventoryModelbackOrders - the back orders of this cp definition inventorypublic void setCompanyId(long companyId)
setCompanyId in interface CPDefinitionInventoryModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this cp definition inventorypublic void setCPDefinitionId(long CPDefinitionId)
setCPDefinitionId in interface CPDefinitionInventoryModelCPDefinitionId - the cp definition ID of this cp definition inventorypublic void setCPDefinitionInventoryEngine(java.lang.String CPDefinitionInventoryEngine)
setCPDefinitionInventoryEngine in interface CPDefinitionInventoryModelCPDefinitionInventoryEngine - the cp definition inventory engine of this cp definition inventorypublic void setCPDefinitionInventoryId(long CPDefinitionInventoryId)
setCPDefinitionInventoryId in interface CPDefinitionInventoryModelCPDefinitionInventoryId - the cp definition inventory ID of this cp definition inventorypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CPDefinitionInventoryModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this cp definition inventorypublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CPDefinitionInventoryModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>ctCollectionId - the ct collection ID of this cp definition inventorypublic void setDisplayAvailability(boolean displayAvailability)
setDisplayAvailability in interface CPDefinitionInventoryModeldisplayAvailability - the display availability of this cp definition inventorypublic void setDisplayStockQuantity(boolean displayStockQuantity)
setDisplayStockQuantity in interface CPDefinitionInventoryModeldisplayStockQuantity - the display stock quantity of this cp definition inventorypublic void setGroupId(long groupId)
setGroupId in interface CPDefinitionInventoryModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this cp definition inventorypublic void setLowStockActivity(java.lang.String lowStockActivity)
setLowStockActivity in interface CPDefinitionInventoryModellowStockActivity - the low stock activity of this cp definition inventorypublic void setMaxOrderQuantity(int maxOrderQuantity)
setMaxOrderQuantity in interface CPDefinitionInventoryModelmaxOrderQuantity - the max order quantity of this cp definition inventorypublic void setMinOrderQuantity(int minOrderQuantity)
setMinOrderQuantity in interface CPDefinitionInventoryModelminOrderQuantity - the min order quantity of this cp definition inventorypublic void setMinStockQuantity(int minStockQuantity)
setMinStockQuantity in interface CPDefinitionInventoryModelminStockQuantity - the min stock quantity of this cp definition inventorypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CPDefinitionInventoryModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this cp definition inventorypublic void setMultipleOrderQuantity(int multipleOrderQuantity)
setMultipleOrderQuantity in interface CPDefinitionInventoryModelmultipleOrderQuantity - the multiple order quantity of this cp definition inventorypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CPDefinitionInventoryModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this cp definition inventorypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CPDefinitionInventoryModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>primaryKey - the primary key of this cp definition inventorypublic void setUserId(long userId)
setUserId in interface CPDefinitionInventoryModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this cp definition inventorypublic void setUserName(java.lang.String userName)
setUserName in interface CPDefinitionInventoryModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this cp definition inventorypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CPDefinitionInventoryModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this cp definition inventorypublic void setUuid(java.lang.String uuid)
setUuid in interface CPDefinitionInventoryModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this cp definition inventorypublic java.lang.String toXmlString()
toXmlString in interface CPDefinitionInventoryModelpublic java.util.Map<java.lang.String,java.util.function.Function<CPDefinitionInventory,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>public java.util.Map<java.lang.String,java.util.function.BiConsumer<CPDefinitionInventory,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CPDefinitionInventoryWrapper wrap(CPDefinitionInventory cpDefinitionInventory)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionInventory>