Class CommerceInventoryWarehouseItemWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceInventoryWarehouseItem>
com.liferay.commerce.inventory.model.CommerceInventoryWarehouseItemWrapper
All Implemented Interfaces:
CommerceInventoryWarehouseItem, CommerceInventoryWarehouseItemModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouseItem>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceInventoryWarehouseItem>, 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<CommerceInventoryWarehouseItem>

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

This class is a wrapper for CommerceInventoryWarehouseItem.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.commerce.inventory.model.CommerceInventoryWarehouseItem

    COMMERCE_INVENTORY_WAREHOUSE_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 inventory warehouse item.
    long
    Returns the commerce inventory warehouse item ID of this commerce inventory warehouse item.
    long
    Returns the company ID of this commerce inventory warehouse item.
    Returns the create date of this commerce inventory warehouse item.
    Returns the external reference code of this commerce inventory warehouse item.
     
    Returns the modified date of this commerce inventory warehouse item.
    long
    Returns the mvcc version of this commerce inventory warehouse item.
    long
    Returns the primary key of this commerce inventory warehouse item.
    Returns the quantity of this commerce inventory warehouse item.
    Returns the reserved quantity of this commerce inventory warehouse item.
    Returns the sku of this commerce inventory warehouse item.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    Returns the unit of measure key of this commerce inventory warehouse item.
    long
    Returns the user ID of this commerce inventory warehouse item.
    Returns the user name of this commerce inventory warehouse item.
    Returns the user uuid of this commerce inventory warehouse item.
    Returns the uuid of this commerce inventory warehouse item.
    void
     
    void
    setCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
    Sets the commerce inventory warehouse ID of this commerce inventory warehouse item.
    void
    setCommerceInventoryWarehouseItemId(long commerceInventoryWarehouseItemId)
    Sets the commerce inventory warehouse item ID of this commerce inventory warehouse item.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce inventory warehouse item.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce inventory warehouse item.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this commerce inventory warehouse item.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce inventory warehouse item.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce inventory warehouse item.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce inventory warehouse item.
    void
    Sets the quantity of this commerce inventory warehouse item.
    void
    setReservedQuantity(BigDecimal reservedQuantity)
    Sets the reserved quantity of this commerce inventory warehouse item.
    void
    Sets the sku of this commerce inventory warehouse item.
    void
    setUnitOfMeasureKey(String unitOfMeasureKey)
    Sets the unit of measure key of this commerce inventory warehouse item.
    void
    setUserId(long userId)
    Sets the user ID of this commerce inventory warehouse item.
    void
    setUserName(String userName)
    Sets the user name of this commerce inventory warehouse item.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce inventory warehouse item.
    void
    Sets the uuid of this commerce inventory warehouse item.
     
    wrap(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem)
     

    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

  • Method Details

    • getModelAttributes

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

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

      public CommerceInventoryWarehouseItem cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouseItem>
      Specified by:
      cloneWithOriginalValues in interface CommerceInventoryWarehouseItemModel
    • getCommerceInventoryWarehouse

      public CommerceInventoryWarehouse getCommerceInventoryWarehouse() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceInventoryWarehouse in interface CommerceInventoryWarehouseItem
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceInventoryWarehouseId

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

      public long getCommerceInventoryWarehouseItemId()
      Returns the commerce inventory warehouse item ID of this commerce inventory warehouse item.
      Specified by:
      getCommerceInventoryWarehouseItemId in interface CommerceInventoryWarehouseItemModel
      Returns:
      the commerce inventory warehouse item ID of this commerce inventory warehouse item
    • getCompanyId

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

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

      public String getExternalReferenceCode()
      Returns the external reference code of this commerce inventory warehouse item.
      Specified by:
      getExternalReferenceCode in interface CommerceInventoryWarehouseItemModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce inventory warehouse item
    • getModifiedDate

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

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

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

      public BigDecimal getQuantity()
      Returns the quantity of this commerce inventory warehouse item.
      Specified by:
      getQuantity in interface CommerceInventoryWarehouseItemModel
      Returns:
      the quantity of this commerce inventory warehouse item
    • getReservedQuantity

      public BigDecimal getReservedQuantity()
      Returns the reserved quantity of this commerce inventory warehouse item.
      Specified by:
      getReservedQuantity in interface CommerceInventoryWarehouseItemModel
      Returns:
      the reserved quantity of this commerce inventory warehouse item
    • getSku

      public String getSku()
      Returns the sku of this commerce inventory warehouse item.
      Specified by:
      getSku in interface CommerceInventoryWarehouseItemModel
      Returns:
      the sku of this commerce inventory warehouse item
    • getUnitOfMeasureKey

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

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

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

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

      public String getUuid()
      Returns the uuid of this commerce inventory warehouse item.
      Specified by:
      getUuid in interface CommerceInventoryWarehouseItemModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce inventory warehouse 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 inventory warehouse item.
      Specified by:
      setCommerceInventoryWarehouseId in interface CommerceInventoryWarehouseItemModel
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID of this commerce inventory warehouse item
    • setCommerceInventoryWarehouseItemId

      public void setCommerceInventoryWarehouseItemId(long commerceInventoryWarehouseItemId)
      Sets the commerce inventory warehouse item ID of this commerce inventory warehouse item.
      Specified by:
      setCommerceInventoryWarehouseItemId in interface CommerceInventoryWarehouseItemModel
      Parameters:
      commerceInventoryWarehouseItemId - the commerce inventory warehouse item ID of this commerce inventory warehouse item
    • setCompanyId

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

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

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

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

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

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

      public void setQuantity(BigDecimal quantity)
      Sets the quantity of this commerce inventory warehouse item.
      Specified by:
      setQuantity in interface CommerceInventoryWarehouseItemModel
      Parameters:
      quantity - the quantity of this commerce inventory warehouse item
    • setReservedQuantity

      public void setReservedQuantity(BigDecimal reservedQuantity)
      Sets the reserved quantity of this commerce inventory warehouse item.
      Specified by:
      setReservedQuantity in interface CommerceInventoryWarehouseItemModel
      Parameters:
      reservedQuantity - the reserved quantity of this commerce inventory warehouse item
    • setSku

      public void setSku(String sku)
      Sets the sku of this commerce inventory warehouse item.
      Specified by:
      setSku in interface CommerceInventoryWarehouseItemModel
      Parameters:
      sku - the sku of this commerce inventory warehouse item
    • setUnitOfMeasureKey

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

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

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

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

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

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

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

      protected CommerceInventoryWarehouseItemWrapper wrap(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceInventoryWarehouseItem>