Class CommercePriceModifierWrapper

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

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

This class is a wrapper for CommercePriceModifier.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.commerce.pricing.model.CommercePriceModifier

    COMMERCE_PRICE_MODIFIER_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    Returns the active of this commerce price modifier.
     
     
    long
    Returns the commerce price list ID of this commerce price modifier.
    long
    Returns the commerce price modifier ID of this commerce price modifier.
    long
    Returns the company ID of this commerce price modifier.
    Returns the create date of this commerce price modifier.
    long
    Returns the ct collection ID of this commerce price modifier.
    Returns the display date of this commerce price modifier.
    Returns the expiration date of this commerce price modifier.
    Returns the external reference code of this commerce price modifier.
    long
    Returns the group ID of this commerce price modifier.
    Returns the last publish date of this commerce price modifier.
     
    Returns the modified date of this commerce price modifier.
    Returns the modifier amount of this commerce price modifier.
    Returns the modifier type of this commerce price modifier.
    long
    Returns the mvcc version of this commerce price modifier.
    long
    Returns the primary key of this commerce price modifier.
    double
    Returns the priority of this commerce price modifier.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    int
    Returns the status of this commerce price modifier.
    long
    Returns the status by user ID of this commerce price modifier.
    Returns the status by user name of this commerce price modifier.
    Returns the status by user uuid of this commerce price modifier.
    Returns the status date of this commerce price modifier.
    Returns the target of this commerce price modifier.
    Returns the title of this commerce price modifier.
    long
    Returns the user ID of this commerce price modifier.
    Returns the user name of this commerce price modifier.
    Returns the user uuid of this commerce price modifier.
    Returns the uuid of this commerce price modifier.
    boolean
    Returns true if this commerce price modifier is active.
    boolean
    Returns true if this commerce price modifier is approved.
    boolean
    Returns true if this commerce price modifier is denied.
    boolean
    Returns true if this commerce price modifier is a draft.
    boolean
    Returns true if this commerce price modifier is expired.
    boolean
    Returns true if this commerce price modifier is inactive.
    boolean
    Returns true if this commerce price modifier is incomplete.
    boolean
    Returns true if this commerce price modifier is pending.
    boolean
    Returns true if this commerce price modifier is scheduled.
    void
     
    void
    setActive(boolean active)
    Sets whether this commerce price modifier is active.
    void
    setCommercePriceListId(long commercePriceListId)
    Sets the commerce price list ID of this commerce price modifier.
    void
    setCommercePriceModifierId(long commercePriceModifierId)
    Sets the commerce price modifier ID of this commerce price modifier.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce price modifier.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce price modifier.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this commerce price modifier.
    void
    setDisplayDate(Date displayDate)
    Sets the display date of this commerce price modifier.
    void
    setExpirationDate(Date expirationDate)
    Sets the expiration date of this commerce price modifier.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this commerce price modifier.
    void
    setGroupId(long groupId)
    Sets the group ID of this commerce price modifier.
    void
    setLastPublishDate(Date lastPublishDate)
    Sets the last publish date of this commerce price modifier.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce price modifier.
    void
    setModifierAmount(BigDecimal modifierAmount)
    Sets the modifier amount of this commerce price modifier.
    void
    setModifierType(String modifierType)
    Sets the modifier type of this commerce price modifier.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce price modifier.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce price modifier.
    void
    setPriority(double priority)
    Sets the priority of this commerce price modifier.
    void
    setStatus(int status)
    Sets the status of this commerce price modifier.
    void
    setStatusByUserId(long statusByUserId)
    Sets the status by user ID of this commerce price modifier.
    void
    setStatusByUserName(String statusByUserName)
    Sets the status by user name of this commerce price modifier.
    void
    setStatusByUserUuid(String statusByUserUuid)
    Sets the status by user uuid of this commerce price modifier.
    void
    setStatusDate(Date statusDate)
    Sets the status date of this commerce price modifier.
    void
    setTarget(String target)
    Sets the target of this commerce price modifier.
    void
    Sets the title of this commerce price modifier.
    void
    setUserId(long userId)
    Sets the user ID of this commerce price modifier.
    void
    setUserName(String userName)
    Sets the user name of this commerce price modifier.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce price modifier.
    void
    Sets the uuid of this commerce price modifier.
     
    wrap(CommercePriceModifier commercePriceModifier)
     

    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, 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

    • CommercePriceModifierWrapper

      public CommercePriceModifierWrapper(CommercePriceModifier commercePriceModifier)
  • Method Details

    • getModelAttributes

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

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

      public CommercePriceModifier cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceModifier>
      Specified by:
      cloneWithOriginalValues in interface CommercePriceModifierModel
    • getActive

      public boolean getActive()
      Returns the active of this commerce price modifier.
      Specified by:
      getActive in interface CommercePriceModifierModel
      Returns:
      the active of this commerce price modifier
    • getCommercePriceListId

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

      public long getCommercePriceModifierId()
      Returns the commerce price modifier ID of this commerce price modifier.
      Specified by:
      getCommercePriceModifierId in interface CommercePriceModifierModel
      Returns:
      the commerce price modifier ID of this commerce price modifier
    • getCompanyId

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

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

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

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

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

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

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

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

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

      public BigDecimal getModifierAmount()
      Returns the modifier amount of this commerce price modifier.
      Specified by:
      getModifierAmount in interface CommercePriceModifierModel
      Returns:
      the modifier amount of this commerce price modifier
    • getModifierType

      public String getModifierType()
      Returns the modifier type of this commerce price modifier.
      Specified by:
      getModifierType in interface CommercePriceModifierModel
      Returns:
      the modifier type of this commerce price modifier
    • getMvccVersion

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

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

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

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

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

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

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

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

      public String getTarget()
      Returns the target of this commerce price modifier.
      Specified by:
      getTarget in interface CommercePriceModifierModel
      Returns:
      the target of this commerce price modifier
    • getTitle

      public String getTitle()
      Returns the title of this commerce price modifier.
      Specified by:
      getTitle in interface CommercePriceModifierModel
      Returns:
      the title of this commerce price modifier
    • getUserId

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

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

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

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

      public boolean isActive()
      Returns true if this commerce price modifier is active.
      Specified by:
      isActive in interface CommercePriceModifierModel
      Returns:
      true if this commerce price modifier is active; false otherwise
    • isApproved

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

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

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

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

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

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

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

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

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

      public void setActive(boolean active)
      Sets whether this commerce price modifier is active.
      Specified by:
      setActive in interface CommercePriceModifierModel
      Parameters:
      active - the active of this commerce price modifier
    • setCommercePriceListId

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

      public void setCommercePriceModifierId(long commercePriceModifierId)
      Sets the commerce price modifier ID of this commerce price modifier.
      Specified by:
      setCommercePriceModifierId in interface CommercePriceModifierModel
      Parameters:
      commercePriceModifierId - the commerce price modifier ID of this commerce price modifier
    • setCompanyId

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

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

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

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

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

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

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

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

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

      public void setModifierAmount(BigDecimal modifierAmount)
      Sets the modifier amount of this commerce price modifier.
      Specified by:
      setModifierAmount in interface CommercePriceModifierModel
      Parameters:
      modifierAmount - the modifier amount of this commerce price modifier
    • setModifierType

      public void setModifierType(String modifierType)
      Sets the modifier type of this commerce price modifier.
      Specified by:
      setModifierType in interface CommercePriceModifierModel
      Parameters:
      modifierType - the modifier type of this commerce price modifier
    • setMvccVersion

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

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

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

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

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

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

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

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

      public void setTarget(String target)
      Sets the target of this commerce price modifier.
      Specified by:
      setTarget in interface CommercePriceModifierModel
      Parameters:
      target - the target of this commerce price modifier
    • setTitle

      public void setTitle(String title)
      Sets the title of this commerce price modifier.
      Specified by:
      setTitle in interface CommercePriceModifierModel
      Parameters:
      title - the title of this commerce price modifier
    • setUserId

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

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

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

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

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

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

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

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

      protected CommercePriceModifierWrapper wrap(CommercePriceModifier commercePriceModifier)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceModifier>