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.
|
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.
|
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.
|
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.
|
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 |
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 |
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.
|
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, toXmlString
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, toXmlString
public 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 CommerceShipmentModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>
public CommerceAddress fetchCommerceAddress()
fetchCommerceAddress
in interface CommerceShipment
public CommerceShippingMethod fetchCommerceShippingMethod()
fetchCommerceShippingMethod
in interface CommerceShipment
public java.lang.String getCarrier()
getCarrier
in interface CommerceShipmentModel
public CommerceAccount getCommerceAccount() throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccount
in interface CommerceShipment
com.liferay.portal.kernel.exception.PortalException
public long getCommerceAccountId()
getCommerceAccountId
in interface CommerceShipmentModel
public java.lang.String getCommerceAccountName() throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountName
in interface CommerceShipment
com.liferay.portal.kernel.exception.PortalException
public long getCommerceAddressId()
getCommerceAddressId
in interface CommerceShipmentModel
public long getCommerceShipmentId()
getCommerceShipmentId
in interface CommerceShipmentModel
public CommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException
getCommerceShippingMethod
in interface CommerceShipment
com.liferay.portal.kernel.exception.PortalException
public long getCommerceShippingMethodId()
getCommerceShippingMethodId
in interface CommerceShipmentModel
public long getCompanyId()
getCompanyId
in interface CommerceShipmentModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceShipmentModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.util.Date getExpectedDate()
getExpectedDate
in interface CommerceShipmentModel
public long getGroupId()
getGroupId
in interface CommerceShipmentModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceShipmentModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceShipmentModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceShipmentModel
public java.util.Date getShippingDate()
getShippingDate
in interface CommerceShipmentModel
public java.lang.String getShippingOptionName()
getShippingOptionName
in interface CommerceShipmentModel
public int getStatus()
getStatus
in interface CommerceShipmentModel
public java.lang.String getTrackingNumber()
getTrackingNumber
in interface CommerceShipmentModel
public long getUserId()
getUserId
in interface CommerceShipmentModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceShipmentModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceShipmentModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCarrier(java.lang.String carrier)
setCarrier
in interface CommerceShipmentModel
carrier
- the carrier of this commerce shipmentpublic void setCommerceAccountId(long commerceAccountId)
setCommerceAccountId
in interface CommerceShipmentModel
commerceAccountId
- the commerce account ID of this commerce shipmentpublic void setCommerceAddressId(long commerceAddressId)
setCommerceAddressId
in interface CommerceShipmentModel
commerceAddressId
- the commerce address ID of this commerce shipmentpublic void setCommerceShipmentId(long commerceShipmentId)
setCommerceShipmentId
in interface CommerceShipmentModel
commerceShipmentId
- the commerce shipment ID of this commerce shipmentpublic void setCommerceShippingMethodId(long commerceShippingMethodId)
setCommerceShippingMethodId
in interface CommerceShipmentModel
commerceShippingMethodId
- the commerce shipping method ID of this commerce shipmentpublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceShipmentModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this commerce shipmentpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceShipmentModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce shipmentpublic void setExpectedDate(java.util.Date expectedDate)
setExpectedDate
in interface CommerceShipmentModel
expectedDate
- the expected date of this commerce shipmentpublic void setGroupId(long groupId)
setGroupId
in interface CommerceShipmentModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this commerce shipmentpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceShipmentModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce shipmentpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceShipmentModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce shipmentpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceShipmentModel
primaryKey
- the primary key of this commerce shipmentpublic void setShippingDate(java.util.Date shippingDate)
setShippingDate
in interface CommerceShipmentModel
shippingDate
- the shipping date of this commerce shipmentpublic void setShippingOptionName(java.lang.String shippingOptionName)
setShippingOptionName
in interface CommerceShipmentModel
shippingOptionName
- the shipping option name of this commerce shipmentpublic void setStatus(int status)
setStatus
in interface CommerceShipmentModel
status
- the status of this commerce shipmentpublic void setTrackingNumber(java.lang.String trackingNumber)
setTrackingNumber
in interface CommerceShipmentModel
trackingNumber
- the tracking number of this commerce shipmentpublic void setUserId(long userId)
setUserId
in interface CommerceShipmentModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce shipmentpublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceShipmentModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce shipmentpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceShipmentModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce shipmentprotected CommerceShipmentWrapper wrap(CommerceShipment commerceShipment)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShipment>