Package com.liferay.commerce.model
Interface CPDefinitionInventoryModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CPDefinitionInventory>,com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel
- All Known Subinterfaces:
CPDefinitionInventory
- All Known Implementing Classes:
CPDefinitionInventoryWrapper
@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
The base model interface for the CPDefinitionInventory service. Represents a row in the "CPDefinitionInventory" database table, with each column mapped to a property of this class.
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.
- See Also:
- Generated:
-
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.longReturns 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.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.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.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this cp definition inventory.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>- Returns:
- the primary key of this cp definition inventory
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this cp definition inventory.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>- Parameters:
primaryKey- the primary key of this cp definition inventory
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this cp definition inventory.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this cp definition inventory
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition inventory.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this cp definition inventory
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this cp definition inventory.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>- Returns:
- the ct collection ID of this cp definition inventory
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp definition inventory.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>- Parameters:
ctCollectionId- the ct collection ID of this cp definition inventory
-
getUuid
Returns the uuid of this cp definition inventory.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this cp definition inventory
-
setUuid
Sets the uuid of this cp definition inventory.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this cp definition inventory
-
getCPDefinitionInventoryId
long getCPDefinitionInventoryId()Returns the cp definition inventory ID of this cp definition inventory.- Returns:
- the cp definition inventory ID of this cp definition inventory
-
setCPDefinitionInventoryId
void setCPDefinitionInventoryId(long CPDefinitionInventoryId) Sets the cp definition inventory ID of this cp definition inventory.- Parameters:
CPDefinitionInventoryId- the cp definition inventory ID of this cp definition inventory
-
getGroupId
long getGroupId()Returns the group ID of this cp definition inventory.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this cp definition inventory
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this cp definition inventory.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this cp definition inventory
-
getCompanyId
long getCompanyId()Returns the company ID of this cp definition inventory.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- 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
-
setCompanyId
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 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
-
getUserId
long getUserId()Returns the user ID of this cp definition inventory.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this cp definition inventory
-
setUserId
void setUserId(long userId) Sets the user ID of this cp definition inventory.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this cp definition inventory
-
getUserUuid
String getUserUuid()Returns the user uuid of this cp definition inventory.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this cp definition inventory
-
setUserUuid
Sets the user uuid of this cp definition inventory.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this cp definition inventory
-
getUserName
Returns the user name of this cp definition inventory.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this cp definition inventory
-
setUserName
Sets the user name of this cp definition inventory.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this cp definition inventory
-
getCreateDate
Date getCreateDate()Returns the create date of this cp definition inventory.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date 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 interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this cp definition inventory
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this cp definition inventory.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date 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 interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this cp definition inventory
-
getCPDefinitionId
long getCPDefinitionId()Returns the cp definition ID of this cp definition inventory.- Returns:
- the cp definition ID of this cp definition inventory
-
setCPDefinitionId
void setCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp definition inventory.- Parameters:
CPDefinitionId- the cp definition ID of this cp definition inventory
-
getCPDefinitionInventoryEngine
Returns the cp definition inventory engine of this cp definition inventory.- Returns:
- the cp definition inventory engine of this cp definition inventory
-
setCPDefinitionInventoryEngine
Sets the cp definition inventory engine of this cp definition inventory.- Parameters:
CPDefinitionInventoryEngine- the cp definition inventory engine of this cp definition inventory
-
getLowStockActivity
Returns the low stock activity of this cp definition inventory.- Returns:
- the low stock activity of this cp definition inventory
-
setLowStockActivity
Sets the low stock activity of this cp definition inventory.- Parameters:
lowStockActivity- the low stock activity of this cp definition inventory
-
getDisplayAvailability
boolean getDisplayAvailability()Returns the display availability of this cp definition inventory.- Returns:
- the display availability of this cp definition inventory
-
isDisplayAvailability
boolean isDisplayAvailability()Returnstrueif this cp definition inventory is display availability.- Returns:
trueif this cp definition inventory is display availability;falseotherwise
-
setDisplayAvailability
void setDisplayAvailability(boolean displayAvailability) Sets whether this cp definition inventory is display availability.- Parameters:
displayAvailability- the display availability of this cp definition inventory
-
getDisplayStockQuantity
boolean getDisplayStockQuantity()Returns the display stock quantity of this cp definition inventory.- Returns:
- the display stock quantity of this cp definition inventory
-
isDisplayStockQuantity
boolean isDisplayStockQuantity()Returnstrueif this cp definition inventory is display stock quantity.- Returns:
trueif this cp definition inventory is display stock quantity;falseotherwise
-
setDisplayStockQuantity
void setDisplayStockQuantity(boolean displayStockQuantity) Sets whether this cp definition inventory is display stock quantity.- Parameters:
displayStockQuantity- the display stock quantity of this cp definition inventory
-
getMinStockQuantity
BigDecimal getMinStockQuantity()Returns the min stock quantity of this cp definition inventory.- Returns:
- the min stock quantity of this cp definition inventory
-
setMinStockQuantity
Sets the min stock quantity of this cp definition inventory.- Parameters:
minStockQuantity- the min stock quantity of this cp definition inventory
-
getBackOrders
boolean getBackOrders()Returns the back orders of this cp definition inventory.- Returns:
- the back orders of this cp definition inventory
-
isBackOrders
boolean isBackOrders()Returnstrueif this cp definition inventory is back orders.- Returns:
trueif this cp definition inventory is back orders;falseotherwise
-
setBackOrders
void setBackOrders(boolean backOrders) Sets whether this cp definition inventory is back orders.- Parameters:
backOrders- the back orders of this cp definition inventory
-
getMinOrderQuantity
BigDecimal getMinOrderQuantity()Returns the min order quantity of this cp definition inventory.- Returns:
- the min order quantity of this cp definition inventory
-
setMinOrderQuantity
Sets the min order quantity of this cp definition inventory.- Parameters:
minOrderQuantity- the min order quantity of this cp definition inventory
-
getMaxOrderQuantity
BigDecimal getMaxOrderQuantity()Returns the max order quantity of this cp definition inventory.- Returns:
- the max order quantity of this cp definition inventory
-
setMaxOrderQuantity
Sets the max order quantity of this cp definition inventory.- Parameters:
maxOrderQuantity- the max order quantity of this cp definition inventory
-
getAllowedOrderQuantities
Returns the allowed order quantities of this cp definition inventory.- Returns:
- the allowed order quantities of this cp definition inventory
-
setAllowedOrderQuantities
Sets the allowed order quantities of this cp definition inventory.- Parameters:
allowedOrderQuantities- the allowed order quantities of this cp definition inventory
-
getMultipleOrderQuantity
BigDecimal getMultipleOrderQuantity()Returns the multiple order quantity of this cp definition inventory.- Returns:
- the multiple order quantity of this cp definition inventory
-
setMultipleOrderQuantity
Sets the multiple order quantity of this cp definition inventory.- Parameters:
multipleOrderQuantity- the multiple order quantity of this cp definition inventory
-
cloneWithOriginalValues
CPDefinitionInventory cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
-
toXmlString
-