Interface CommerceShipmentModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceShipment>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommerceShipment>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel
All Known Subinterfaces:
CommerceShipment
All Known Implementing Classes:
CommerceShipmentWrapper

@ProviderType public interface CommerceShipmentModel extends com.liferay.portal.kernel.model.BaseModel<CommerceShipment>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the CommerceShipment service. Represents a row in the "CommerceShipment" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.commerce.model.impl.CommerceShipmentModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.model.impl.CommerceShipmentImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    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.
    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.
    Returns the uuid of this commerce shipment.
    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
    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.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this commerce shipment.
      Returns:
      the primary key of this commerce shipment
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce shipment.
      Parameters:
      primaryKey - the primary key of this commerce shipment
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this commerce shipment.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce shipment
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce shipment.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce shipment
    • getUuid

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

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

      @AutoEscape String getExternalReferenceCode()
      Returns the external reference code of this commerce shipment.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce shipment
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this commerce shipment.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this commerce shipment
    • getCommerceShipmentId

      long getCommerceShipmentId()
      Returns the commerce shipment ID of this commerce shipment.
      Returns:
      the commerce shipment ID of this commerce shipment
    • setCommerceShipmentId

      void setCommerceShipmentId(long commerceShipmentId)
      Sets the commerce shipment ID of this commerce shipment.
      Parameters:
      commerceShipmentId - the commerce shipment ID of this commerce shipment
    • getGroupId

      long getGroupId()
      Returns the group ID of this commerce shipment.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce shipment
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this commerce shipment.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce shipment
    • getCompanyId

      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 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
    • setCompanyId

      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 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
    • getUserId

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

      void setUserId(long userId)
      Sets the user ID of this commerce shipment.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this commerce shipment
    • getUserUuid

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

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

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

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

      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 com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce shipment
    • setCreateDate

      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 com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce shipment
    • getModifiedDate

      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 com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce shipment
    • setModifiedDate

      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 com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce shipment
    • getCommerceAccountId

      long getCommerceAccountId()
      Returns the commerce account ID of this commerce shipment.
      Returns:
      the commerce account ID of this commerce shipment
    • setCommerceAccountId

      void setCommerceAccountId(long commerceAccountId)
      Sets the commerce account ID of this commerce shipment.
      Parameters:
      commerceAccountId - the commerce account ID of this commerce shipment
    • getCommerceAddressId

      long getCommerceAddressId()
      Returns the commerce address ID of this commerce shipment.
      Returns:
      the commerce address ID of this commerce shipment
    • setCommerceAddressId

      void setCommerceAddressId(long commerceAddressId)
      Sets the commerce address ID of this commerce shipment.
      Parameters:
      commerceAddressId - the commerce address ID of this commerce shipment
    • getCommerceShippingMethodId

      long getCommerceShippingMethodId()
      Returns the commerce shipping method ID of this commerce shipment.
      Returns:
      the commerce shipping method ID of this commerce shipment
    • setCommerceShippingMethodId

      void setCommerceShippingMethodId(long commerceShippingMethodId)
      Sets the commerce shipping method ID of this commerce shipment.
      Parameters:
      commerceShippingMethodId - the commerce shipping method ID of this commerce shipment
    • getCarrier

      @AutoEscape String getCarrier()
      Returns the carrier of this commerce shipment.
      Returns:
      the carrier of this commerce shipment
    • setCarrier

      void setCarrier(String carrier)
      Sets the carrier of this commerce shipment.
      Parameters:
      carrier - the carrier of this commerce shipment
    • getExpectedDate

      Date getExpectedDate()
      Returns the expected date of this commerce shipment.
      Returns:
      the expected date of this commerce shipment
    • setExpectedDate

      void setExpectedDate(Date expectedDate)
      Sets the expected date of this commerce shipment.
      Parameters:
      expectedDate - the expected date of this commerce shipment
    • getShippingDate

      Date getShippingDate()
      Returns the shipping date of this commerce shipment.
      Returns:
      the shipping date of this commerce shipment
    • setShippingDate

      void setShippingDate(Date shippingDate)
      Sets the shipping date of this commerce shipment.
      Parameters:
      shippingDate - the shipping date of this commerce shipment
    • getShippingOptionName

      @AutoEscape String getShippingOptionName()
      Returns the shipping option name of this commerce shipment.
      Returns:
      the shipping option name of this commerce shipment
    • setShippingOptionName

      void setShippingOptionName(String shippingOptionName)
      Sets the shipping option name of this commerce shipment.
      Parameters:
      shippingOptionName - the shipping option name of this commerce shipment
    • getTrackingNumber

      @AutoEscape String getTrackingNumber()
      Returns the tracking number of this commerce shipment.
      Returns:
      the tracking number of this commerce shipment
    • setTrackingNumber

      void setTrackingNumber(String trackingNumber)
      Sets the tracking number of this commerce shipment.
      Parameters:
      trackingNumber - the tracking number of this commerce shipment
    • getTrackingURL

      @AutoEscape String getTrackingURL()
      Returns the tracking url of this commerce shipment.
      Returns:
      the tracking url of this commerce shipment
    • setTrackingURL

      void setTrackingURL(String trackingURL)
      Sets the tracking url of this commerce shipment.
      Parameters:
      trackingURL - the tracking url of this commerce shipment
    • getStatus

      int getStatus()
      Returns the status of this commerce shipment.
      Returns:
      the status of this commerce shipment
    • setStatus

      void setStatus(int status)
      Sets the status of this commerce shipment.
      Parameters:
      status - the status of this commerce shipment
    • cloneWithOriginalValues

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

      default String toXmlString()