Class CommerceInventoryWarehouseItemWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceInventoryWarehouseItem>
com.liferay.commerce.inventory.model.CommerceInventoryWarehouseItemWrapper
- All Implemented Interfaces:
CommerceInventoryWarehouseItem
,CommerceInventoryWarehouseItemModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouseItem>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceInventoryWarehouseItem>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,Serializable
,Cloneable
,Comparable<CommerceInventoryWarehouseItem>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.inventory.model.CommerceInventoryWarehouseItem
COMMERCE_INVENTORY_WAREHOUSE_ITEM_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceInventoryWarehouseItemWrapper
(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem) -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the commerce inventory warehouse ID of this commerce inventory warehouse item.long
Returns the commerce inventory warehouse item ID of this commerce inventory warehouse item.long
Returns the company ID of this commerce inventory warehouse item.Returns the create date of this commerce inventory warehouse item.Returns the external reference code of this commerce inventory warehouse item.Returns the modified date of this commerce inventory warehouse item.long
Returns the mvcc version of this commerce inventory warehouse item.long
Returns the primary key of this commerce inventory warehouse item.Returns the quantity of this commerce inventory warehouse item.Returns the reserved quantity of this commerce inventory warehouse item.getSku()
Returns the sku of this commerce inventory warehouse item.com.liferay.exportimport.kernel.lar.StagedModelType
Returns the unit of measure key of this commerce inventory warehouse item.long
Returns the user ID of this commerce inventory warehouse item.Returns the user name of this commerce inventory warehouse item.Returns the user uuid of this commerce inventory warehouse item.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
(Date createDate) Sets the create date of this commerce inventory warehouse item.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this commerce inventory warehouse item.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(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
(BigDecimal quantity) Sets the quantity of this commerce inventory warehouse item.void
setReservedQuantity
(BigDecimal reservedQuantity) Sets the reserved quantity of this commerce inventory warehouse item.void
Sets the sku of this commerce inventory warehouse item.void
setUnitOfMeasureKey
(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
(String userName) Sets the user name of this commerce inventory warehouse item.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce inventory warehouse item.void
Sets the uuid of this commerce inventory warehouse item.protected CommerceInventoryWarehouseItemWrapper
wrap
(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceInventoryWarehouseItemWrapper
public CommerceInventoryWarehouseItemWrapper(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem)
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouseItem>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouseItem>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouseItem>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceInventoryWarehouseItemModel
-
getCommerceInventoryWarehouse
public CommerceInventoryWarehouse getCommerceInventoryWarehouse() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCommerceInventoryWarehouse
in interfaceCommerceInventoryWarehouseItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseId
public long getCommerceInventoryWarehouseId()Returns the commerce inventory warehouse ID of this commerce inventory warehouse item.- Specified by:
getCommerceInventoryWarehouseId
in interfaceCommerceInventoryWarehouseItemModel
- Returns:
- the commerce inventory warehouse ID of this commerce inventory warehouse item
-
getCommerceInventoryWarehouseItemId
public long getCommerceInventoryWarehouseItemId()Returns the commerce inventory warehouse item ID of this commerce inventory warehouse item.- Specified by:
getCommerceInventoryWarehouseItemId
in interfaceCommerceInventoryWarehouseItemModel
- Returns:
- the commerce inventory warehouse item ID of this commerce inventory warehouse item
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce inventory warehouse item.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this commerce inventory warehouse item
-
getCreateDate
Returns the create date of this commerce inventory warehouse item.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this commerce inventory warehouse item
-
getExternalReferenceCode
Returns the external reference code of this commerce inventory warehouse item.- Specified by:
getExternalReferenceCode
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this commerce inventory warehouse item
-
getModifiedDate
Returns the modified date of this commerce inventory warehouse item.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this commerce inventory warehouse item
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce inventory warehouse item.- Specified by:
getMvccVersion
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce inventory warehouse item
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce inventory warehouse item.- Specified by:
getPrimaryKey
in interfaceCommerceInventoryWarehouseItemModel
- Returns:
- the primary key of this commerce inventory warehouse item
-
getQuantity
Returns the quantity of this commerce inventory warehouse item.- Specified by:
getQuantity
in interfaceCommerceInventoryWarehouseItemModel
- Returns:
- the quantity of this commerce inventory warehouse item
-
getReservedQuantity
Returns the reserved quantity of this commerce inventory warehouse item.- Specified by:
getReservedQuantity
in interfaceCommerceInventoryWarehouseItemModel
- Returns:
- the reserved quantity of this commerce inventory warehouse item
-
getSku
Returns the sku of this commerce inventory warehouse item.- Specified by:
getSku
in interfaceCommerceInventoryWarehouseItemModel
- Returns:
- the sku of this commerce inventory warehouse item
-
getUnitOfMeasureKey
Returns the unit of measure key of this commerce inventory warehouse item.- Specified by:
getUnitOfMeasureKey
in interfaceCommerceInventoryWarehouseItemModel
- Returns:
- the unit of measure key of this commerce inventory warehouse item
-
getUserId
public long getUserId()Returns the user ID of this commerce inventory warehouse item.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceInventoryWarehouseItemModel
- Returns:
- the user ID of this commerce inventory warehouse item
-
getUserName
Returns the user name of this commerce inventory warehouse item.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceInventoryWarehouseItemModel
- Returns:
- the user name of this commerce inventory warehouse item
-
getUserUuid
Returns the user uuid of this commerce inventory warehouse item.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceInventoryWarehouseItemModel
- Returns:
- the user uuid of this commerce inventory warehouse item
-
getUuid
Returns the uuid of this commerce inventory warehouse item.- Specified by:
getUuid
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce inventory warehouse item
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCommerceInventoryWarehouseId
public void setCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) Sets the commerce inventory warehouse ID of this commerce inventory warehouse item.- Specified by:
setCommerceInventoryWarehouseId
in interfaceCommerceInventoryWarehouseItemModel
- Parameters:
commerceInventoryWarehouseId
- the commerce inventory warehouse ID of this commerce inventory warehouse item
-
setCommerceInventoryWarehouseItemId
public void setCommerceInventoryWarehouseItemId(long commerceInventoryWarehouseItemId) Sets the commerce inventory warehouse item ID of this commerce inventory warehouse item.- Specified by:
setCommerceInventoryWarehouseItemId
in interfaceCommerceInventoryWarehouseItemModel
- Parameters:
commerceInventoryWarehouseItemId
- the commerce inventory warehouse item ID of this commerce inventory warehouse item
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce inventory warehouse item.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this commerce inventory warehouse item
-
setCreateDate
Sets the create date of this commerce inventory warehouse item.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this commerce inventory warehouse item
-
setExternalReferenceCode
Sets the external reference code of this commerce inventory warehouse item.- Specified by:
setExternalReferenceCode
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this commerce inventory warehouse item
-
setModifiedDate
Sets the modified date of this commerce inventory warehouse item.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this commerce inventory warehouse item
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce inventory warehouse item.- Specified by:
setMvccVersion
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce inventory warehouse item
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce inventory warehouse item.- Specified by:
setPrimaryKey
in interfaceCommerceInventoryWarehouseItemModel
- Parameters:
primaryKey
- the primary key of this commerce inventory warehouse item
-
setQuantity
Sets the quantity of this commerce inventory warehouse item.- Specified by:
setQuantity
in interfaceCommerceInventoryWarehouseItemModel
- Parameters:
quantity
- the quantity of this commerce inventory warehouse item
-
setReservedQuantity
Sets the reserved quantity of this commerce inventory warehouse item.- Specified by:
setReservedQuantity
in interfaceCommerceInventoryWarehouseItemModel
- Parameters:
reservedQuantity
- the reserved quantity of this commerce inventory warehouse item
-
setSku
Sets the sku of this commerce inventory warehouse item.- Specified by:
setSku
in interfaceCommerceInventoryWarehouseItemModel
- Parameters:
sku
- the sku of this commerce inventory warehouse item
-
setUnitOfMeasureKey
Sets the unit of measure key of this commerce inventory warehouse item.- Specified by:
setUnitOfMeasureKey
in interfaceCommerceInventoryWarehouseItemModel
- Parameters:
unitOfMeasureKey
- the unit of measure key of this commerce inventory warehouse item
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce inventory warehouse item.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceInventoryWarehouseItemModel
- Parameters:
userId
- the user ID of this commerce inventory warehouse item
-
setUserName
Sets the user name of this commerce inventory warehouse item.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceInventoryWarehouseItemModel
- Parameters:
userName
- the user name of this commerce inventory warehouse item
-
setUserUuid
Sets the user uuid of this commerce inventory warehouse item.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceInventoryWarehouseItemModel
- Parameters:
userUuid
- the user uuid of this commerce inventory warehouse item
-
setUuid
Sets the uuid of this commerce inventory warehouse item.- Specified by:
setUuid
in interfaceCommerceInventoryWarehouseItemModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce inventory warehouse item
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceInventoryWarehouseItemModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
protected CommerceInventoryWarehouseItemWrapper wrap(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem) - Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceInventoryWarehouseItem>
-