@ProviderType public interface CPDefinitionInventoryModel extends com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
This interface and its corresponding implementation com.liferay.commerce.model.impl.CPDefinitionInventoryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.model.impl.CPDefinitionInventoryImpl.
CPDefinitionInventory| Modifier and Type | Method and Description |
|---|---|
CPDefinitionInventory |
cloneWithOriginalValues() |
java.lang.String |
getAllowedOrderQuantities()
Returns the allowed order quantities of this cp definition inventory.
|
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.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.
|
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 |
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 |
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.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringlong getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>primaryKey - the primary key of this cp definition inventorylong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this cp definition inventorylong getCtCollectionId()
getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>ctCollectionId - the ct collection ID of this cp definition inventory@AutoEscape java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this cp definition inventorylong getCPDefinitionInventoryId()
void setCPDefinitionInventoryId(long CPDefinitionInventoryId)
CPDefinitionInventoryId - the cp definition inventory ID of this cp definition inventorylong getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this cp definition inventorylong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelvoid setCompanyId(long companyId)
setCompanyId 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 inventorylong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this cp definition inventoryjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this cp definition inventory@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this cp definition inventoryjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this cp definition inventoryjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this cp definition inventorylong getCPDefinitionId()
void setCPDefinitionId(long CPDefinitionId)
CPDefinitionId - the cp definition ID of this cp definition inventory@AutoEscape java.lang.String getCPDefinitionInventoryEngine()
void setCPDefinitionInventoryEngine(java.lang.String CPDefinitionInventoryEngine)
CPDefinitionInventoryEngine - the cp definition inventory engine of this cp definition inventory@AutoEscape java.lang.String getLowStockActivity()
void setLowStockActivity(java.lang.String lowStockActivity)
lowStockActivity - the low stock activity of this cp definition inventoryboolean getDisplayAvailability()
boolean isDisplayAvailability()
true if this cp definition inventory is display availability.true if this cp definition inventory is display availability; false otherwisevoid setDisplayAvailability(boolean displayAvailability)
displayAvailability - the display availability of this cp definition inventoryboolean getDisplayStockQuantity()
boolean isDisplayStockQuantity()
true if this cp definition inventory is display stock quantity.true if this cp definition inventory is display stock quantity; false otherwisevoid setDisplayStockQuantity(boolean displayStockQuantity)
displayStockQuantity - the display stock quantity of this cp definition inventoryint getMinStockQuantity()
void setMinStockQuantity(int minStockQuantity)
minStockQuantity - the min stock quantity of this cp definition inventoryboolean getBackOrders()
boolean isBackOrders()
true if this cp definition inventory is back orders.true if this cp definition inventory is back orders; false otherwisevoid setBackOrders(boolean backOrders)
backOrders - the back orders of this cp definition inventoryint getMinOrderQuantity()
void setMinOrderQuantity(int minOrderQuantity)
minOrderQuantity - the min order quantity of this cp definition inventoryint getMaxOrderQuantity()
void setMaxOrderQuantity(int maxOrderQuantity)
maxOrderQuantity - the max order quantity of this cp definition inventory@AutoEscape java.lang.String getAllowedOrderQuantities()
void setAllowedOrderQuantities(java.lang.String allowedOrderQuantities)
allowedOrderQuantities - the allowed order quantities of this cp definition inventoryint getMultipleOrderQuantity()
void setMultipleOrderQuantity(int multipleOrderQuantity)
multipleOrderQuantity - the multiple order quantity of this cp definition inventoryCPDefinitionInventory cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>