Interface CPDefinitionInventoryModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CPDefinitionInventory>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>, 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:
CPDefinitionInventory
All Known Implementing Classes:
CPDefinitionInventoryWrapper

@ProviderType public interface CPDefinitionInventoryModel extends com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>, 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 CPDefinitionInventory service. Represents a row in the "CPDefinitionInventory" database table, with each column mapped to a property of this class.

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

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the allowed order quantities of this cp definition inventory.
    boolean
    Returns the back orders of this cp definition inventory.
    long
    Returns the company ID of this cp definition inventory.
    long
    Returns the cp definition ID of this cp definition inventory.
    Returns the cp definition inventory engine of this cp definition inventory.
    long
    Returns the cp definition inventory ID of this cp definition inventory.
    Returns the create date of this cp definition inventory.
    long
    Returns the ct collection ID of this cp definition inventory.
    boolean
    Returns the display availability of this cp definition inventory.
    boolean
    Returns the display stock quantity of this cp definition inventory.
    long
    Returns the group ID of this cp definition inventory.
    Returns the low stock activity of this cp definition inventory.
    Returns the max order quantity of this cp definition inventory.
    Returns the min order quantity of this cp definition inventory.
    Returns the min stock quantity of this cp definition inventory.
    Returns the modified date of this cp definition inventory.
    Returns the multiple order quantity of this cp definition inventory.
    long
    Returns the mvcc version of this cp definition inventory.
    long
    Returns the primary key of this cp definition inventory.
    long
    Returns the user ID of this cp definition inventory.
    Returns the user name of this cp definition inventory.
    Returns the user uuid of this cp definition inventory.
    Returns the uuid of this cp definition inventory.
    boolean
    Returns true if this cp definition inventory is back orders.
    boolean
    Returns true if this cp definition inventory is display availability.
    boolean
    Returns true if this cp definition inventory is display stock quantity.
    void
    setAllowedOrderQuantities(String allowedOrderQuantities)
    Sets the allowed order quantities of this cp definition inventory.
    void
    setBackOrders(boolean backOrders)
    Sets whether this cp definition inventory is back orders.
    void
    setCompanyId(long companyId)
    Sets the company ID of this cp definition inventory.
    void
    setCPDefinitionId(long CPDefinitionId)
    Sets the cp definition ID of this cp definition inventory.
    void
    setCPDefinitionInventoryEngine(String CPDefinitionInventoryEngine)
    Sets the cp definition inventory engine of this cp definition inventory.
    void
    setCPDefinitionInventoryId(long CPDefinitionInventoryId)
    Sets the cp definition inventory ID of this cp definition inventory.
    void
    setCreateDate(Date createDate)
    Sets the create date of this cp definition inventory.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this cp definition inventory.
    void
    setDisplayAvailability(boolean displayAvailability)
    Sets whether this cp definition inventory is display availability.
    void
    setDisplayStockQuantity(boolean displayStockQuantity)
    Sets whether this cp definition inventory is display stock quantity.
    void
    setGroupId(long groupId)
    Sets the group ID of this cp definition inventory.
    void
    setLowStockActivity(String lowStockActivity)
    Sets the low stock activity of this cp definition inventory.
    void
    setMaxOrderQuantity(BigDecimal maxOrderQuantity)
    Sets the max order quantity of this cp definition inventory.
    void
    setMinOrderQuantity(BigDecimal minOrderQuantity)
    Sets the min order quantity of this cp definition inventory.
    void
    setMinStockQuantity(BigDecimal minStockQuantity)
    Sets the min stock quantity of this cp definition inventory.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this cp definition inventory.
    void
    setMultipleOrderQuantity(BigDecimal multipleOrderQuantity)
    Sets the multiple order quantity of this cp definition inventory.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this cp definition inventory.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this cp definition inventory.
    void
    setUserId(long userId)
    Sets the user ID of this cp definition inventory.
    void
    setUserName(String userName)
    Sets the user name of this cp definition inventory.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this cp definition inventory.
    void
    Sets the uuid of this cp definition inventory.
    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 cp definition inventory.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>
      Returns:
      the primary key of this cp definition inventory
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this cp definition inventory.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>
      Parameters:
      primaryKey - the primary key of this cp definition inventory
    • getMvccVersion

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

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

      long getCtCollectionId()
      Returns the ct collection ID of this cp definition inventory.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>
      Returns:
      the ct collection ID of this cp definition inventory
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this cp definition inventory.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>
      Parameters:
      ctCollectionId - the ct collection ID of this cp definition inventory
    • getUuid

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

      void setUuid(String uuid)
      Sets the uuid of this cp definition inventory.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this cp definition inventory
    • getCPDefinitionInventoryId

      long getCPDefinitionInventoryId()
      Returns the cp definition inventory ID of this cp definition inventory.
      Returns:
      the cp definition inventory ID of this cp definition inventory
    • setCPDefinitionInventoryId

      void setCPDefinitionInventoryId(long CPDefinitionInventoryId)
      Sets the cp definition inventory ID of this cp definition inventory.
      Parameters:
      CPDefinitionInventoryId - the cp definition inventory ID of this cp definition inventory
    • getGroupId

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

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

      long getCompanyId()
      Returns the company ID of this cp definition inventory.
      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 cp definition inventory
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this cp definition inventory.
      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 cp definition inventory
    • getUserId

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

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

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

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

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

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

      Date getCreateDate()
      Returns the create date of this cp definition inventory.
      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 cp definition inventory
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this cp definition inventory.
      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 cp definition inventory
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this cp definition inventory.
      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 cp definition inventory
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this cp definition inventory.
      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 cp definition inventory
    • getCPDefinitionId

      long getCPDefinitionId()
      Returns the cp definition ID of this cp definition inventory.
      Returns:
      the cp definition ID of this cp definition inventory
    • setCPDefinitionId

      void setCPDefinitionId(long CPDefinitionId)
      Sets the cp definition ID of this cp definition inventory.
      Parameters:
      CPDefinitionId - the cp definition ID of this cp definition inventory
    • getCPDefinitionInventoryEngine

      @AutoEscape String getCPDefinitionInventoryEngine()
      Returns the cp definition inventory engine of this cp definition inventory.
      Returns:
      the cp definition inventory engine of this cp definition inventory
    • setCPDefinitionInventoryEngine

      void setCPDefinitionInventoryEngine(String CPDefinitionInventoryEngine)
      Sets the cp definition inventory engine of this cp definition inventory.
      Parameters:
      CPDefinitionInventoryEngine - the cp definition inventory engine of this cp definition inventory
    • getLowStockActivity

      @AutoEscape String getLowStockActivity()
      Returns the low stock activity of this cp definition inventory.
      Returns:
      the low stock activity of this cp definition inventory
    • setLowStockActivity

      void setLowStockActivity(String lowStockActivity)
      Sets the low stock activity of this cp definition inventory.
      Parameters:
      lowStockActivity - the low stock activity of this cp definition inventory
    • getDisplayAvailability

      boolean getDisplayAvailability()
      Returns the display availability of this cp definition inventory.
      Returns:
      the display availability of this cp definition inventory
    • isDisplayAvailability

      boolean isDisplayAvailability()
      Returns true if this cp definition inventory is display availability.
      Returns:
      true if this cp definition inventory is display availability; false otherwise
    • setDisplayAvailability

      void setDisplayAvailability(boolean displayAvailability)
      Sets whether this cp definition inventory is display availability.
      Parameters:
      displayAvailability - the display availability of this cp definition inventory
    • getDisplayStockQuantity

      boolean getDisplayStockQuantity()
      Returns the display stock quantity of this cp definition inventory.
      Returns:
      the display stock quantity of this cp definition inventory
    • isDisplayStockQuantity

      boolean isDisplayStockQuantity()
      Returns true if this cp definition inventory is display stock quantity.
      Returns:
      true if this cp definition inventory is display stock quantity; false otherwise
    • setDisplayStockQuantity

      void setDisplayStockQuantity(boolean displayStockQuantity)
      Sets whether this cp definition inventory is display stock quantity.
      Parameters:
      displayStockQuantity - the display stock quantity of this cp definition inventory
    • getMinStockQuantity

      BigDecimal getMinStockQuantity()
      Returns the min stock quantity of this cp definition inventory.
      Returns:
      the min stock quantity of this cp definition inventory
    • setMinStockQuantity

      void setMinStockQuantity(BigDecimal minStockQuantity)
      Sets the min stock quantity of this cp definition inventory.
      Parameters:
      minStockQuantity - the min stock quantity of this cp definition inventory
    • getBackOrders

      boolean getBackOrders()
      Returns the back orders of this cp definition inventory.
      Returns:
      the back orders of this cp definition inventory
    • isBackOrders

      boolean isBackOrders()
      Returns true if this cp definition inventory is back orders.
      Returns:
      true if this cp definition inventory is back orders; false otherwise
    • setBackOrders

      void setBackOrders(boolean backOrders)
      Sets whether this cp definition inventory is back orders.
      Parameters:
      backOrders - the back orders of this cp definition inventory
    • getMinOrderQuantity

      BigDecimal getMinOrderQuantity()
      Returns the min order quantity of this cp definition inventory.
      Returns:
      the min order quantity of this cp definition inventory
    • setMinOrderQuantity

      void setMinOrderQuantity(BigDecimal minOrderQuantity)
      Sets the min order quantity of this cp definition inventory.
      Parameters:
      minOrderQuantity - the min order quantity of this cp definition inventory
    • getMaxOrderQuantity

      BigDecimal getMaxOrderQuantity()
      Returns the max order quantity of this cp definition inventory.
      Returns:
      the max order quantity of this cp definition inventory
    • setMaxOrderQuantity

      void setMaxOrderQuantity(BigDecimal maxOrderQuantity)
      Sets the max order quantity of this cp definition inventory.
      Parameters:
      maxOrderQuantity - the max order quantity of this cp definition inventory
    • getAllowedOrderQuantities

      @AutoEscape String getAllowedOrderQuantities()
      Returns the allowed order quantities of this cp definition inventory.
      Returns:
      the allowed order quantities of this cp definition inventory
    • setAllowedOrderQuantities

      void setAllowedOrderQuantities(String allowedOrderQuantities)
      Sets the allowed order quantities of this cp definition inventory.
      Parameters:
      allowedOrderQuantities - the allowed order quantities of this cp definition inventory
    • getMultipleOrderQuantity

      BigDecimal getMultipleOrderQuantity()
      Returns the multiple order quantity of this cp definition inventory.
      Returns:
      the multiple order quantity of this cp definition inventory
    • setMultipleOrderQuantity

      void setMultipleOrderQuantity(BigDecimal multipleOrderQuantity)
      Sets the multiple order quantity of this cp definition inventory.
      Parameters:
      multipleOrderQuantity - the multiple order quantity of this cp definition inventory
    • cloneWithOriginalValues

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

      default String toXmlString()