@ProviderType public class CommerceWarehouseItemWrapper extends java.lang.Object implements CommerceWarehouseItem, com.liferay.portal.kernel.model.ModelWrapper<CommerceWarehouseItem>
This class is a wrapper for CommerceWarehouseItem.
CommerceWarehouseItem,
Serialized FormCOMMERCE_WAREHOUSE_ITEM_ID_ACCESSOR| Constructor and Description |
|---|
CommerceWarehouseItemWrapper(CommerceWarehouseItem commerceWarehouseItem) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(CommerceWarehouseItem commerceWarehouseItem) |
boolean |
equals(java.lang.Object obj) |
CommerceWarehouse |
getCommerceWarehouse() |
long |
getCommerceWarehouseId()
Returns the commerce warehouse ID of this commerce warehouse item.
|
long |
getCommerceWarehouseItemId()
Returns the commerce warehouse item ID of this commerce warehouse item.
|
long |
getCompanyId()
Returns the company ID of this commerce warehouse item.
|
com.liferay.commerce.product.model.CPInstance |
getCPInstance() |
long |
getCPInstanceId()
Returns the cp instance ID of this commerce warehouse item.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce warehouse item.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this commerce warehouse item.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce warehouse item.
|
long |
getPrimaryKey()
Returns the primary key of this commerce warehouse item.
|
java.io.Serializable |
getPrimaryKeyObj() |
int |
getQuantity()
Returns the quantity of this commerce warehouse item.
|
long |
getUserId()
Returns the user ID of this commerce warehouse item.
|
java.lang.String |
getUserName()
Returns the user name of this commerce warehouse item.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce warehouse item.
|
CommerceWarehouseItem |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCommerceWarehouseId(long commerceWarehouseId)
Sets the commerce warehouse ID of this commerce warehouse item.
|
void |
setCommerceWarehouseItemId(long commerceWarehouseItemId)
Sets the commerce warehouse item ID of this commerce warehouse item.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce warehouse item.
|
void |
setCPInstanceId(long CPInstanceId)
Sets the cp instance ID of this commerce warehouse item.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce warehouse item.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this commerce 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 warehouse item.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce warehouse item.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setQuantity(int quantity)
Sets the quantity of this commerce warehouse item.
|
void |
setUserId(long userId)
Sets the user ID of this commerce warehouse item.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce warehouse item.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce warehouse item.
|
com.liferay.portal.kernel.model.CacheModel<CommerceWarehouseItem> |
toCacheModel() |
CommerceWarehouseItem |
toEscapedModel() |
java.lang.String |
toString() |
CommerceWarehouseItem |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public CommerceWarehouseItemWrapper(CommerceWarehouseItem commerceWarehouseItem)
public 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<CommerceWarehouseItem>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public java.lang.Object clone()
clone in interface CommerceWarehouseItemModelclone in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>clone in class java.lang.Objectpublic int compareTo(CommerceWarehouseItem commerceWarehouseItem)
compareTo in interface CommerceWarehouseItemModelcompareTo in interface java.lang.Comparable<CommerceWarehouseItem>public CommerceWarehouse getCommerceWarehouse() throws com.liferay.portal.kernel.exception.PortalException
getCommerceWarehouse in interface CommerceWarehouseItemcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceWarehouseId()
getCommerceWarehouseId in interface CommerceWarehouseItemModelpublic long getCommerceWarehouseItemId()
getCommerceWarehouseItemId in interface CommerceWarehouseItemModelpublic long getCompanyId()
getCompanyId in interface CommerceWarehouseItemModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic com.liferay.commerce.product.model.CPInstance getCPInstance()
throws com.liferay.portal.kernel.exception.PortalException
getCPInstance in interface CommerceWarehouseItemcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCPInstanceId()
getCPInstanceId in interface CommerceWarehouseItemModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceWarehouseItemModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommerceWarehouseItemModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic long getGroupId()
getGroupId in interface CommerceWarehouseItemModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceWarehouseItemModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceWarehouseItemModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface CommerceWarehouseItemModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic int getQuantity()
getQuantity in interface CommerceWarehouseItemModelpublic long getUserId()
getUserId in interface CommerceWarehouseItemModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceWarehouseItemModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceWarehouseItemModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic int hashCode()
hashCode in interface CommerceWarehouseItemModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface CommerceWarehouseItemModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public boolean isEscapedModel()
isEscapedModel in interface CommerceWarehouseItemModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public boolean isNew()
isNew in interface CommerceWarehouseItemModelisNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface CommerceWarehouseItemModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public void setCommerceWarehouseId(long commerceWarehouseId)
setCommerceWarehouseId in interface CommerceWarehouseItemModelcommerceWarehouseId - the commerce warehouse ID of this commerce warehouse itempublic void setCommerceWarehouseItemId(long commerceWarehouseItemId)
setCommerceWarehouseItemId in interface CommerceWarehouseItemModelcommerceWarehouseItemId - the commerce warehouse item ID of this commerce warehouse itempublic void setCompanyId(long companyId)
setCompanyId in interface CommerceWarehouseItemModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce warehouse itempublic void setCPInstanceId(long CPInstanceId)
setCPInstanceId in interface CommerceWarehouseItemModelCPInstanceId - the cp instance ID of this commerce warehouse itempublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceWarehouseItemModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce warehouse itempublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface CommerceWarehouseItemModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface CommerceWarehouseItemModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface CommerceWarehouseItemModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public void setGroupId(long groupId)
setGroupId in interface CommerceWarehouseItemModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce warehouse itempublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceWarehouseItemModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce warehouse itempublic void setNew(boolean n)
setNew in interface CommerceWarehouseItemModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceWarehouseItemModelprimaryKey - the primary key of this commerce warehouse itempublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface CommerceWarehouseItemModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setQuantity(int quantity)
setQuantity in interface CommerceWarehouseItemModelquantity - the quantity of this commerce warehouse itempublic void setUserId(long userId)
setUserId in interface CommerceWarehouseItemModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce warehouse itempublic void setUserName(java.lang.String userName)
setUserName in interface CommerceWarehouseItemModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce warehouse itempublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceWarehouseItemModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce warehouse itempublic com.liferay.portal.kernel.model.CacheModel<CommerceWarehouseItem> toCacheModel()
toCacheModel in interface CommerceWarehouseItemModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public CommerceWarehouseItem toEscapedModel()
toEscapedModel in interface CommerceWarehouseItemModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public java.lang.String toString()
toString in interface CommerceWarehouseItemModeltoString in class java.lang.Objectpublic CommerceWarehouseItem toUnescapedModel()
toUnescapedModel in interface CommerceWarehouseItemModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public java.lang.String toXmlString()
toXmlString in interface CommerceWarehouseItemModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic CommerceWarehouseItem getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<CommerceWarehouseItem>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouseItem>