Class CommercePriceListWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceList>
com.liferay.commerce.price.list.model.CommercePriceListWrapper
All Implemented Interfaces:
CommercePriceList, CommercePriceListModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommercePriceList>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<CommercePriceList>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<CommercePriceList>

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

This class is a wrapper for CommercePriceList.

See Also:
Generated:
  • Constructor Details

    • CommercePriceListWrapper

      public CommercePriceListWrapper(CommercePriceList commercePriceList)
  • Method Details

    • getModelAttributes

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

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

      public CommercePriceList cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceList>
      Specified by:
      cloneWithOriginalValues in interface CommercePriceListModel
    • fetchParentCommercePriceList

      public CommercePriceList fetchParentCommercePriceList()
      Specified by:
      fetchParentCommercePriceList in interface CommercePriceList
    • getCatalogBasePriceList

      public boolean getCatalogBasePriceList()
      Returns the catalog base price list of this commerce price list.
      Specified by:
      getCatalogBasePriceList in interface CommercePriceListModel
      Returns:
      the catalog base price list of this commerce price list
    • getCommerceCurrency

      public com.liferay.commerce.currency.model.CommerceCurrency getCommerceCurrency() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceCurrency in interface CommercePriceList
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceCurrencyCode

      public String getCommerceCurrencyCode()
      Returns the commerce currency code of this commerce price list.
      Specified by:
      getCommerceCurrencyCode in interface CommercePriceListModel
      Returns:
      the commerce currency code of this commerce price list
    • getCommercePriceListId

      public long getCommercePriceListId()
      Returns the commerce price list ID of this commerce price list.
      Specified by:
      getCommercePriceListId in interface CommercePriceListModel
      Returns:
      the commerce price list ID of this commerce price list
    • getCompanyId

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

      public Date getCreateDate()
      Returns the create date of this commerce price list.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommercePriceListModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce price list
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this commerce price list.
      Specified by:
      getCtCollectionId in interface CommercePriceListModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>
      Returns:
      the ct collection ID of this commerce price list
    • getDisplayDate

      public Date getDisplayDate()
      Returns the display date of this commerce price list.
      Specified by:
      getDisplayDate in interface CommercePriceListModel
      Returns:
      the display date of this commerce price list
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this commerce price list.
      Specified by:
      getExpirationDate in interface CommercePriceListModel
      Returns:
      the expiration date of this commerce price list
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this commerce price list.
      Specified by:
      getExternalReferenceCode in interface CommercePriceListModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce price list
    • getGroupId

      public long getGroupId()
      Returns the group ID of this commerce price list.
      Specified by:
      getGroupId in interface CommercePriceListModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce price list
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this commerce price list.
      Specified by:
      getLastPublishDate in interface CommercePriceListModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this commerce price list
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce price list.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommercePriceListModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce price list
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce price list.
      Specified by:
      getMvccVersion in interface CommercePriceListModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce price list
    • getName

      public String getName()
      Returns the name of this commerce price list.
      Specified by:
      getName in interface CommercePriceListModel
      Returns:
      the name of this commerce price list
    • getNetPrice

      public boolean getNetPrice()
      Returns the net price of this commerce price list.
      Specified by:
      getNetPrice in interface CommercePriceListModel
      Returns:
      the net price of this commerce price list
    • getParentCommercePriceListId

      public long getParentCommercePriceListId()
      Returns the parent commerce price list ID of this commerce price list.
      Specified by:
      getParentCommercePriceListId in interface CommercePriceListModel
      Returns:
      the parent commerce price list ID of this commerce price list
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce price list.
      Specified by:
      getPrimaryKey in interface CommercePriceListModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>
      Returns:
      the primary key of this commerce price list
    • getPriority

      public double getPriority()
      Returns the priority of this commerce price list.
      Specified by:
      getPriority in interface CommercePriceListModel
      Returns:
      the priority of this commerce price list
    • getStatus

      public int getStatus()
      Returns the status of this commerce price list.
      Specified by:
      getStatus in interface CommercePriceListModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this commerce price list
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this commerce price list.
      Specified by:
      getStatusByUserId in interface CommercePriceListModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this commerce price list
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this commerce price list.
      Specified by:
      getStatusByUserName in interface CommercePriceListModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this commerce price list
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this commerce price list.
      Specified by:
      getStatusByUserUuid in interface CommercePriceListModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this commerce price list
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this commerce price list.
      Specified by:
      getStatusDate in interface CommercePriceListModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this commerce price list
    • getType

      public String getType()
      Returns the type of this commerce price list.
      Specified by:
      getType in interface CommercePriceListModel
      Returns:
      the type of this commerce price list
    • getUserId

      public long getUserId()
      Returns the user ID of this commerce price list.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommercePriceListModel
      Returns:
      the user ID of this commerce price list
    • getUserName

      public String getUserName()
      Returns the user name of this commerce price list.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommercePriceListModel
      Returns:
      the user name of this commerce price list
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce price list.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommercePriceListModel
      Returns:
      the user uuid of this commerce price list
    • getUuid

      public String getUuid()
      Returns the uuid of this commerce price list.
      Specified by:
      getUuid in interface CommercePriceListModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce price list
    • isApproved

      public boolean isApproved()
      Returns true if this commerce price list is approved.
      Specified by:
      isApproved in interface CommercePriceListModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price list is approved; false otherwise
    • isCatalogBasePriceList

      public boolean isCatalogBasePriceList()
      Returns true if this commerce price list is catalog base price list.
      Specified by:
      isCatalogBasePriceList in interface CommercePriceListModel
      Returns:
      true if this commerce price list is catalog base price list; false otherwise
    • isDenied

      public boolean isDenied()
      Returns true if this commerce price list is denied.
      Specified by:
      isDenied in interface CommercePriceListModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price list is denied; false otherwise
    • isDraft

      public boolean isDraft()
      Returns true if this commerce price list is a draft.
      Specified by:
      isDraft in interface CommercePriceListModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price list is a draft; false otherwise
    • isExpired

      public boolean isExpired()
      Returns true if this commerce price list is expired.
      Specified by:
      isExpired in interface CommercePriceListModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price list is expired; false otherwise
    • isInactive

      public boolean isInactive()
      Returns true if this commerce price list is inactive.
      Specified by:
      isInactive in interface CommercePriceListModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price list is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this commerce price list is incomplete.
      Specified by:
      isIncomplete in interface CommercePriceListModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price list is incomplete; false otherwise
    • isNetPrice

      public boolean isNetPrice()
      Returns true if this commerce price list is net price.
      Specified by:
      isNetPrice in interface CommercePriceListModel
      Returns:
      true if this commerce price list is net price; false otherwise
    • isPending

      public boolean isPending()
      Returns true if this commerce price list is pending.
      Specified by:
      isPending in interface CommercePriceListModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price list is pending; false otherwise
    • isScheduled

      public boolean isScheduled()
      Returns true if this commerce price list is scheduled.
      Specified by:
      isScheduled in interface CommercePriceListModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price list is scheduled; false otherwise
    • persist

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

      public void setCatalogBasePriceList(boolean catalogBasePriceList)
      Sets whether this commerce price list is catalog base price list.
      Specified by:
      setCatalogBasePriceList in interface CommercePriceListModel
      Parameters:
      catalogBasePriceList - the catalog base price list of this commerce price list
    • setCommerceCurrencyCode

      public void setCommerceCurrencyCode(String commerceCurrencyCode)
      Sets the commerce currency code of this commerce price list.
      Specified by:
      setCommerceCurrencyCode in interface CommercePriceListModel
      Parameters:
      commerceCurrencyCode - the commerce currency code of this commerce price list
    • setCommercePriceListId

      public void setCommercePriceListId(long commercePriceListId)
      Sets the commerce price list ID of this commerce price list.
      Specified by:
      setCommercePriceListId in interface CommercePriceListModel
      Parameters:
      commercePriceListId - the commerce price list ID of this commerce price list
    • setCompanyId

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

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce price list.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommercePriceListModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce price list
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this commerce price list.
      Specified by:
      setCtCollectionId in interface CommercePriceListModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>
      Parameters:
      ctCollectionId - the ct collection ID of this commerce price list
    • setDisplayDate

      public void setDisplayDate(Date displayDate)
      Sets the display date of this commerce price list.
      Specified by:
      setDisplayDate in interface CommercePriceListModel
      Parameters:
      displayDate - the display date of this commerce price list
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this commerce price list.
      Specified by:
      setExpirationDate in interface CommercePriceListModel
      Parameters:
      expirationDate - the expiration date of this commerce price list
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this commerce price list.
      Specified by:
      setExternalReferenceCode in interface CommercePriceListModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this commerce price list
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this commerce price list.
      Specified by:
      setGroupId in interface CommercePriceListModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce price list
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this commerce price list.
      Specified by:
      setLastPublishDate in interface CommercePriceListModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this commerce price list
    • setModifiedDate

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

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce price list.
      Specified by:
      setMvccVersion in interface CommercePriceListModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce price list
    • setName

      public void setName(String name)
      Sets the name of this commerce price list.
      Specified by:
      setName in interface CommercePriceListModel
      Parameters:
      name - the name of this commerce price list
    • setNetPrice

      public void setNetPrice(boolean netPrice)
      Sets whether this commerce price list is net price.
      Specified by:
      setNetPrice in interface CommercePriceListModel
      Parameters:
      netPrice - the net price of this commerce price list
    • setParentCommercePriceListId

      public void setParentCommercePriceListId(long parentCommercePriceListId)
      Sets the parent commerce price list ID of this commerce price list.
      Specified by:
      setParentCommercePriceListId in interface CommercePriceListModel
      Parameters:
      parentCommercePriceListId - the parent commerce price list ID of this commerce price list
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce price list.
      Specified by:
      setPrimaryKey in interface CommercePriceListModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceList>
      Parameters:
      primaryKey - the primary key of this commerce price list
    • setPriority

      public void setPriority(double priority)
      Sets the priority of this commerce price list.
      Specified by:
      setPriority in interface CommercePriceListModel
      Parameters:
      priority - the priority of this commerce price list
    • setStatus

      public void setStatus(int status)
      Sets the status of this commerce price list.
      Specified by:
      setStatus in interface CommercePriceListModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this commerce price list
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this commerce price list.
      Specified by:
      setStatusByUserId in interface CommercePriceListModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this commerce price list
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this commerce price list.
      Specified by:
      setStatusByUserName in interface CommercePriceListModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this commerce price list
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this commerce price list.
      Specified by:
      setStatusByUserUuid in interface CommercePriceListModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this commerce price list
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this commerce price list.
      Specified by:
      setStatusDate in interface CommercePriceListModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this commerce price list
    • setType

      public void setType(String type)
      Sets the type of this commerce price list.
      Specified by:
      setType in interface CommercePriceListModel
      Parameters:
      type - the type of this commerce price list
    • setUserId

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

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

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

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

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

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

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

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

      protected CommercePriceListWrapper wrap(CommercePriceList commercePriceList)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceList>