public class CommerceInventoryWarehouseItemWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceInventoryWarehouseItem> implements CommerceInventoryWarehouseItem, com.liferay.portal.kernel.model.ModelWrapper<CommerceInventoryWarehouseItem>
This class is a wrapper for CommerceInventoryWarehouseItem
.
CommerceInventoryWarehouseItem
,
Serialized FormCOMMERCE_INVENTORY_WAREHOUSE_ITEM_ID_ACCESSOR
Constructor and Description |
---|
CommerceInventoryWarehouseItemWrapper(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem) |
Modifier and Type | Method and Description |
---|---|
CommerceInventoryWarehouseItem |
cloneWithOriginalValues() |
CommerceInventoryWarehouse |
getCommerceInventoryWarehouse() |
long |
getCommerceInventoryWarehouseId()
Returns the commerce inventory warehouse ID of this commerce inventory warehouse item.
|
long |
getCommerceInventoryWarehouseItemId()
Returns the commerce inventory warehouse item ID of this commerce inventory warehouse item.
|
long |
getCompanyId()
Returns the company ID of this commerce inventory warehouse item.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce inventory warehouse item.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce inventory warehouse item.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce inventory warehouse item.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce inventory warehouse item.
|
long |
getPrimaryKey()
Returns the primary key of this commerce inventory warehouse item.
|
int |
getQuantity()
Returns the quantity of this commerce inventory warehouse item.
|
int |
getReservedQuantity()
Returns the reserved quantity of this commerce inventory warehouse item.
|
java.lang.String |
getSku()
Returns the sku of this commerce inventory warehouse item.
|
long |
getUserId()
Returns the user ID of this commerce inventory warehouse item.
|
java.lang.String |
getUserName()
Returns the user name of this commerce inventory warehouse item.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce inventory warehouse item.
|
void |
persist() |
void |
setCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
Sets the commerce inventory warehouse ID of this commerce inventory warehouse item.
|
void |
setCommerceInventoryWarehouseItemId(long commerceInventoryWarehouseItemId)
Sets the commerce inventory warehouse item ID of this commerce inventory warehouse item.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce inventory warehouse item.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce inventory warehouse item.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce inventory warehouse item.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce inventory warehouse item.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce inventory warehouse item.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce inventory warehouse item.
|
void |
setQuantity(int quantity)
Sets the quantity of this commerce inventory warehouse item.
|
void |
setReservedQuantity(int reservedQuantity)
Sets the reserved quantity of this commerce inventory warehouse item.
|
void |
setSku(java.lang.String sku)
Sets the sku of this commerce inventory warehouse item.
|
void |
setUserId(long userId)
Sets the user ID of this commerce inventory warehouse item.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce inventory warehouse item.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce inventory warehouse item.
|
protected CommerceInventoryWarehouseItemWrapper |
wrap(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem) |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public CommerceInventoryWarehouseItemWrapper(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouseItem>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouseItem>
public CommerceInventoryWarehouseItem cloneWithOriginalValues()
cloneWithOriginalValues
in interface CommerceInventoryWarehouseItemModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouseItem>
public CommerceInventoryWarehouse getCommerceInventoryWarehouse() throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouse
in interface CommerceInventoryWarehouseItem
com.liferay.portal.kernel.exception.PortalException
public long getCommerceInventoryWarehouseId()
getCommerceInventoryWarehouseId
in interface CommerceInventoryWarehouseItemModel
public long getCommerceInventoryWarehouseItemId()
getCommerceInventoryWarehouseItemId
in interface CommerceInventoryWarehouseItemModel
public long getCompanyId()
getCompanyId
in interface CommerceInventoryWarehouseItemModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceInventoryWarehouseItemModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CommerceInventoryWarehouseItemModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceInventoryWarehouseItemModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceInventoryWarehouseItemModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceInventoryWarehouseItemModel
public int getQuantity()
getQuantity
in interface CommerceInventoryWarehouseItemModel
public int getReservedQuantity()
getReservedQuantity
in interface CommerceInventoryWarehouseItemModel
public java.lang.String getSku()
getSku
in interface CommerceInventoryWarehouseItemModel
public long getUserId()
getUserId
in interface CommerceInventoryWarehouseItemModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceInventoryWarehouseItemModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceInventoryWarehouseItemModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
setCommerceInventoryWarehouseId
in interface CommerceInventoryWarehouseItemModel
commerceInventoryWarehouseId
- the commerce inventory warehouse ID of this commerce inventory warehouse itempublic void setCommerceInventoryWarehouseItemId(long commerceInventoryWarehouseItemId)
setCommerceInventoryWarehouseItemId
in interface CommerceInventoryWarehouseItemModel
commerceInventoryWarehouseItemId
- the commerce inventory warehouse item ID of this commerce inventory warehouse itempublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceInventoryWarehouseItemModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this commerce inventory warehouse itempublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceInventoryWarehouseItemModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce inventory warehouse itempublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CommerceInventoryWarehouseItemModel
externalReferenceCode
- the external reference code of this commerce inventory warehouse itempublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceInventoryWarehouseItemModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce inventory warehouse itempublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceInventoryWarehouseItemModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce inventory warehouse itempublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceInventoryWarehouseItemModel
primaryKey
- the primary key of this commerce inventory warehouse itempublic void setQuantity(int quantity)
setQuantity
in interface CommerceInventoryWarehouseItemModel
quantity
- the quantity of this commerce inventory warehouse itempublic void setReservedQuantity(int reservedQuantity)
setReservedQuantity
in interface CommerceInventoryWarehouseItemModel
reservedQuantity
- the reserved quantity of this commerce inventory warehouse itempublic void setSku(java.lang.String sku)
setSku
in interface CommerceInventoryWarehouseItemModel
sku
- the sku of this commerce inventory warehouse itempublic void setUserId(long userId)
setUserId
in interface CommerceInventoryWarehouseItemModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce inventory warehouse itempublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceInventoryWarehouseItemModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce inventory warehouse itempublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceInventoryWarehouseItemModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce inventory warehouse itemprotected CommerceInventoryWarehouseItemWrapper wrap(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceInventoryWarehouseItem>