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:
  • Constructor Details

    • CommerceShipmentWrapper

      public CommerceShipmentWrapper(CommerceShipment commerceShipment)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>
    • cloneWithOriginalValues

      public CommerceShipment cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipment>
      Specified by:
      cloneWithOriginalValues in interface CommerceShipmentModel
    • fetchCommerceAddress

      public CommerceAddress fetchCommerceAddress()
      Specified by:
      fetchCommerceAddress in interface CommerceShipment
    • fetchCommerceShippingMethod

      public CommerceShippingMethod fetchCommerceShippingMethod()
      Specified by:
      fetchCommerceShippingMethod in interface CommerceShipment
    • getAccountEntry

      public com.liferay.account.model.AccountEntry getAccountEntry() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAccountEntry in interface CommerceShipment
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAccountEntryName

      public String getAccountEntryName() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAccountEntryName in interface CommerceShipment
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCarrier

      public String getCarrier()
      Returns the carrier of this commerce shipment.
      Specified by:
      getCarrier in interface CommerceShipmentModel
      Returns:
      the carrier of this commerce shipment
    • getCommerceAccountId

      public long getCommerceAccountId()
      Returns the commerce account ID of this commerce shipment.
      Specified by:
      getCommerceAccountId in interface CommerceShipmentModel
      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 interface CommerceShipmentModel
      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 interface CommerceShipmentModel
      Returns:
      the commerce shipment ID of this commerce shipment
    • getCommerceShippingMethod

      public CommerceShippingMethod getCommerceShippingMethod() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceShippingMethod in interface CommerceShipment
      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 interface CommerceShipmentModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceShipmentModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this commerce shipment
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce shipment.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceShipmentModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce shipment
    • getExpectedDate

      public Date getExpectedDate()
      Returns the expected date of this commerce shipment.
      Specified by:
      getExpectedDate in interface CommerceShipmentModel
      Returns:
      the expected date of this commerce shipment
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this commerce shipment.
      Specified by:
      getExternalReferenceCode in interface CommerceShipmentModel
      Specified by:
      getExternalReferenceCode in interface com.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 interface CommerceShipmentModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce shipment
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce shipment.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceShipmentModel
      Specified by:
      getModifiedDate in interface com.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 interface CommerceShipmentModel
      Specified by:
      getMvccVersion in interface com.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 interface CommerceShipmentModel
      Returns:
      the primary key of this commerce shipment
    • getShippingDate

      public Date getShippingDate()
      Returns the shipping date of this commerce shipment.
      Specified by:
      getShippingDate in interface CommerceShipmentModel
      Returns:
      the shipping date of this commerce shipment
    • getShippingOptionName

      public String getShippingOptionName()
      Returns the shipping option name of this commerce shipment.
      Specified by:
      getShippingOptionName in interface CommerceShipmentModel
      Returns:
      the shipping option name of this commerce shipment
    • getStatus

      public int getStatus()
      Returns the status of this commerce shipment.
      Specified by:
      getStatus in interface CommerceShipmentModel
      Returns:
      the status of this commerce shipment
    • getTrackingNumber

      public String getTrackingNumber()
      Returns the tracking number of this commerce shipment.
      Specified by:
      getTrackingNumber in interface CommerceShipmentModel
      Returns:
      the tracking number of this commerce shipment
    • getTrackingURL

      public String getTrackingURL()
      Returns the tracking url of this commerce shipment.
      Specified by:
      getTrackingURL in interface CommerceShipmentModel
      Returns:
      the tracking url of this commerce shipment
    • getUserId

      public long getUserId()
      Returns the user ID of this commerce shipment.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceShipmentModel
      Returns:
      the user ID of this commerce shipment
    • getUserName

      public String getUserName()
      Returns the user name of this commerce shipment.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommerceShipmentModel
      Returns:
      the user name of this commerce shipment
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce shipment.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceShipmentModel
      Returns:
      the user uuid of this commerce shipment
    • getUuid

      public String getUuid()
      Returns the uuid of this commerce shipment.
      Specified by:
      getUuid in interface CommerceShipmentModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce shipment
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setCarrier

      public void setCarrier(String carrier)
      Sets the carrier of this commerce shipment.
      Specified by:
      setCarrier in interface CommerceShipmentModel
      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 interface CommerceShipmentModel
      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 interface CommerceShipmentModel
      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 interface CommerceShipmentModel
      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 interface CommerceShipmentModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceShipmentModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this commerce shipment
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce shipment.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceShipmentModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce shipment
    • setExpectedDate

      public void setExpectedDate(Date expectedDate)
      Sets the expected date of this commerce shipment.
      Specified by:
      setExpectedDate in interface CommerceShipmentModel
      Parameters:
      expectedDate - the expected date of this commerce shipment
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this commerce shipment.
      Specified by:
      setExternalReferenceCode in interface CommerceShipmentModel
      Specified by:
      setExternalReferenceCode in interface com.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 interface CommerceShipmentModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce shipment
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce shipment.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceShipmentModel
      Specified by:
      setModifiedDate in interface com.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 interface CommerceShipmentModel
      Specified by:
      setMvccVersion in interface com.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 interface CommerceShipmentModel
      Parameters:
      primaryKey - the primary key of this commerce shipment
    • setShippingDate

      public void setShippingDate(Date shippingDate)
      Sets the shipping date of this commerce shipment.
      Specified by:
      setShippingDate in interface CommerceShipmentModel
      Parameters:
      shippingDate - the shipping date of this commerce shipment
    • setShippingOptionName

      public void setShippingOptionName(String shippingOptionName)
      Sets the shipping option name of this commerce shipment.
      Specified by:
      setShippingOptionName in interface CommerceShipmentModel
      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 interface CommerceShipmentModel
      Parameters:
      status - the status of this commerce shipment
    • setTrackingNumber

      public void setTrackingNumber(String trackingNumber)
      Sets the tracking number of this commerce shipment.
      Specified by:
      setTrackingNumber in interface CommerceShipmentModel
      Parameters:
      trackingNumber - the tracking number of this commerce shipment
    • setTrackingURL

      public void setTrackingURL(String trackingURL)
      Sets the tracking url of this commerce shipment.
      Specified by:
      setTrackingURL in interface CommerceShipmentModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CommerceShipmentModel
      Parameters:
      userId - the user ID of this commerce shipment
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this commerce shipment.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface CommerceShipmentModel
      Parameters:
      userName - the user name of this commerce shipment
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this commerce shipment.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CommerceShipmentModel
      Parameters:
      userUuid - the user uuid of this commerce shipment
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this commerce shipment.
      Specified by:
      setUuid in interface CommerceShipmentModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce shipment
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceShipmentModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CommerceShipmentWrapper wrap(CommerceShipment commerceShipment)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShipment>