@JSON(strict=true)
public class CPDefinitionInventoryModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CPDefinitionInventory>
implements com.liferay.commerce.model.CPDefinitionInventoryModel
This implementation and its corresponding interface CPDefinitionInventoryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CPDefinitionInventoryImpl.
CPDefinitionInventoryImpl,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static long |
CPDEFINITIONID_COLUMN_BITMASK |
static long |
CPDEFINITIONINVENTORYID_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
UUID_COLUMN_BITMASK |
| Constructor and Description |
|---|
CPDefinitionInventoryModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.commerce.model.CPDefinitionInventory cpDefinitionInventory) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAllowedOrderQuantities() |
java.util.Map<java.lang.String,java.util.function.Function<com.liferay.commerce.model.CPDefinitionInventory,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<com.liferay.commerce.model.CPDefinitionInventory,java.lang.Object>> |
getAttributeSetterBiConsumers() |
boolean |
getBackOrders() |
long |
getColumnBitmask() |
long |
getCompanyId() |
long |
getCPDefinitionId() |
java.lang.String |
getCPDefinitionInventoryEngine() |
long |
getCPDefinitionInventoryId() |
java.util.Date |
getCreateDate() |
boolean |
getDisplayAvailability() |
boolean |
getDisplayStockQuantity() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
java.lang.String |
getLowStockActivity() |
int |
getMaxOrderQuantity() |
int |
getMinOrderQuantity() |
int |
getMinStockQuantity() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
int |
getMultipleOrderQuantity() |
long |
getOriginalCompanyId() |
long |
getOriginalCPDefinitionId() |
long |
getOriginalGroupId() |
java.lang.String |
getOriginalUuid() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isBackOrders() |
boolean |
isDisplayAvailability() |
boolean |
isDisplayStockQuantity() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setAllowedOrderQuantities(java.lang.String allowedOrderQuantities) |
void |
setBackOrders(boolean backOrders) |
void |
setCompanyId(long companyId) |
void |
setCPDefinitionId(long CPDefinitionId) |
void |
setCPDefinitionInventoryEngine(java.lang.String CPDefinitionInventoryEngine) |
void |
setCPDefinitionInventoryId(long CPDefinitionInventoryId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setDisplayAvailability(boolean displayAvailability) |
void |
setDisplayStockQuantity(boolean displayStockQuantity) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
void |
setLowStockActivity(java.lang.String lowStockActivity) |
void |
setMaxOrderQuantity(int maxOrderQuantity) |
void |
setMinOrderQuantity(int minOrderQuantity) |
void |
setMinStockQuantity(int minStockQuantity) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setMultipleOrderQuantity(int multipleOrderQuantity) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
void |
setUuid(java.lang.String uuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.commerce.model.CPDefinitionInventory> |
toCacheModel() |
com.liferay.commerce.model.CPDefinitionInventory |
toEscapedModel() |
static com.liferay.commerce.model.CPDefinitionInventory |
toModel(com.liferay.commerce.model.CPDefinitionInventorySoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.commerce.model.CPDefinitionInventory> |
toModels(com.liferay.commerce.model.CPDefinitionInventorySoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CPDEFINITIONID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long CPDEFINITIONINVENTORYID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.commerce.model.CPDefinitionInventory toModel(com.liferay.commerce.model.CPDefinitionInventorySoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.commerce.model.CPDefinitionInventory> toModels(com.liferay.commerce.model.CPDefinitionInventorySoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.commerce.model.CPDefinitionInventoryModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.commerce.model.CPDefinitionInventoryModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CPDefinitionInventory>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CPDefinitionInventory>public java.util.Map<java.lang.String,java.util.function.Function<com.liferay.commerce.model.CPDefinitionInventory,java.lang.Object>> getAttributeGetterFunctions()
public java.util.Map<java.lang.String,java.util.function.BiConsumer<com.liferay.commerce.model.CPDefinitionInventory,java.lang.Object>> getAttributeSetterBiConsumers()
@JSON public java.lang.String getUuid()
getUuid in interface com.liferay.commerce.model.CPDefinitionInventoryModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.commerce.model.CPDefinitionInventoryModelsetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getOriginalUuid()
@JSON public long getCPDefinitionInventoryId()
getCPDefinitionInventoryId in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setCPDefinitionInventoryId(long CPDefinitionInventoryId)
setCPDefinitionInventoryId in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public long getGroupId()
getGroupId in interface com.liferay.commerce.model.CPDefinitionInventoryModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.commerce.model.CPDefinitionInventoryModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getOriginalGroupId()
@JSON public long getCompanyId()
getCompanyId in interface com.liferay.commerce.model.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 void setCompanyId(long companyId)
setCompanyId in interface com.liferay.commerce.model.CPDefinitionInventoryModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.commerce.model.CPDefinitionInventoryModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserId(long userId)
setUserId in interface com.liferay.commerce.model.CPDefinitionInventoryModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.commerce.model.CPDefinitionInventoryModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.commerce.model.CPDefinitionInventoryModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.commerce.model.CPDefinitionInventoryModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.commerce.model.CPDefinitionInventoryModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.commerce.model.CPDefinitionInventoryModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.commerce.model.CPDefinitionInventoryModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.commerce.model.CPDefinitionInventoryModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.commerce.model.CPDefinitionInventoryModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public long getCPDefinitionId()
getCPDefinitionId in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setCPDefinitionId(long CPDefinitionId)
setCPDefinitionId in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic long getOriginalCPDefinitionId()
@JSON public java.lang.String getCPDefinitionInventoryEngine()
getCPDefinitionInventoryEngine in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setCPDefinitionInventoryEngine(java.lang.String CPDefinitionInventoryEngine)
setCPDefinitionInventoryEngine in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public java.lang.String getLowStockActivity()
getLowStockActivity in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setLowStockActivity(java.lang.String lowStockActivity)
setLowStockActivity in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public boolean getDisplayAvailability()
getDisplayAvailability in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public boolean isDisplayAvailability()
isDisplayAvailability in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setDisplayAvailability(boolean displayAvailability)
setDisplayAvailability in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public boolean getDisplayStockQuantity()
getDisplayStockQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public boolean isDisplayStockQuantity()
isDisplayStockQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setDisplayStockQuantity(boolean displayStockQuantity)
setDisplayStockQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public int getMinStockQuantity()
getMinStockQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setMinStockQuantity(int minStockQuantity)
setMinStockQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public boolean getBackOrders()
getBackOrders in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public boolean isBackOrders()
isBackOrders in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setBackOrders(boolean backOrders)
setBackOrders in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public int getMinOrderQuantity()
getMinOrderQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setMinOrderQuantity(int minOrderQuantity)
setMinOrderQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public int getMaxOrderQuantity()
getMaxOrderQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setMaxOrderQuantity(int maxOrderQuantity)
setMaxOrderQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public java.lang.String getAllowedOrderQuantities()
getAllowedOrderQuantities in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setAllowedOrderQuantities(java.lang.String allowedOrderQuantities)
setAllowedOrderQuantities in interface com.liferay.commerce.model.CPDefinitionInventoryModel@JSON public int getMultipleOrderQuantity()
getMultipleOrderQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic void setMultipleOrderQuantity(int multipleOrderQuantity)
setMultipleOrderQuantity in interface com.liferay.commerce.model.CPDefinitionInventoryModelpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.commerce.model.CPDefinitionInventoryModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CPDefinitionInventory>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.commerce.model.CPDefinitionInventoryModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CPDefinitionInventory>public com.liferay.commerce.model.CPDefinitionInventory toEscapedModel()
toEscapedModel in interface com.liferay.commerce.model.CPDefinitionInventoryModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CPDefinitionInventory>public java.lang.Object clone()
clone in interface com.liferay.commerce.model.CPDefinitionInventoryModelclone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CPDefinitionInventory>public int compareTo(com.liferay.commerce.model.CPDefinitionInventory cpDefinitionInventory)
compareTo in interface com.liferay.commerce.model.CPDefinitionInventoryModelcompareTo in interface java.lang.Comparable<com.liferay.commerce.model.CPDefinitionInventory>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.commerce.model.CPDefinitionInventoryModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CPDefinitionInventory>public com.liferay.portal.kernel.model.CacheModel<com.liferay.commerce.model.CPDefinitionInventory> toCacheModel()
toCacheModel in interface com.liferay.commerce.model.CPDefinitionInventoryModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CPDefinitionInventory>public java.lang.String toString()
toString in interface com.liferay.commerce.model.CPDefinitionInventoryModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.commerce.model.CPDefinitionInventoryModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CPDefinitionInventory>