Package com.liferay.commerce.model
Class CommerceShipmentWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShipment>
com.liferay.commerce.model.CommerceShipmentWrapper
- All Implemented Interfaces:
CommerceShipment
,CommerceShipmentModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceShipment>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceShipment>
,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<CommerceShipment>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.model.CommerceShipment
COMMERCE_SHIPMENT_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.account.model.AccountEntry
Returns the carrier of this commerce shipment.long
Returns the commerce account ID of this commerce shipment.long
Returns the commerce address ID of this commerce shipment.long
Returns the commerce shipment ID of this commerce shipment.long
Returns the commerce shipping method ID of this commerce shipment.long
Returns the company ID of this commerce shipment.Returns the create date of this commerce shipment.Returns the expected date of this commerce shipment.Returns the external reference code of this commerce shipment.long
Returns the group ID of this commerce shipment.Returns the modified date of this commerce shipment.long
Returns the mvcc version of this commerce shipment.long
Returns the primary key of this commerce shipment.Returns the shipping date of this commerce shipment.Returns the shipping option name of this commerce shipment.com.liferay.exportimport.kernel.lar.StagedModelType
int
Returns the status of this commerce shipment.Returns the tracking number of this commerce shipment.Returns the tracking url of this commerce shipment.long
Returns the user ID of this commerce shipment.Returns the user name of this commerce shipment.Returns the user uuid of this commerce shipment.getUuid()
Returns the uuid of this commerce shipment.void
persist()
void
setCarrier
(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
(Date createDate) Sets the create date of this commerce shipment.void
setExpectedDate
(Date expectedDate) Sets the expected date of this commerce shipment.void
setExternalReferenceCode
(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
(Map<String, Object> attributes) void
setModifiedDate
(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
(Date shippingDate) Sets the shipping date of this commerce shipment.void
setShippingOptionName
(String shippingOptionName) Sets the shipping option name of this commerce shipment.void
setStatus
(int status) Sets the status of this commerce shipment.void
setTrackingNumber
(String trackingNumber) Sets the tracking number of this commerce shipment.void
setTrackingURL
(String trackingURL) Sets the tracking url of this commerce shipment.void
setUserId
(long userId) Sets the user ID of this commerce shipment.void
setUserName
(String userName) Sets the user name of this commerce shipment.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce shipment.void
Sets the uuid of this commerce shipment.protected CommerceShipmentWrapper
wrap
(CommerceShipment commerceShipment) 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
-
CommerceShipmentWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceShipment>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceShipment>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceShipment>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceShipmentModel
-
fetchCommerceAddress
- Specified by:
fetchCommerceAddress
in interfaceCommerceShipment
-
fetchCommerceShippingMethod
- Specified by:
fetchCommerceShippingMethod
in interfaceCommerceShipment
-
getAccountEntry
public com.liferay.account.model.AccountEntry getAccountEntry() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAccountEntry
in interfaceCommerceShipment
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountEntryName
- Specified by:
getAccountEntryName
in interfaceCommerceShipment
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCarrier
Returns the carrier of this commerce shipment.- Specified by:
getCarrier
in interfaceCommerceShipmentModel
- Returns:
- the carrier of this commerce shipment
-
getCommerceAccountId
public long getCommerceAccountId()Returns the commerce account ID of this commerce shipment.- Specified by:
getCommerceAccountId
in interfaceCommerceShipmentModel
- Returns:
- the commerce account ID of this commerce shipment
-
getCommerceAddressId
public long getCommerceAddressId()Returns the commerce address ID of this commerce shipment.- Specified by:
getCommerceAddressId
in interfaceCommerceShipmentModel
- Returns:
- the commerce address ID of this commerce shipment
-
getCommerceShipmentId
public long getCommerceShipmentId()Returns the commerce shipment ID of this commerce shipment.- Specified by:
getCommerceShipmentId
in interfaceCommerceShipmentModel
- Returns:
- the commerce shipment ID of this commerce shipment
-
getCommerceShippingMethod
public CommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCommerceShippingMethod
in interfaceCommerceShipment
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethodId
public long getCommerceShippingMethodId()Returns the commerce shipping method ID of this commerce shipment.- Specified by:
getCommerceShippingMethodId
in interfaceCommerceShipmentModel
- Returns:
- the commerce shipping method ID of this commerce shipment
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce shipment.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceShipmentModel
- 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 shipment
-
getCreateDate
Returns the create date of this commerce shipment.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceShipmentModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this commerce shipment
-
getExpectedDate
Returns the expected date of this commerce shipment.- Specified by:
getExpectedDate
in interfaceCommerceShipmentModel
- Returns:
- the expected date of this commerce shipment
-
getExternalReferenceCode
Returns the external reference code of this commerce shipment.- Specified by:
getExternalReferenceCode
in interfaceCommerceShipmentModel
- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this commerce shipment
-
getGroupId
public long getGroupId()Returns the group ID of this commerce shipment.- Specified by:
getGroupId
in interfaceCommerceShipmentModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this commerce shipment
-
getModifiedDate
Returns the modified date of this commerce shipment.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceShipmentModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this commerce shipment
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce shipment.- Specified by:
getMvccVersion
in interfaceCommerceShipmentModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce shipment
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce shipment.- Specified by:
getPrimaryKey
in interfaceCommerceShipmentModel
- Returns:
- the primary key of this commerce shipment
-
getShippingDate
Returns the shipping date of this commerce shipment.- Specified by:
getShippingDate
in interfaceCommerceShipmentModel
- Returns:
- the shipping date of this commerce shipment
-
getShippingOptionName
Returns the shipping option name of this commerce shipment.- Specified by:
getShippingOptionName
in interfaceCommerceShipmentModel
- Returns:
- the shipping option name of this commerce shipment
-
getStatus
public int getStatus()Returns the status of this commerce shipment.- Specified by:
getStatus
in interfaceCommerceShipmentModel
- Returns:
- the status of this commerce shipment
-
getTrackingNumber
Returns the tracking number of this commerce shipment.- Specified by:
getTrackingNumber
in interfaceCommerceShipmentModel
- Returns:
- the tracking number of this commerce shipment
-
getTrackingURL
Returns the tracking url of this commerce shipment.- Specified by:
getTrackingURL
in interfaceCommerceShipmentModel
- Returns:
- the tracking url of this commerce shipment
-
getUserId
public long getUserId()Returns the user ID of this commerce shipment.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceShipmentModel
- Returns:
- the user ID of this commerce shipment
-
getUserName
Returns the user name of this commerce shipment.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceShipmentModel
- Returns:
- the user name of this commerce shipment
-
getUserUuid
Returns the user uuid of this commerce shipment.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceShipmentModel
- Returns:
- the user uuid of this commerce shipment
-
getUuid
Returns the uuid of this commerce shipment.- Specified by:
getUuid
in interfaceCommerceShipmentModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce shipment
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCarrier
Sets the carrier of this commerce shipment.- Specified by:
setCarrier
in interfaceCommerceShipmentModel
- Parameters:
carrier
- the carrier of this commerce shipment
-
setCommerceAccountId
public void setCommerceAccountId(long commerceAccountId) Sets the commerce account ID of this commerce shipment.- Specified by:
setCommerceAccountId
in interfaceCommerceShipmentModel
- Parameters:
commerceAccountId
- the commerce account ID of this commerce shipment
-
setCommerceAddressId
public void setCommerceAddressId(long commerceAddressId) Sets the commerce address ID of this commerce shipment.- Specified by:
setCommerceAddressId
in interfaceCommerceShipmentModel
- Parameters:
commerceAddressId
- the commerce address ID of this commerce shipment
-
setCommerceShipmentId
public void setCommerceShipmentId(long commerceShipmentId) Sets the commerce shipment ID of this commerce shipment.- Specified by:
setCommerceShipmentId
in interfaceCommerceShipmentModel
- Parameters:
commerceShipmentId
- the commerce shipment ID of this commerce shipment
-
setCommerceShippingMethodId
public void setCommerceShippingMethodId(long commerceShippingMethodId) Sets the commerce shipping method ID of this commerce shipment.- Specified by:
setCommerceShippingMethodId
in interfaceCommerceShipmentModel
- Parameters:
commerceShippingMethodId
- the commerce shipping method ID of this commerce shipment
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce shipment.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceShipmentModel
- 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 shipment
-
setCreateDate
Sets the create date of this commerce shipment.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceShipmentModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this commerce shipment
-
setExpectedDate
Sets the expected date of this commerce shipment.- Specified by:
setExpectedDate
in interfaceCommerceShipmentModel
- Parameters:
expectedDate
- the expected date of this commerce shipment
-
setExternalReferenceCode
Sets the external reference code of this commerce shipment.- Specified by:
setExternalReferenceCode
in interfaceCommerceShipmentModel
- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this commerce shipment
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this commerce shipment.- Specified by:
setGroupId
in interfaceCommerceShipmentModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this commerce shipment
-
setModifiedDate
Sets the modified date of this commerce shipment.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceShipmentModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this commerce shipment
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce shipment.- Specified by:
setMvccVersion
in interfaceCommerceShipmentModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce shipment
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce shipment.- Specified by:
setPrimaryKey
in interfaceCommerceShipmentModel
- Parameters:
primaryKey
- the primary key of this commerce shipment
-
setShippingDate
Sets the shipping date of this commerce shipment.- Specified by:
setShippingDate
in interfaceCommerceShipmentModel
- Parameters:
shippingDate
- the shipping date of this commerce shipment
-
setShippingOptionName
Sets the shipping option name of this commerce shipment.- Specified by:
setShippingOptionName
in interfaceCommerceShipmentModel
- Parameters:
shippingOptionName
- the shipping option name of this commerce shipment
-
setStatus
public void setStatus(int status) Sets the status of this commerce shipment.- Specified by:
setStatus
in interfaceCommerceShipmentModel
- Parameters:
status
- the status of this commerce shipment
-
setTrackingNumber
Sets the tracking number of this commerce shipment.- Specified by:
setTrackingNumber
in interfaceCommerceShipmentModel
- Parameters:
trackingNumber
- the tracking number of this commerce shipment
-
setTrackingURL
Sets the tracking url of this commerce shipment.- Specified by:
setTrackingURL
in interfaceCommerceShipmentModel
- Parameters:
trackingURL
- the tracking url of this commerce shipment
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce shipment.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceShipmentModel
- Parameters:
userId
- the user ID of this commerce shipment
-
setUserName
Sets the user name of this commerce shipment.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceShipmentModel
- Parameters:
userName
- the user name of this commerce shipment
-
setUserUuid
Sets the user uuid of this commerce shipment.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceShipmentModel
- Parameters:
userUuid
- the user uuid of this commerce shipment
-
setUuid
Sets the uuid of this commerce shipment.- Specified by:
setUuid
in interfaceCommerceShipmentModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce shipment
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceShipmentModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShipment>
-