public class CommerceShipmentWrapper extends java.lang.Object implements CommerceShipment, com.liferay.portal.kernel.model.ModelWrapper<CommerceShipment>
This class is a wrapper for CommerceShipment.
CommerceShipment,
Serialized FormCOMMERCE_SHIPMENT_ID_ACCESSOR| Constructor and Description |
|---|
CommerceShipmentWrapper(CommerceShipment commerceShipment) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(CommerceShipment commerceShipment) |
boolean |
equals(java.lang.Object obj) |
CommerceAddress |
fetchCommerceAddress() |
CommerceShippingMethod |
fetchCommerceShippingMethod() |
java.lang.String |
getCarrier()
Returns the carrier of this commerce shipment.
|
com.liferay.commerce.account.model.CommerceAccount |
getCommerceAccount() |
long |
getCommerceAccountId()
Returns the commerce account ID of this commerce shipment.
|
java.lang.String |
getCommerceAccountName() |
long |
getCommerceAddressId()
Returns the commerce address ID of this commerce shipment.
|
long |
getCommerceShipmentId()
Returns the commerce shipment ID of this commerce shipment.
|
CommerceShippingMethod |
getCommerceShippingMethod() |
long |
getCommerceShippingMethodId()
Returns the commerce shipping method ID of this commerce shipment.
|
long |
getCompanyId()
Returns the company ID of this commerce shipment.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce shipment.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Date |
getExpectedDate()
Returns the expected date of this commerce shipment.
|
long |
getGroupId()
Returns the group ID of this commerce shipment.
|
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 shipment.
|
long |
getPrimaryKey()
Returns the primary key of this commerce shipment.
|
java.io.Serializable |
getPrimaryKeyObj() |
java.util.Date |
getShippingDate()
Returns the shipping date of this commerce shipment.
|
java.lang.String |
getShippingOptionName()
Returns the shipping option name of this commerce shipment.
|
int |
getStatus()
Returns the status of this commerce shipment.
|
java.lang.String |
getTrackingNumber()
Returns the tracking number of this commerce shipment.
|
long |
getUserId()
Returns the user ID of this commerce shipment.
|
java.lang.String |
getUserName()
Returns the user name of this commerce shipment.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce shipment.
|
CommerceShipment |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCarrier(java.lang.String carrier)
Sets the carrier of this commerce shipment.
|
void |
setCommerceAccountId(long commerceAccountId)
Sets the commerce account ID of this commerce shipment.
|
void |
setCommerceAddressId(long commerceAddressId)
Sets the commerce address ID of this commerce shipment.
|
void |
setCommerceShipmentId(long commerceShipmentId)
Sets the commerce shipment ID of this commerce shipment.
|
void |
setCommerceShippingMethodId(long commerceShippingMethodId)
Sets the commerce shipping method ID of this commerce shipment.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce shipment.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce shipment.
|
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 |
setExpectedDate(java.util.Date expectedDate)
Sets the expected date of this commerce shipment.
|
void |
setGroupId(long groupId)
Sets the group ID of this commerce shipment.
|
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 shipment.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce shipment.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setShippingDate(java.util.Date shippingDate)
Sets the shipping date of this commerce shipment.
|
void |
setShippingOptionName(java.lang.String shippingOptionName)
Sets the shipping option name of this commerce shipment.
|
void |
setStatus(int status)
Sets the status of this commerce shipment.
|
void |
setTrackingNumber(java.lang.String trackingNumber)
Sets the tracking number of this commerce shipment.
|
void |
setUserId(long userId)
Sets the user ID of this commerce shipment.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce shipment.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce shipment.
|
com.liferay.portal.kernel.model.CacheModel<CommerceShipment> |
toCacheModel() |
CommerceShipment |
toEscapedModel() |
java.lang.String |
toString() |
CommerceShipment |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public CommerceShipmentWrapper(CommerceShipment commerceShipment)
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<CommerceShipment>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public java.lang.Object clone()
clone in interface CommerceShipmentModelclone in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>clone in class java.lang.Objectpublic int compareTo(CommerceShipment commerceShipment)
compareTo in interface CommerceShipmentModelcompareTo in interface java.lang.Comparable<CommerceShipment>public CommerceAddress fetchCommerceAddress()
fetchCommerceAddress in interface CommerceShipmentpublic CommerceShippingMethod fetchCommerceShippingMethod()
fetchCommerceShippingMethod in interface CommerceShipmentpublic java.lang.String getCarrier()
getCarrier in interface CommerceShipmentModelpublic com.liferay.commerce.account.model.CommerceAccount getCommerceAccount()
throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccount in interface CommerceShipmentcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceAccountId()
getCommerceAccountId in interface CommerceShipmentModelpublic java.lang.String getCommerceAccountName()
throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountName in interface CommerceShipmentcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceAddressId()
getCommerceAddressId in interface CommerceShipmentModelpublic long getCommerceShipmentId()
getCommerceShipmentId in interface CommerceShipmentModelpublic CommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException
getCommerceShippingMethod in interface CommerceShipmentcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceShippingMethodId()
getCommerceShippingMethodId in interface CommerceShipmentModelpublic long getCompanyId()
getCompanyId in interface CommerceShipmentModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceShipmentModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommerceShipmentModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Date getExpectedDate()
getExpectedDate in interface CommerceShipmentModelpublic long getGroupId()
getGroupId in interface CommerceShipmentModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceShipmentModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceShipmentModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface CommerceShipmentModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Date getShippingDate()
getShippingDate in interface CommerceShipmentModelpublic java.lang.String getShippingOptionName()
getShippingOptionName in interface CommerceShipmentModelpublic int getStatus()
getStatus in interface CommerceShipmentModelpublic java.lang.String getTrackingNumber()
getTrackingNumber in interface CommerceShipmentModelpublic long getUserId()
getUserId in interface CommerceShipmentModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceShipmentModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceShipmentModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic int hashCode()
hashCode in interface CommerceShipmentModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface CommerceShipmentModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public boolean isEscapedModel()
isEscapedModel in interface CommerceShipmentModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public boolean isNew()
isNew in interface CommerceShipmentModelisNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public void persist()
CommerceShipment interface instead.persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface CommerceShipmentModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public void setCarrier(java.lang.String carrier)
setCarrier in interface CommerceShipmentModelcarrier - the carrier of this commerce shipmentpublic void setCommerceAccountId(long commerceAccountId)
setCommerceAccountId in interface CommerceShipmentModelcommerceAccountId - the commerce account ID of this commerce shipmentpublic void setCommerceAddressId(long commerceAddressId)
setCommerceAddressId in interface CommerceShipmentModelcommerceAddressId - the commerce address ID of this commerce shipmentpublic void setCommerceShipmentId(long commerceShipmentId)
setCommerceShipmentId in interface CommerceShipmentModelcommerceShipmentId - the commerce shipment ID of this commerce shipmentpublic void setCommerceShippingMethodId(long commerceShippingMethodId)
setCommerceShippingMethodId in interface CommerceShipmentModelcommerceShippingMethodId - the commerce shipping method ID of this commerce shipmentpublic void setCompanyId(long companyId)
setCompanyId in interface CommerceShipmentModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce shipmentpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceShipmentModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce shipmentpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface CommerceShipmentModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface CommerceShipmentModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface CommerceShipmentModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public void setExpectedDate(java.util.Date expectedDate)
setExpectedDate in interface CommerceShipmentModelexpectedDate - the expected date of this commerce shipmentpublic void setGroupId(long groupId)
setGroupId in interface CommerceShipmentModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce shipmentpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceShipmentModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce shipmentpublic void setNew(boolean n)
setNew in interface CommerceShipmentModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceShipmentModelprimaryKey - the primary key of this commerce shipmentpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface CommerceShipmentModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setShippingDate(java.util.Date shippingDate)
setShippingDate in interface CommerceShipmentModelshippingDate - the shipping date of this commerce shipmentpublic void setShippingOptionName(java.lang.String shippingOptionName)
setShippingOptionName in interface CommerceShipmentModelshippingOptionName - the shipping option name of this commerce shipmentpublic void setStatus(int status)
setStatus in interface CommerceShipmentModelstatus - the status of this commerce shipmentpublic void setTrackingNumber(java.lang.String trackingNumber)
setTrackingNumber in interface CommerceShipmentModeltrackingNumber - the tracking number of this commerce shipmentpublic void setUserId(long userId)
setUserId in interface CommerceShipmentModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce shipmentpublic void setUserName(java.lang.String userName)
setUserName in interface CommerceShipmentModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce shipmentpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceShipmentModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce shipmentpublic com.liferay.portal.kernel.model.CacheModel<CommerceShipment> toCacheModel()
toCacheModel in interface CommerceShipmentModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public CommerceShipment toEscapedModel()
toEscapedModel in interface CommerceShipmentModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public java.lang.String toString()
toString in interface CommerceShipmentModeltoString in class java.lang.Objectpublic CommerceShipment toUnescapedModel()
toUnescapedModel in interface CommerceShipmentModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public java.lang.String toXmlString()
toXmlString in interface CommerceShipmentModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic CommerceShipment getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<CommerceShipment>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>