Class CPDefinitionInventoryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionInventory>
com.liferay.commerce.model.CPDefinitionInventoryWrapper
All Implemented Interfaces:
CPDefinitionInventory, CPDefinitionInventoryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionInventory>, 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<CPDefinitionInventory>

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

This class is a wrapper for CPDefinitionInventory.

See Also:
Generated:
  • Constructor Details

    • CPDefinitionInventoryWrapper

      public CPDefinitionInventoryWrapper(CPDefinitionInventory cpDefinitionInventory)
  • Method Details

    • getModelAttributes

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

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

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

      public String getAllowedOrderQuantities()
      Returns the allowed order quantities of this cp definition inventory.
      Specified by:
      getAllowedOrderQuantities in interface CPDefinitionInventoryModel
      Returns:
      the allowed order quantities of this cp definition inventory
    • getAllowedOrderQuantitiesArray

      public BigDecimal[] getAllowedOrderQuantitiesArray()
      Specified by:
      getAllowedOrderQuantitiesArray in interface CPDefinitionInventory
    • getBackOrders

      public boolean getBackOrders()
      Returns the back orders of this cp definition inventory.
      Specified by:
      getBackOrders in interface CPDefinitionInventoryModel
      Returns:
      the back orders of this cp definition inventory
    • getCompanyId

      public 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 CPDefinitionInventoryModel
      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
    • getCPDefinitionId

      public long getCPDefinitionId()
      Returns the cp definition ID of this cp definition inventory.
      Specified by:
      getCPDefinitionId in interface CPDefinitionInventoryModel
      Returns:
      the cp definition ID of this cp definition inventory
    • getCPDefinitionInventoryEngine

      public String getCPDefinitionInventoryEngine()
      Returns the cp definition inventory engine of this cp definition inventory.
      Specified by:
      getCPDefinitionInventoryEngine in interface CPDefinitionInventoryModel
      Returns:
      the cp definition inventory engine of this cp definition inventory
    • getCPDefinitionInventoryId

      public long getCPDefinitionInventoryId()
      Returns the cp definition inventory ID of this cp definition inventory.
      Specified by:
      getCPDefinitionInventoryId in interface CPDefinitionInventoryModel
      Returns:
      the cp definition inventory ID of this cp definition inventory
    • getCreateDate

      public 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 CPDefinitionInventoryModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this cp definition inventory
    • getCtCollectionId

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

      public boolean getDisplayAvailability()
      Returns the display availability of this cp definition inventory.
      Specified by:
      getDisplayAvailability in interface CPDefinitionInventoryModel
      Returns:
      the display availability of this cp definition inventory
    • getDisplayStockQuantity

      public boolean getDisplayStockQuantity()
      Returns the display stock quantity of this cp definition inventory.
      Specified by:
      getDisplayStockQuantity in interface CPDefinitionInventoryModel
      Returns:
      the display stock quantity of this cp definition inventory
    • getGroupId

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

      public String getLowStockActivity()
      Returns the low stock activity of this cp definition inventory.
      Specified by:
      getLowStockActivity in interface CPDefinitionInventoryModel
      Returns:
      the low stock activity of this cp definition inventory
    • getMaxOrderQuantity

      public BigDecimal getMaxOrderQuantity()
      Returns the max order quantity of this cp definition inventory.
      Specified by:
      getMaxOrderQuantity in interface CPDefinitionInventoryModel
      Returns:
      the max order quantity of this cp definition inventory
    • getMinOrderQuantity

      public BigDecimal getMinOrderQuantity()
      Returns the min order quantity of this cp definition inventory.
      Specified by:
      getMinOrderQuantity in interface CPDefinitionInventoryModel
      Returns:
      the min order quantity of this cp definition inventory
    • getMinStockQuantity

      public BigDecimal getMinStockQuantity()
      Returns the min stock quantity of this cp definition inventory.
      Specified by:
      getMinStockQuantity in interface CPDefinitionInventoryModel
      Returns:
      the min stock quantity of this cp definition inventory
    • getModifiedDate

      public 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 CPDefinitionInventoryModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this cp definition inventory
    • getMultipleOrderQuantity

      public BigDecimal getMultipleOrderQuantity()
      Returns the multiple order quantity of this cp definition inventory.
      Specified by:
      getMultipleOrderQuantity in interface CPDefinitionInventoryModel
      Returns:
      the multiple order quantity of this cp definition inventory
    • getMvccVersion

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

      public long getPrimaryKey()
      Returns the primary key of this cp definition inventory.
      Specified by:
      getPrimaryKey in interface CPDefinitionInventoryModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionInventory>
      Returns:
      the primary key of this cp definition inventory
    • getUserId

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

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

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

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

      public boolean isBackOrders()
      Returns true if this cp definition inventory is back orders.
      Specified by:
      isBackOrders in interface CPDefinitionInventoryModel
      Returns:
      true if this cp definition inventory is back orders; false otherwise
    • isDisplayAvailability

      public boolean isDisplayAvailability()
      Returns true if this cp definition inventory is display availability.
      Specified by:
      isDisplayAvailability in interface CPDefinitionInventoryModel
      Returns:
      true if this cp definition inventory is display availability; false otherwise
    • isDisplayStockQuantity

      public boolean isDisplayStockQuantity()
      Returns true if this cp definition inventory is display stock quantity.
      Specified by:
      isDisplayStockQuantity in interface CPDefinitionInventoryModel
      Returns:
      true if this cp definition inventory is display stock quantity; false otherwise
    • persist

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

      public void setAllowedOrderQuantities(String allowedOrderQuantities)
      Sets the allowed order quantities of this cp definition inventory.
      Specified by:
      setAllowedOrderQuantities in interface CPDefinitionInventoryModel
      Parameters:
      allowedOrderQuantities - the allowed order quantities of this cp definition inventory
    • setBackOrders

      public void setBackOrders(boolean backOrders)
      Sets whether this cp definition inventory is back orders.
      Specified by:
      setBackOrders in interface CPDefinitionInventoryModel
      Parameters:
      backOrders - the back orders of this cp definition inventory
    • setCompanyId

      public 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 CPDefinitionInventoryModel
      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
    • setCPDefinitionId

      public void setCPDefinitionId(long CPDefinitionId)
      Sets the cp definition ID of this cp definition inventory.
      Specified by:
      setCPDefinitionId in interface CPDefinitionInventoryModel
      Parameters:
      CPDefinitionId - the cp definition ID of this cp definition inventory
    • setCPDefinitionInventoryEngine

      public void setCPDefinitionInventoryEngine(String CPDefinitionInventoryEngine)
      Sets the cp definition inventory engine of this cp definition inventory.
      Specified by:
      setCPDefinitionInventoryEngine in interface CPDefinitionInventoryModel
      Parameters:
      CPDefinitionInventoryEngine - the cp definition inventory engine of this cp definition inventory
    • setCPDefinitionInventoryId

      public void setCPDefinitionInventoryId(long CPDefinitionInventoryId)
      Sets the cp definition inventory ID of this cp definition inventory.
      Specified by:
      setCPDefinitionInventoryId in interface CPDefinitionInventoryModel
      Parameters:
      CPDefinitionInventoryId - the cp definition inventory ID of this cp definition inventory
    • setCreateDate

      public 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 CPDefinitionInventoryModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this cp definition inventory
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this cp definition inventory.
      Specified by:
      setCtCollectionId in interface CPDefinitionInventoryModel
      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
    • setDisplayAvailability

      public void setDisplayAvailability(boolean displayAvailability)
      Sets whether this cp definition inventory is display availability.
      Specified by:
      setDisplayAvailability in interface CPDefinitionInventoryModel
      Parameters:
      displayAvailability - the display availability of this cp definition inventory
    • setDisplayStockQuantity

      public void setDisplayStockQuantity(boolean displayStockQuantity)
      Sets whether this cp definition inventory is display stock quantity.
      Specified by:
      setDisplayStockQuantity in interface CPDefinitionInventoryModel
      Parameters:
      displayStockQuantity - the display stock quantity of this cp definition inventory
    • setGroupId

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

      public void setLowStockActivity(String lowStockActivity)
      Sets the low stock activity of this cp definition inventory.
      Specified by:
      setLowStockActivity in interface CPDefinitionInventoryModel
      Parameters:
      lowStockActivity - the low stock activity of this cp definition inventory
    • setMaxOrderQuantity

      public void setMaxOrderQuantity(BigDecimal maxOrderQuantity)
      Sets the max order quantity of this cp definition inventory.
      Specified by:
      setMaxOrderQuantity in interface CPDefinitionInventoryModel
      Parameters:
      maxOrderQuantity - the max order quantity of this cp definition inventory
    • setMinOrderQuantity

      public void setMinOrderQuantity(BigDecimal minOrderQuantity)
      Sets the min order quantity of this cp definition inventory.
      Specified by:
      setMinOrderQuantity in interface CPDefinitionInventoryModel
      Parameters:
      minOrderQuantity - the min order quantity of this cp definition inventory
    • setMinStockQuantity

      public void setMinStockQuantity(BigDecimal minStockQuantity)
      Sets the min stock quantity of this cp definition inventory.
      Specified by:
      setMinStockQuantity in interface CPDefinitionInventoryModel
      Parameters:
      minStockQuantity - the min stock quantity of this cp definition inventory
    • setModifiedDate

      public 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 CPDefinitionInventoryModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this cp definition inventory
    • setMultipleOrderQuantity

      public void setMultipleOrderQuantity(BigDecimal multipleOrderQuantity)
      Sets the multiple order quantity of this cp definition inventory.
      Specified by:
      setMultipleOrderQuantity in interface CPDefinitionInventoryModel
      Parameters:
      multipleOrderQuantity - the multiple order quantity of this cp definition inventory
    • setMvccVersion

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

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

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

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

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface CPDefinitionInventoryModel
    • getAttributeGetterFunctions

      public Map<String,Function<CPDefinitionInventory,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<CPDefinitionInventory,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CPDefinitionInventory>
    • getStagedModelType

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

      protected CPDefinitionInventoryWrapper wrap(CPDefinitionInventory cpDefinitionInventory)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionInventory>