Class CommerceInventoryReplenishmentItemWrapper

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

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

This class is a wrapper for CommerceInventoryReplenishmentItem.

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

    COMMERCE_INVENTORY_REPLENISHMENT_ITEM_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the availability date of this commerce inventory replenishment item.
    long
    Returns the commerce inventory replenishment item ID of this commerce inventory replenishment item.
     
    long
    Returns the commerce inventory warehouse ID of this commerce inventory replenishment item.
    long
    Returns the company ID of this commerce inventory replenishment item.
    Returns the create date of this commerce inventory replenishment item.
    Returns the external reference code of this commerce inventory replenishment item.
     
    Returns the modified date of this commerce inventory replenishment item.
    long
    Returns the mvcc version of this commerce inventory replenishment item.
    long
    Returns the primary key of this commerce inventory replenishment item.
    Returns the quantity of this commerce inventory replenishment item.
    Returns the sku of this commerce inventory replenishment item.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    Returns the unit of measure key of this commerce inventory replenishment item.
    long
    Returns the user ID of this commerce inventory replenishment item.
    Returns the user name of this commerce inventory replenishment item.
    Returns the user uuid of this commerce inventory replenishment item.
    Returns the uuid of this commerce inventory replenishment item.
    void
     
    void
    setAvailabilityDate(Date availabilityDate)
    Sets the availability date of this commerce inventory replenishment item.
    void
    setCommerceInventoryReplenishmentItemId(long commerceInventoryReplenishmentItemId)
    Sets the commerce inventory replenishment item ID of this commerce inventory replenishment item.
    void
    setCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
    Sets the commerce inventory warehouse ID of this commerce inventory replenishment item.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce inventory replenishment item.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce inventory replenishment item.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this commerce inventory replenishment item.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce inventory replenishment item.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce inventory replenishment item.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce inventory replenishment item.
    void
    Sets the quantity of this commerce inventory replenishment item.
    void
    Sets the sku of this commerce inventory replenishment item.
    void
    setUnitOfMeasureKey(String unitOfMeasureKey)
    Sets the unit of measure key of this commerce inventory replenishment item.
    void
    setUserId(long userId)
    Sets the user ID of this commerce inventory replenishment item.
    void
    setUserName(String userName)
    Sets the user name of this commerce inventory replenishment item.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce inventory replenishment item.
    void
    Sets the uuid of this commerce inventory replenishment item.
     
    wrap(CommerceInventoryReplenishmentItem commerceInventoryReplenishmentItem)
     

    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<CommerceInventoryReplenishmentItem>
    • setModelAttributes

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

      public CommerceInventoryReplenishmentItem cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceInventoryReplenishmentItem>
      Specified by:
      cloneWithOriginalValues in interface CommerceInventoryReplenishmentItemModel
    • getAvailabilityDate

      public Date getAvailabilityDate()
      Returns the availability date of this commerce inventory replenishment item.
      Specified by:
      getAvailabilityDate in interface CommerceInventoryReplenishmentItemModel
      Returns:
      the availability date of this commerce inventory replenishment item
    • getCommerceInventoryReplenishmentItemId

      public long getCommerceInventoryReplenishmentItemId()
      Returns the commerce inventory replenishment item ID of this commerce inventory replenishment item.
      Specified by:
      getCommerceInventoryReplenishmentItemId in interface CommerceInventoryReplenishmentItemModel
      Returns:
      the commerce inventory replenishment item ID of this commerce inventory replenishment item
    • getCommerceInventoryWarehouse

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

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

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

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

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

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

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

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

      public BigDecimal getQuantity()
      Returns the quantity of this commerce inventory replenishment item.
      Specified by:
      getQuantity in interface CommerceInventoryReplenishmentItemModel
      Returns:
      the quantity of this commerce inventory replenishment item
    • getSku

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

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

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

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

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

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

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

      public void setAvailabilityDate(Date availabilityDate)
      Sets the availability date of this commerce inventory replenishment item.
      Specified by:
      setAvailabilityDate in interface CommerceInventoryReplenishmentItemModel
      Parameters:
      availabilityDate - the availability date of this commerce inventory replenishment item
    • setCommerceInventoryReplenishmentItemId

      public void setCommerceInventoryReplenishmentItemId(long commerceInventoryReplenishmentItemId)
      Sets the commerce inventory replenishment item ID of this commerce inventory replenishment item.
      Specified by:
      setCommerceInventoryReplenishmentItemId in interface CommerceInventoryReplenishmentItemModel
      Parameters:
      commerceInventoryReplenishmentItemId - the commerce inventory replenishment item ID of this commerce inventory replenishment item
    • setCommerceInventoryWarehouseId

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

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

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

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

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

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

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

      public void setQuantity(BigDecimal quantity)
      Sets the quantity of this commerce inventory replenishment item.
      Specified by:
      setQuantity in interface CommerceInventoryReplenishmentItemModel
      Parameters:
      quantity - the quantity of this commerce inventory replenishment item
    • setSku

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

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

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

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

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

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

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

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

      protected CommerceInventoryReplenishmentItemWrapper wrap(CommerceInventoryReplenishmentItem commerceInventoryReplenishmentItem)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceInventoryReplenishmentItem>