public class CommerceShipmentWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShipment> 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 |
|---|---|
CommerceShipment |
cloneWithOriginalValues() |
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.
|
java.util.Date |
getExpectedDate()
Returns the expected date of this commerce shipment.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code 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.util.Date |
getModifiedDate()
Returns the modified date of this commerce shipment.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce shipment.
|
long |
getPrimaryKey()
Returns the primary key of this commerce shipment.
|
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.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this commerce shipment.
|
java.lang.String |
getTrackingNumber()
Returns the tracking number of this commerce shipment.
|
java.lang.String |
getTrackingURL()
Returns the tracking url 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.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce shipment.
|
void |
persist() |
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 |
setExpectedDate(java.util.Date expectedDate)
Sets the expected date of this commerce shipment.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code 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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce shipment.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce shipment.
|
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 |
setTrackingURL(java.lang.String trackingURL)
Sets the tracking url 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.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce shipment.
|
protected CommerceShipmentWrapper |
wrap(CommerceShipment commerceShipment) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic CommerceShipmentWrapper(CommerceShipment commerceShipment)
public 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 CommerceShipment cloneWithOriginalValues()
cloneWithOriginalValues in interface CommerceShipmentModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<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.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceShipmentModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getExpectedDate()
getExpectedDate in interface CommerceShipmentModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode 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.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CommerceShipmentModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceShipmentModelpublic 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 java.lang.String getTrackingURL()
getTrackingURL 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 java.lang.String getUuid()
getUuid in interface CommerceShipmentModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic 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.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this commerce shipmentpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceShipmentModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce shipmentpublic void setExpectedDate(java.util.Date expectedDate)
setExpectedDate in interface CommerceShipmentModelexpectedDate - the expected date of this commerce shipmentpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface CommerceShipmentModelexternalReferenceCode - the external reference code 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.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce shipmentpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CommerceShipmentModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce shipmentpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceShipmentModelprimaryKey - the primary key of this commerce shipmentpublic 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 setTrackingURL(java.lang.String trackingURL)
setTrackingURL in interface CommerceShipmentModeltrackingURL - the tracking url 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 void setUuid(java.lang.String uuid)
setUuid in interface CommerceShipmentModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce shipmentpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CommerceShipmentWrapper wrap(CommerceShipment commerceShipment)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShipment>