Interface CommerceInventoryWarehouseItemModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouseItem>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommerceInventoryWarehouseItem>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, 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:
CommerceInventoryWarehouseItem
All Known Implementing Classes:
CommerceInventoryWarehouseItemWrapper

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

This interface and its corresponding implementation com.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl 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.inventory.model.impl.CommerceInventoryWarehouseItemImpl.

See Also:
Generated:
  • 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.
    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
    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
    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.
    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 inventory warehouse item.
      Returns:
      the primary key of this commerce inventory warehouse item
    • setPrimaryKey

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

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

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

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

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

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

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

      long getCommerceInventoryWarehouseItemId()
      Returns the commerce inventory warehouse item ID of this commerce inventory warehouse item.
      Returns:
      the commerce inventory warehouse item ID of this commerce inventory warehouse item
    • setCommerceInventoryWarehouseItemId

      void setCommerceInventoryWarehouseItemId(long commerceInventoryWarehouseItemId)
      Sets the commerce inventory warehouse item ID of this commerce inventory warehouse item.
      Parameters:
      commerceInventoryWarehouseItemId - the commerce inventory warehouse item ID of this commerce inventory warehouse item
    • getCompanyId

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

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

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

      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
      Parameters:
      userId - the user ID of this commerce inventory warehouse item
    • getUserUuid

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

      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
      Parameters:
      userUuid - the user uuid of this commerce inventory warehouse item
    • getUserName

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

      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
      Parameters:
      userName - the user name of this commerce inventory warehouse item
    • getCreateDate

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

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

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

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

      long getCommerceInventoryWarehouseId()
      Returns the commerce inventory warehouse ID of this commerce inventory warehouse item.
      Returns:
      the commerce inventory warehouse ID of this commerce inventory warehouse item
    • setCommerceInventoryWarehouseId

      void setCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
      Sets the commerce inventory warehouse ID of this commerce inventory warehouse item.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID of this commerce inventory warehouse item
    • getQuantity

      BigDecimal getQuantity()
      Returns the quantity of this commerce inventory warehouse item.
      Returns:
      the quantity of this commerce inventory warehouse item
    • setQuantity

      void setQuantity(BigDecimal quantity)
      Sets the quantity of this commerce inventory warehouse item.
      Parameters:
      quantity - the quantity of this commerce inventory warehouse item
    • getReservedQuantity

      BigDecimal getReservedQuantity()
      Returns the reserved quantity of this commerce inventory warehouse item.
      Returns:
      the reserved quantity of this commerce inventory warehouse item
    • setReservedQuantity

      void setReservedQuantity(BigDecimal reservedQuantity)
      Sets the reserved quantity of this commerce inventory warehouse item.
      Parameters:
      reservedQuantity - the reserved quantity of this commerce inventory warehouse item
    • getSku

      @AutoEscape String getSku()
      Returns the sku of this commerce inventory warehouse item.
      Returns:
      the sku of this commerce inventory warehouse item
    • setSku

      void setSku(String sku)
      Sets the sku of this commerce inventory warehouse item.
      Parameters:
      sku - the sku of this commerce inventory warehouse item
    • getUnitOfMeasureKey

      @AutoEscape String getUnitOfMeasureKey()
      Returns the unit of measure key of this commerce inventory warehouse item.
      Returns:
      the unit of measure key of this commerce inventory warehouse item
    • setUnitOfMeasureKey

      void setUnitOfMeasureKey(String unitOfMeasureKey)
      Sets the unit of measure key of this commerce inventory warehouse item.
      Parameters:
      unitOfMeasureKey - the unit of measure key of this commerce inventory warehouse item
    • cloneWithOriginalValues

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

      default String toXmlString()