public class CommerceTierPriceEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTierPriceEntry> implements CommerceTierPriceEntry, com.liferay.portal.kernel.model.ModelWrapper<CommerceTierPriceEntry>
This class is a wrapper for CommerceTierPriceEntry
.
CommerceTierPriceEntry
,
Serialized FormCOMMERCE_TIER_PRICE_ENTRY_ID_ACCESSOR
Constructor and Description |
---|
CommerceTierPriceEntryWrapper(CommerceTierPriceEntry commerceTierPriceEntry) |
Modifier and Type | Method and Description |
---|---|
CommerceTierPriceEntry |
cloneWithOriginalValues() |
CommercePriceEntry |
getCommercePriceEntry() |
long |
getCommercePriceEntryId()
Returns the commerce price entry ID of this commerce tier price entry.
|
long |
getCommerceTierPriceEntryId()
Returns the commerce tier price entry ID of this commerce tier price entry.
|
long |
getCompanyId()
Returns the company ID of this commerce tier price entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce tier price entry.
|
boolean |
getDiscountDiscovery()
Returns the discount discovery of this commerce tier price entry.
|
java.math.BigDecimal |
getDiscountLevel1()
Returns the discount level1 of this commerce tier price entry.
|
java.math.BigDecimal |
getDiscountLevel2()
Returns the discount level2 of this commerce tier price entry.
|
java.math.BigDecimal |
getDiscountLevel3()
Returns the discount level3 of this commerce tier price entry.
|
java.math.BigDecimal |
getDiscountLevel4()
Returns the discount level4 of this commerce tier price entry.
|
java.util.Date |
getDisplayDate()
Returns the display date of this commerce tier price entry.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this commerce tier price entry.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce tier price entry.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this commerce tier price entry.
|
int |
getMinQuantity()
Returns the min quantity of this commerce tier price entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce tier price entry.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce tier price entry.
|
java.math.BigDecimal |
getPrice()
Returns the price of this commerce tier price entry.
|
CommerceMoney |
getPriceCommerceMoney(long commerceCurrencyId) |
long |
getPrimaryKey()
Returns the primary key of this commerce tier price entry.
|
java.math.BigDecimal |
getPromoPrice()
Returns the promo price of this commerce tier price entry.
|
CommerceMoney |
getPromoPriceCommerceMoney(long commerceCurrencyId) |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this commerce tier price entry.
|
long |
getStatusByUserId()
Returns the status by user ID of this commerce tier price entry.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this commerce tier price entry.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this commerce tier price entry.
|
java.util.Date |
getStatusDate()
Returns the status date of this commerce tier price entry.
|
long |
getUserId()
Returns the user ID of this commerce tier price entry.
|
java.lang.String |
getUserName()
Returns the user name of this commerce tier price entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce tier price entry.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce tier price entry.
|
boolean |
isApproved()
Returns
true if this commerce tier price entry is approved. |
boolean |
isDenied()
Returns
true if this commerce tier price entry is denied. |
boolean |
isDiscountDiscovery()
Returns
true if this commerce tier price entry is discount discovery. |
boolean |
isDraft()
Returns
true if this commerce tier price entry is a draft. |
boolean |
isExpired()
Returns
true if this commerce tier price entry is expired. |
boolean |
isInactive()
Returns
true if this commerce tier price entry is inactive. |
boolean |
isIncomplete()
Returns
true if this commerce tier price entry is incomplete. |
boolean |
isPending()
Returns
true if this commerce tier price entry is pending. |
boolean |
isScheduled()
Returns
true if this commerce tier price entry is scheduled. |
void |
persist() |
void |
setCommercePriceEntryId(long commercePriceEntryId)
Sets the commerce price entry ID of this commerce tier price entry.
|
void |
setCommerceTierPriceEntryId(long commerceTierPriceEntryId)
Sets the commerce tier price entry ID of this commerce tier price entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce tier price entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce tier price entry.
|
void |
setDiscountDiscovery(boolean discountDiscovery)
Sets whether this commerce tier price entry is discount discovery.
|
void |
setDiscountLevel1(java.math.BigDecimal discountLevel1)
Sets the discount level1 of this commerce tier price entry.
|
void |
setDiscountLevel2(java.math.BigDecimal discountLevel2)
Sets the discount level2 of this commerce tier price entry.
|
void |
setDiscountLevel3(java.math.BigDecimal discountLevel3)
Sets the discount level3 of this commerce tier price entry.
|
void |
setDiscountLevel4(java.math.BigDecimal discountLevel4)
Sets the discount level4 of this commerce tier price entry.
|
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this commerce tier price entry.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this commerce tier price entry.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce tier price entry.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this commerce tier price entry.
|
void |
setMinQuantity(int minQuantity)
Sets the min quantity of this commerce tier price entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce tier price entry.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce tier price entry.
|
void |
setPrice(java.math.BigDecimal price)
Sets the price of this commerce tier price entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce tier price entry.
|
void |
setPromoPrice(java.math.BigDecimal promoPrice)
Sets the promo price of this commerce tier price entry.
|
void |
setStatus(int status)
Sets the status of this commerce tier price entry.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this commerce tier price entry.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this commerce tier price entry.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this commerce tier price entry.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this commerce tier price entry.
|
void |
setUserId(long userId)
Sets the user ID of this commerce tier price entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce tier price entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce tier price entry.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce tier price entry.
|
protected CommerceTierPriceEntryWrapper |
wrap(CommerceTierPriceEntry commerceTierPriceEntry) |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public CommerceTierPriceEntryWrapper(CommerceTierPriceEntry commerceTierPriceEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>
public CommerceTierPriceEntry cloneWithOriginalValues()
cloneWithOriginalValues
in interface CommerceTierPriceEntryModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>
public CommercePriceEntry getCommercePriceEntry() throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceEntry
in interface CommerceTierPriceEntry
com.liferay.portal.kernel.exception.PortalException
public long getCommercePriceEntryId()
getCommercePriceEntryId
in interface CommerceTierPriceEntryModel
public long getCommerceTierPriceEntryId()
getCommerceTierPriceEntryId
in interface CommerceTierPriceEntryModel
public long getCompanyId()
getCompanyId
in interface CommerceTierPriceEntryModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceTierPriceEntryModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean getDiscountDiscovery()
getDiscountDiscovery
in interface CommerceTierPriceEntryModel
public java.math.BigDecimal getDiscountLevel1()
getDiscountLevel1
in interface CommerceTierPriceEntryModel
public java.math.BigDecimal getDiscountLevel2()
getDiscountLevel2
in interface CommerceTierPriceEntryModel
public java.math.BigDecimal getDiscountLevel3()
getDiscountLevel3
in interface CommerceTierPriceEntryModel
public java.math.BigDecimal getDiscountLevel4()
getDiscountLevel4
in interface CommerceTierPriceEntryModel
public java.util.Date getDisplayDate()
getDisplayDate
in interface CommerceTierPriceEntryModel
public java.util.Date getExpirationDate()
getExpirationDate
in interface CommerceTierPriceEntryModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CommerceTierPriceEntryModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface CommerceTierPriceEntryModel
public int getMinQuantity()
getMinQuantity
in interface CommerceTierPriceEntryModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceTierPriceEntryModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceTierPriceEntryModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.math.BigDecimal getPrice()
getPrice
in interface CommerceTierPriceEntryModel
public CommerceMoney getPriceCommerceMoney(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
getPriceCommerceMoney
in interface CommerceTierPriceEntry
com.liferay.portal.kernel.exception.PortalException
public long getPrimaryKey()
getPrimaryKey
in interface CommerceTierPriceEntryModel
public java.math.BigDecimal getPromoPrice()
getPromoPrice
in interface CommerceTierPriceEntryModel
public CommerceMoney getPromoPriceCommerceMoney(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
getPromoPriceCommerceMoney
in interface CommerceTierPriceEntry
com.liferay.portal.kernel.exception.PortalException
public int getStatus()
getStatus
in interface CommerceTierPriceEntryModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface CommerceTierPriceEntryModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface CommerceTierPriceEntryModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface CommerceTierPriceEntryModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Date getStatusDate()
getStatusDate
in interface CommerceTierPriceEntryModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getUserId()
getUserId
in interface CommerceTierPriceEntryModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceTierPriceEntryModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceTierPriceEntryModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface CommerceTierPriceEntryModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isApproved()
true
if this commerce tier price entry is approved.isApproved
in interface CommerceTierPriceEntryModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce tier price entry is approved; false
otherwisepublic boolean isDenied()
true
if this commerce tier price entry is denied.isDenied
in interface CommerceTierPriceEntryModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce tier price entry is denied; false
otherwisepublic boolean isDiscountDiscovery()
true
if this commerce tier price entry is discount discovery.isDiscountDiscovery
in interface CommerceTierPriceEntryModel
true
if this commerce tier price entry is discount discovery; false
otherwisepublic boolean isDraft()
true
if this commerce tier price entry is a draft.isDraft
in interface CommerceTierPriceEntryModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce tier price entry is a draft; false
otherwisepublic boolean isExpired()
true
if this commerce tier price entry is expired.isExpired
in interface CommerceTierPriceEntryModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce tier price entry is expired; false
otherwisepublic boolean isInactive()
true
if this commerce tier price entry is inactive.isInactive
in interface CommerceTierPriceEntryModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce tier price entry is inactive; false
otherwisepublic boolean isIncomplete()
true
if this commerce tier price entry is incomplete.isIncomplete
in interface CommerceTierPriceEntryModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce tier price entry is incomplete; false
otherwisepublic boolean isPending()
true
if this commerce tier price entry is pending.isPending
in interface CommerceTierPriceEntryModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce tier price entry is pending; false
otherwisepublic boolean isScheduled()
true
if this commerce tier price entry is scheduled.isScheduled
in interface CommerceTierPriceEntryModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce tier price entry is scheduled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCommercePriceEntryId(long commercePriceEntryId)
setCommercePriceEntryId
in interface CommerceTierPriceEntryModel
commercePriceEntryId
- the commerce price entry ID of this commerce tier price entrypublic void setCommerceTierPriceEntryId(long commerceTierPriceEntryId)
setCommerceTierPriceEntryId
in interface CommerceTierPriceEntryModel
commerceTierPriceEntryId
- the commerce tier price entry ID of this commerce tier price entrypublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceTierPriceEntryModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this commerce tier price entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceTierPriceEntryModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this commerce tier price entrypublic void setDiscountDiscovery(boolean discountDiscovery)
setDiscountDiscovery
in interface CommerceTierPriceEntryModel
discountDiscovery
- the discount discovery of this commerce tier price entrypublic void setDiscountLevel1(java.math.BigDecimal discountLevel1)
setDiscountLevel1
in interface CommerceTierPriceEntryModel
discountLevel1
- the discount level1 of this commerce tier price entrypublic void setDiscountLevel2(java.math.BigDecimal discountLevel2)
setDiscountLevel2
in interface CommerceTierPriceEntryModel
discountLevel2
- the discount level2 of this commerce tier price entrypublic void setDiscountLevel3(java.math.BigDecimal discountLevel3)
setDiscountLevel3
in interface CommerceTierPriceEntryModel
discountLevel3
- the discount level3 of this commerce tier price entrypublic void setDiscountLevel4(java.math.BigDecimal discountLevel4)
setDiscountLevel4
in interface CommerceTierPriceEntryModel
discountLevel4
- the discount level4 of this commerce tier price entrypublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate
in interface CommerceTierPriceEntryModel
displayDate
- the display date of this commerce tier price entrypublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate
in interface CommerceTierPriceEntryModel
expirationDate
- the expiration date of this commerce tier price entrypublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CommerceTierPriceEntryModel
externalReferenceCode
- the external reference code of this commerce tier price entrypublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface CommerceTierPriceEntryModel
lastPublishDate
- the last publish date of this commerce tier price entrypublic void setMinQuantity(int minQuantity)
setMinQuantity
in interface CommerceTierPriceEntryModel
minQuantity
- the min quantity of this commerce tier price entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceTierPriceEntryModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this commerce tier price entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceTierPriceEntryModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce tier price entrypublic void setPrice(java.math.BigDecimal price)
setPrice
in interface CommerceTierPriceEntryModel
price
- the price of this commerce tier price entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceTierPriceEntryModel
primaryKey
- the primary key of this commerce tier price entrypublic void setPromoPrice(java.math.BigDecimal promoPrice)
setPromoPrice
in interface CommerceTierPriceEntryModel
promoPrice
- the promo price of this commerce tier price entrypublic void setStatus(int status)
setStatus
in interface CommerceTierPriceEntryModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this commerce tier price entrypublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface CommerceTierPriceEntryModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this commerce tier price entrypublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface CommerceTierPriceEntryModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this commerce tier price entrypublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface CommerceTierPriceEntryModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this commerce tier price entrypublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface CommerceTierPriceEntryModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this commerce tier price entrypublic void setUserId(long userId)
setUserId
in interface CommerceTierPriceEntryModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce tier price entrypublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceTierPriceEntryModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce tier price entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceTierPriceEntryModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce tier price entrypublic void setUuid(java.lang.String uuid)
setUuid
in interface CommerceTierPriceEntryModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this commerce tier price entrypublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected CommerceTierPriceEntryWrapper wrap(CommerceTierPriceEntry commerceTierPriceEntry)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTierPriceEntry>