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, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
public 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 CPDefinitionInventoryModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
public java.lang.String getAllowedOrderQuantities()
getAllowedOrderQuantities
in interface CPDefinitionInventoryModel
public int[] getAllowedOrderQuantitiesArray()
getAllowedOrderQuantitiesArray
in interface CPDefinitionInventory
public boolean getBackOrders()
getBackOrders
in interface CPDefinitionInventoryModel
public long getCompanyId()
getCompanyId
in interface CPDefinitionInventoryModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public long getCPDefinitionId()
getCPDefinitionId
in interface CPDefinitionInventoryModel
public java.lang.String getCPDefinitionInventoryEngine()
getCPDefinitionInventoryEngine
in interface CPDefinitionInventoryModel
public long getCPDefinitionInventoryId()
getCPDefinitionInventoryId
in interface CPDefinitionInventoryModel
public java.util.Date getCreateDate()
getCreateDate
in interface CPDefinitionInventoryModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getCtCollectionId()
getCtCollectionId
in interface CPDefinitionInventoryModel
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>
public boolean getDisplayAvailability()
getDisplayAvailability
in interface CPDefinitionInventoryModel
public boolean getDisplayStockQuantity()
getDisplayStockQuantity
in interface CPDefinitionInventoryModel
public long getGroupId()
getGroupId
in interface CPDefinitionInventoryModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.lang.String getLowStockActivity()
getLowStockActivity
in interface CPDefinitionInventoryModel
public int getMaxOrderQuantity()
getMaxOrderQuantity
in interface CPDefinitionInventoryModel
public int getMinOrderQuantity()
getMinOrderQuantity
in interface CPDefinitionInventoryModel
public int getMinStockQuantity()
getMinStockQuantity
in interface CPDefinitionInventoryModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CPDefinitionInventoryModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public int getMultipleOrderQuantity()
getMultipleOrderQuantity
in interface CPDefinitionInventoryModel
public long getMvccVersion()
getMvccVersion
in interface CPDefinitionInventoryModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface CPDefinitionInventoryModel
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>
public long getUserId()
getUserId
in interface CPDefinitionInventoryModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CPDefinitionInventoryModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CPDefinitionInventoryModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface CPDefinitionInventoryModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isBackOrders()
true
if this cp definition inventory is back orders.isBackOrders
in interface CPDefinitionInventoryModel
true
if this cp definition inventory is back orders; false
otherwisepublic boolean isDisplayAvailability()
true
if this cp definition inventory is display availability.isDisplayAvailability
in interface CPDefinitionInventoryModel
true
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 CPDefinitionInventoryModel
true
if this cp definition inventory is display stock quantity; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAllowedOrderQuantities(java.lang.String allowedOrderQuantities)
setAllowedOrderQuantities
in interface CPDefinitionInventoryModel
allowedOrderQuantities
- the allowed order quantities of this cp definition inventorypublic void setBackOrders(boolean backOrders)
setBackOrders
in interface CPDefinitionInventoryModel
backOrders
- the back orders of this cp definition inventorypublic void setCompanyId(long companyId)
setCompanyId
in interface CPDefinitionInventoryModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this cp definition inventorypublic void setCPDefinitionId(long CPDefinitionId)
setCPDefinitionId
in interface CPDefinitionInventoryModel
CPDefinitionId
- the cp definition ID of this cp definition inventorypublic void setCPDefinitionInventoryEngine(java.lang.String CPDefinitionInventoryEngine)
setCPDefinitionInventoryEngine
in interface CPDefinitionInventoryModel
CPDefinitionInventoryEngine
- the cp definition inventory engine of this cp definition inventorypublic void setCPDefinitionInventoryId(long CPDefinitionInventoryId)
setCPDefinitionInventoryId
in interface CPDefinitionInventoryModel
CPDefinitionInventoryId
- the cp definition inventory ID of this cp definition inventorypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CPDefinitionInventoryModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this cp definition inventorypublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CPDefinitionInventoryModel
setCtCollectionId
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 CPDefinitionInventoryModel
displayAvailability
- the display availability of this cp definition inventorypublic void setDisplayStockQuantity(boolean displayStockQuantity)
setDisplayStockQuantity
in interface CPDefinitionInventoryModel
displayStockQuantity
- the display stock quantity of this cp definition inventorypublic void setGroupId(long groupId)
setGroupId
in interface CPDefinitionInventoryModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this cp definition inventorypublic void setLowStockActivity(java.lang.String lowStockActivity)
setLowStockActivity
in interface CPDefinitionInventoryModel
lowStockActivity
- the low stock activity of this cp definition inventorypublic void setMaxOrderQuantity(int maxOrderQuantity)
setMaxOrderQuantity
in interface CPDefinitionInventoryModel
maxOrderQuantity
- the max order quantity of this cp definition inventorypublic void setMinOrderQuantity(int minOrderQuantity)
setMinOrderQuantity
in interface CPDefinitionInventoryModel
minOrderQuantity
- the min order quantity of this cp definition inventorypublic void setMinStockQuantity(int minStockQuantity)
setMinStockQuantity
in interface CPDefinitionInventoryModel
minStockQuantity
- the min stock quantity of this cp definition inventorypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CPDefinitionInventoryModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this cp definition inventorypublic void setMultipleOrderQuantity(int multipleOrderQuantity)
setMultipleOrderQuantity
in interface CPDefinitionInventoryModel
multipleOrderQuantity
- the multiple order quantity of this cp definition inventorypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CPDefinitionInventoryModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this cp definition inventorypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CPDefinitionInventoryModel
setPrimaryKey
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 CPDefinitionInventoryModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this cp definition inventorypublic void setUserName(java.lang.String userName)
setUserName
in interface CPDefinitionInventoryModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this cp definition inventorypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CPDefinitionInventoryModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this cp definition inventorypublic void setUuid(java.lang.String uuid)
setUuid
in interface CPDefinitionInventoryModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this cp definition inventorypublic java.lang.String toXmlString()
toXmlString
in interface CPDefinitionInventoryModel
public 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.StagedModel
protected CPDefinitionInventoryWrapper wrap(CPDefinitionInventory cpDefinitionInventory)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionInventory>