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.
|
java.math.BigDecimal |
getQuantity()
Returns the quantity of this commerce inventory warehouse item.
|
java.math.BigDecimal |
getReservedQuantity()
Returns the reserved quantity of this commerce inventory warehouse item.
|
java.lang.String |
getSku()
Returns the sku of this commerce inventory warehouse item.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getUnitOfMeasureKey()
Returns the unit of measure key 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.
|
java.lang.String |
getUuid()
Returns the 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(java.math.BigDecimal quantity)
Sets the quantity of this commerce inventory warehouse item.
|
void |
setReservedQuantity(java.math.BigDecimal 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 |
setUnitOfMeasureKey(java.lang.String unitOfMeasureKey)
Sets the unit of measure key 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.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce inventory warehouse item.
|
java.lang.String |
toXmlString() |
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
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
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
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceInventoryWarehouseItemModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CommerceInventoryWarehouseItemModel
getExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceInventoryWarehouseItemModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceInventoryWarehouseItemModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceInventoryWarehouseItemModel
public java.math.BigDecimal getQuantity()
getQuantity
in interface CommerceInventoryWarehouseItemModel
public java.math.BigDecimal getReservedQuantity()
getReservedQuantity
in interface CommerceInventoryWarehouseItemModel
public java.lang.String getSku()
getSku
in interface CommerceInventoryWarehouseItemModel
public java.lang.String getUnitOfMeasureKey()
getUnitOfMeasureKey
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 java.lang.String getUuid()
getUuid
in interface CommerceInventoryWarehouseItemModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
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
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
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
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this commerce inventory warehouse itempublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CommerceInventoryWarehouseItemModel
setExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
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
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
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(java.math.BigDecimal quantity)
setQuantity
in interface CommerceInventoryWarehouseItemModel
quantity
- the quantity of this commerce inventory warehouse itempublic void setReservedQuantity(java.math.BigDecimal 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 setUnitOfMeasureKey(java.lang.String unitOfMeasureKey)
setUnitOfMeasureKey
in interface CommerceInventoryWarehouseItemModel
unitOfMeasureKey
- the unit of measure key 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 itempublic void setUuid(java.lang.String uuid)
setUuid
in interface CommerceInventoryWarehouseItemModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this commerce inventory warehouse itempublic java.lang.String toXmlString()
toXmlString
in interface CommerceInventoryWarehouseItemModel
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected CommerceInventoryWarehouseItemWrapper wrap(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceInventoryWarehouseItem>