Class CommerceShipmentItemWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShipmentItem>
com.liferay.commerce.model.CommerceShipmentItemWrapper
All Implemented Interfaces:
CommerceShipmentItem, CommerceShipmentItemModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceShipmentItem>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceShipmentItem>, 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<CommerceShipmentItem>

public class CommerceShipmentItemWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShipmentItem> implements CommerceShipmentItem, com.liferay.portal.kernel.model.ModelWrapper<CommerceShipmentItem>

This class is a wrapper for CommerceShipmentItem.

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.CommerceShipmentItem

    COMMERCE_SHIPMENT_ITEM_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    long
    Returns the commerce inventory warehouse ID of this commerce shipment item.
    long
    Returns the commerce order item ID of this commerce shipment item.
     
    long
    Returns the commerce shipment ID of this commerce shipment item.
    long
    Returns the commerce shipment item ID of this commerce shipment item.
    long
    Returns the company ID of this commerce shipment item.
    Returns the create date of this commerce shipment item.
    Returns the external reference code of this commerce shipment item.
    long
    Returns the group ID of this commerce shipment item.
     
    Returns the modified date of this commerce shipment item.
    long
    Returns the mvcc version of this commerce shipment item.
    long
    Returns the primary key of this commerce shipment item.
    Returns the quantity of this commerce shipment item.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    Returns the unit of measure key of this commerce shipment item.
    long
    Returns the user ID of this commerce shipment item.
    Returns the user name of this commerce shipment item.
    Returns the user uuid of this commerce shipment item.
    Returns the uuid of this commerce shipment item.
    void
     
    void
    setCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
    Sets the commerce inventory warehouse ID of this commerce shipment item.
    void
    setCommerceOrderItemId(long commerceOrderItemId)
    Sets the commerce order item ID of this commerce shipment item.
    void
    setCommerceShipmentId(long commerceShipmentId)
    Sets the commerce shipment ID of this commerce shipment item.
    void
    setCommerceShipmentItemId(long commerceShipmentItemId)
    Sets the commerce shipment item ID of this commerce shipment item.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce shipment item.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce shipment item.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this commerce shipment item.
    void
    setGroupId(long groupId)
    Sets the group ID of this commerce shipment item.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce shipment item.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce shipment item.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce shipment item.
    void
    Sets the quantity of this commerce shipment item.
    void
    setUnitOfMeasureKey(String unitOfMeasureKey)
    Sets the unit of measure key of this commerce shipment item.
    void
    setUserId(long userId)
    Sets the user ID of this commerce shipment item.
    void
    setUserName(String userName)
    Sets the user name of this commerce shipment item.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce shipment item.
    void
    Sets the uuid of this commerce shipment item.
     
    wrap(CommerceShipmentItem commerceShipmentItem)
     

    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

    • CommerceShipmentItemWrapper

      public CommerceShipmentItemWrapper(CommerceShipmentItem commerceShipmentItem)
  • Method Details

    • getModelAttributes

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

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

      public CommerceShipmentItem cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceShipmentItem>
      Specified by:
      cloneWithOriginalValues in interface CommerceShipmentItemModel
    • fetchCommerceOrderItem

      public CommerceOrderItem fetchCommerceOrderItem()
      Specified by:
      fetchCommerceOrderItem in interface CommerceShipmentItem
    • getCommerceInventoryWarehouseId

      public long getCommerceInventoryWarehouseId()
      Returns the commerce inventory warehouse ID of this commerce shipment item.
      Specified by:
      getCommerceInventoryWarehouseId in interface CommerceShipmentItemModel
      Returns:
      the commerce inventory warehouse ID of this commerce shipment item
    • getCommerceOrderItemId

      public long getCommerceOrderItemId()
      Returns the commerce order item ID of this commerce shipment item.
      Specified by:
      getCommerceOrderItemId in interface CommerceShipmentItemModel
      Returns:
      the commerce order item ID of this commerce shipment item
    • getCommerceShipment

      public CommerceShipment getCommerceShipment() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceShipment in interface CommerceShipmentItem
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceShipmentId

      public long getCommerceShipmentId()
      Returns the commerce shipment ID of this commerce shipment item.
      Specified by:
      getCommerceShipmentId in interface CommerceShipmentItemModel
      Returns:
      the commerce shipment ID of this commerce shipment item
    • getCommerceShipmentItemId

      public long getCommerceShipmentItemId()
      Returns the commerce shipment item ID of this commerce shipment item.
      Specified by:
      getCommerceShipmentItemId in interface CommerceShipmentItemModel
      Returns:
      the commerce shipment item ID of this commerce shipment item
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce shipment item.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceShipmentItemModel
      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 item
    • getCreateDate

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

      public String getExternalReferenceCode()
      Returns the external reference code of this commerce shipment item.
      Specified by:
      getExternalReferenceCode in interface CommerceShipmentItemModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce shipment item
    • getGroupId

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

      public Date getModifiedDate()
      Returns the modified date of this commerce shipment item.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceShipmentItemModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce shipment item
    • getMvccVersion

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

      public long getPrimaryKey()
      Returns the primary key of this commerce shipment item.
      Specified by:
      getPrimaryKey in interface CommerceShipmentItemModel
      Returns:
      the primary key of this commerce shipment item
    • getQuantity

      public BigDecimal getQuantity()
      Returns the quantity of this commerce shipment item.
      Specified by:
      getQuantity in interface CommerceShipmentItemModel
      Returns:
      the quantity of this commerce shipment item
    • getUnitOfMeasureKey

      public String getUnitOfMeasureKey()
      Returns the unit of measure key of this commerce shipment item.
      Specified by:
      getUnitOfMeasureKey in interface CommerceShipmentItemModel
      Returns:
      the unit of measure key of this commerce shipment item
    • getUserId

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

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

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

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

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

      public void setCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
      Sets the commerce inventory warehouse ID of this commerce shipment item.
      Specified by:
      setCommerceInventoryWarehouseId in interface CommerceShipmentItemModel
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID of this commerce shipment item
    • setCommerceOrderItemId

      public void setCommerceOrderItemId(long commerceOrderItemId)
      Sets the commerce order item ID of this commerce shipment item.
      Specified by:
      setCommerceOrderItemId in interface CommerceShipmentItemModel
      Parameters:
      commerceOrderItemId - the commerce order item ID of this commerce shipment item
    • setCommerceShipmentId

      public void setCommerceShipmentId(long commerceShipmentId)
      Sets the commerce shipment ID of this commerce shipment item.
      Specified by:
      setCommerceShipmentId in interface CommerceShipmentItemModel
      Parameters:
      commerceShipmentId - the commerce shipment ID of this commerce shipment item
    • setCommerceShipmentItemId

      public void setCommerceShipmentItemId(long commerceShipmentItemId)
      Sets the commerce shipment item ID of this commerce shipment item.
      Specified by:
      setCommerceShipmentItemId in interface CommerceShipmentItemModel
      Parameters:
      commerceShipmentItemId - the commerce shipment item ID of this commerce shipment item
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce shipment item.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceShipmentItemModel
      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 item
    • setCreateDate

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

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

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

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce shipment item.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceShipmentItemModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce shipment item
    • setMvccVersion

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

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce shipment item.
      Specified by:
      setPrimaryKey in interface CommerceShipmentItemModel
      Parameters:
      primaryKey - the primary key of this commerce shipment item
    • setQuantity

      public void setQuantity(BigDecimal quantity)
      Sets the quantity of this commerce shipment item.
      Specified by:
      setQuantity in interface CommerceShipmentItemModel
      Parameters:
      quantity - the quantity of this commerce shipment item
    • setUnitOfMeasureKey

      public void setUnitOfMeasureKey(String unitOfMeasureKey)
      Sets the unit of measure key of this commerce shipment item.
      Specified by:
      setUnitOfMeasureKey in interface CommerceShipmentItemModel
      Parameters:
      unitOfMeasureKey - the unit of measure key of this commerce shipment item
    • setUserId

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

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

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

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

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

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

      protected CommerceShipmentItemWrapper wrap(CommerceShipmentItem commerceShipmentItem)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShipmentItem>