public class CommercePriceEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceEntry> implements CommercePriceEntry, com.liferay.portal.kernel.model.ModelWrapper<CommercePriceEntry>
This class is a wrapper for CommercePriceEntry
.
CommercePriceEntry
,
Serialized FormCOMMERCE_PRICE_ENTRY_ID_ACCESSOR
Constructor and Description |
---|
CommercePriceEntryWrapper(CommercePriceEntry commercePriceEntry) |
Modifier and Type | Method and Description |
---|---|
CommercePriceEntry |
cloneWithOriginalValues() |
boolean |
getBulkPricing()
Returns the bulk pricing of this commerce price entry.
|
long |
getCommercePriceEntryId()
Returns the commerce price entry ID of this commerce price entry.
|
CommercePriceList |
getCommercePriceList() |
long |
getCommercePriceListId()
Returns the commerce price list ID of this commerce price entry.
|
long |
getCompanyId()
Returns the company ID of this commerce price entry.
|
CPInstance |
getCPInstance() |
java.lang.String |
getCPInstanceUuid()
Returns the cp instance uuid of this commerce price entry.
|
long |
getCProductId()
Returns the c product ID of this commerce price entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce price entry.
|
boolean |
getDiscountDiscovery()
Returns the discount discovery of this commerce price entry.
|
java.math.BigDecimal |
getDiscountLevel1()
Returns the discount level1 of this commerce price entry.
|
java.math.BigDecimal |
getDiscountLevel2()
Returns the discount level2 of this commerce price entry.
|
java.math.BigDecimal |
getDiscountLevel3()
Returns the discount level3 of this commerce price entry.
|
java.math.BigDecimal |
getDiscountLevel4()
Returns the discount level4 of this commerce price entry.
|
java.util.Date |
getDisplayDate()
Returns the display date of this commerce price entry.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this commerce price entry.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce price entry.
|
boolean |
getHasTierPrice()
Returns the has tier price of this commerce price entry.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this commerce price entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce price entry.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce price entry.
|
java.math.BigDecimal |
getPrice()
Returns the price of this commerce price entry.
|
CommerceMoney |
getPriceCommerceMoney(long commerceCurrencyId) |
long |
getPrimaryKey()
Returns the primary key of this commerce price entry.
|
java.math.BigDecimal |
getPromoPrice()
Returns the promo price of this commerce price entry.
|
CommerceMoney |
getPromoPriceCommerceMoney(long commerceCurrencyId) |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this commerce price entry.
|
long |
getStatusByUserId()
Returns the status by user ID of this commerce price entry.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this commerce price entry.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this commerce price entry.
|
java.util.Date |
getStatusDate()
Returns the status date of this commerce price entry.
|
long |
getUserId()
Returns the user ID of this commerce price entry.
|
java.lang.String |
getUserName()
Returns the user name of this commerce price entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce price entry.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce price entry.
|
boolean |
isApproved()
Returns
true if this commerce price entry is approved. |
boolean |
isBulkPricing()
Returns
true if this commerce price entry is bulk pricing. |
boolean |
isDenied()
Returns
true if this commerce price entry is denied. |
boolean |
isDiscountDiscovery()
Returns
true if this commerce price entry is discount discovery. |
boolean |
isDraft()
Returns
true if this commerce price entry is a draft. |
boolean |
isExpired()
Returns
true if this commerce price entry is expired. |
boolean |
isHasTierPrice()
Returns
true if this commerce price entry is has tier price. |
boolean |
isInactive()
Returns
true if this commerce price entry is inactive. |
boolean |
isIncomplete()
Returns
true if this commerce price entry is incomplete. |
boolean |
isPending()
Returns
true if this commerce price entry is pending. |
boolean |
isScheduled()
Returns
true if this commerce price entry is scheduled. |
void |
persist() |
void |
setBulkPricing(boolean bulkPricing)
Sets whether this commerce price entry is bulk pricing.
|
void |
setCommercePriceEntryId(long commercePriceEntryId)
Sets the commerce price entry ID of this commerce price entry.
|
void |
setCommercePriceListId(long commercePriceListId)
Sets the commerce price list ID of this commerce price entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce price entry.
|
void |
setCPInstanceUuid(java.lang.String CPInstanceUuid)
Sets the cp instance uuid of this commerce price entry.
|
void |
setCProductId(long CProductId)
Sets the c product ID of this commerce price entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce price entry.
|
void |
setDiscountDiscovery(boolean discountDiscovery)
Sets whether this commerce price entry is discount discovery.
|
void |
setDiscountLevel1(java.math.BigDecimal discountLevel1)
Sets the discount level1 of this commerce price entry.
|
void |
setDiscountLevel2(java.math.BigDecimal discountLevel2)
Sets the discount level2 of this commerce price entry.
|
void |
setDiscountLevel3(java.math.BigDecimal discountLevel3)
Sets the discount level3 of this commerce price entry.
|
void |
setDiscountLevel4(java.math.BigDecimal discountLevel4)
Sets the discount level4 of this commerce price entry.
|
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this commerce price entry.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this commerce price entry.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce price entry.
|
void |
setHasTierPrice(boolean hasTierPrice)
Sets whether this commerce price entry is has tier price.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this commerce 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 price entry.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce price entry.
|
void |
setPrice(java.math.BigDecimal price)
Sets the price of this commerce price entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce price entry.
|
void |
setPromoPrice(java.math.BigDecimal promoPrice)
Sets the promo price of this commerce price entry.
|
void |
setStatus(int status)
Sets the status of this commerce price entry.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this commerce price entry.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this commerce price entry.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this commerce price entry.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this commerce price entry.
|
void |
setUserId(long userId)
Sets the user ID of this commerce price entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce price entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce price entry.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce price entry.
|
protected CommercePriceEntryWrapper |
wrap(CommercePriceEntry commercePriceEntry) |
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 CommercePriceEntryWrapper(CommercePriceEntry commercePriceEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceEntry>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceEntry>
public CommercePriceEntry cloneWithOriginalValues()
cloneWithOriginalValues
in interface CommercePriceEntryModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceEntry>
public boolean getBulkPricing()
getBulkPricing
in interface CommercePriceEntryModel
public long getCommercePriceEntryId()
getCommercePriceEntryId
in interface CommercePriceEntryModel
public CommercePriceList getCommercePriceList() throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceList
in interface CommercePriceEntry
com.liferay.portal.kernel.exception.PortalException
public long getCommercePriceListId()
getCommercePriceListId
in interface CommercePriceEntryModel
public long getCompanyId()
getCompanyId
in interface CommercePriceEntryModel
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 CPInstance getCPInstance() throws com.liferay.portal.kernel.exception.PortalException
getCPInstance
in interface CommercePriceEntry
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getCPInstanceUuid()
getCPInstanceUuid
in interface CommercePriceEntryModel
public long getCProductId()
getCProductId
in interface CommercePriceEntryModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommercePriceEntryModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean getDiscountDiscovery()
getDiscountDiscovery
in interface CommercePriceEntryModel
public java.math.BigDecimal getDiscountLevel1()
getDiscountLevel1
in interface CommercePriceEntryModel
public java.math.BigDecimal getDiscountLevel2()
getDiscountLevel2
in interface CommercePriceEntryModel
public java.math.BigDecimal getDiscountLevel3()
getDiscountLevel3
in interface CommercePriceEntryModel
public java.math.BigDecimal getDiscountLevel4()
getDiscountLevel4
in interface CommercePriceEntryModel
public java.util.Date getDisplayDate()
getDisplayDate
in interface CommercePriceEntryModel
public java.util.Date getExpirationDate()
getExpirationDate
in interface CommercePriceEntryModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CommercePriceEntryModel
public boolean getHasTierPrice()
getHasTierPrice
in interface CommercePriceEntryModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface CommercePriceEntryModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommercePriceEntryModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface CommercePriceEntryModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.math.BigDecimal getPrice()
getPrice
in interface CommercePriceEntryModel
public CommerceMoney getPriceCommerceMoney(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
getPriceCommerceMoney
in interface CommercePriceEntry
com.liferay.portal.kernel.exception.PortalException
public long getPrimaryKey()
getPrimaryKey
in interface CommercePriceEntryModel
public java.math.BigDecimal getPromoPrice()
getPromoPrice
in interface CommercePriceEntryModel
public CommerceMoney getPromoPriceCommerceMoney(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
getPromoPriceCommerceMoney
in interface CommercePriceEntry
com.liferay.portal.kernel.exception.PortalException
public int getStatus()
getStatus
in interface CommercePriceEntryModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface CommercePriceEntryModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface CommercePriceEntryModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface CommercePriceEntryModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Date getStatusDate()
getStatusDate
in interface CommercePriceEntryModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getUserId()
getUserId
in interface CommercePriceEntryModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommercePriceEntryModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommercePriceEntryModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface CommercePriceEntryModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isApproved()
true
if this commerce price entry is approved.isApproved
in interface CommercePriceEntryModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price entry is approved; false
otherwisepublic boolean isBulkPricing()
true
if this commerce price entry is bulk pricing.isBulkPricing
in interface CommercePriceEntryModel
true
if this commerce price entry is bulk pricing; false
otherwisepublic boolean isDenied()
true
if this commerce price entry is denied.isDenied
in interface CommercePriceEntryModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price entry is denied; false
otherwisepublic boolean isDiscountDiscovery()
true
if this commerce price entry is discount discovery.isDiscountDiscovery
in interface CommercePriceEntryModel
true
if this commerce price entry is discount discovery; false
otherwisepublic boolean isDraft()
true
if this commerce price entry is a draft.isDraft
in interface CommercePriceEntryModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price entry is a draft; false
otherwisepublic boolean isExpired()
true
if this commerce price entry is expired.isExpired
in interface CommercePriceEntryModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price entry is expired; false
otherwisepublic boolean isHasTierPrice()
true
if this commerce price entry is has tier price.isHasTierPrice
in interface CommercePriceEntryModel
true
if this commerce price entry is has tier price; false
otherwisepublic boolean isInactive()
true
if this commerce price entry is inactive.isInactive
in interface CommercePriceEntryModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price entry is inactive; false
otherwisepublic boolean isIncomplete()
true
if this commerce price entry is incomplete.isIncomplete
in interface CommercePriceEntryModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price entry is incomplete; false
otherwisepublic boolean isPending()
true
if this commerce price entry is pending.isPending
in interface CommercePriceEntryModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price entry is pending; false
otherwisepublic boolean isScheduled()
true
if this commerce price entry is scheduled.isScheduled
in interface CommercePriceEntryModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce price entry is scheduled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setBulkPricing(boolean bulkPricing)
setBulkPricing
in interface CommercePriceEntryModel
bulkPricing
- the bulk pricing of this commerce price entrypublic void setCommercePriceEntryId(long commercePriceEntryId)
setCommercePriceEntryId
in interface CommercePriceEntryModel
commercePriceEntryId
- the commerce price entry ID of this commerce price entrypublic void setCommercePriceListId(long commercePriceListId)
setCommercePriceListId
in interface CommercePriceEntryModel
commercePriceListId
- the commerce price list ID of this commerce price entrypublic void setCompanyId(long companyId)
setCompanyId
in interface CommercePriceEntryModel
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 price entrypublic void setCPInstanceUuid(java.lang.String CPInstanceUuid)
setCPInstanceUuid
in interface CommercePriceEntryModel
CPInstanceUuid
- the cp instance uuid of this commerce price entrypublic void setCProductId(long CProductId)
setCProductId
in interface CommercePriceEntryModel
CProductId
- the c product ID of this commerce price entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommercePriceEntryModel
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 price entrypublic void setDiscountDiscovery(boolean discountDiscovery)
setDiscountDiscovery
in interface CommercePriceEntryModel
discountDiscovery
- the discount discovery of this commerce price entrypublic void setDiscountLevel1(java.math.BigDecimal discountLevel1)
setDiscountLevel1
in interface CommercePriceEntryModel
discountLevel1
- the discount level1 of this commerce price entrypublic void setDiscountLevel2(java.math.BigDecimal discountLevel2)
setDiscountLevel2
in interface CommercePriceEntryModel
discountLevel2
- the discount level2 of this commerce price entrypublic void setDiscountLevel3(java.math.BigDecimal discountLevel3)
setDiscountLevel3
in interface CommercePriceEntryModel
discountLevel3
- the discount level3 of this commerce price entrypublic void setDiscountLevel4(java.math.BigDecimal discountLevel4)
setDiscountLevel4
in interface CommercePriceEntryModel
discountLevel4
- the discount level4 of this commerce price entrypublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate
in interface CommercePriceEntryModel
displayDate
- the display date of this commerce price entrypublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate
in interface CommercePriceEntryModel
expirationDate
- the expiration date of this commerce price entrypublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CommercePriceEntryModel
externalReferenceCode
- the external reference code of this commerce price entrypublic void setHasTierPrice(boolean hasTierPrice)
setHasTierPrice
in interface CommercePriceEntryModel
hasTierPrice
- the has tier price of this commerce price entrypublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface CommercePriceEntryModel
lastPublishDate
- the last publish date of this commerce price entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommercePriceEntryModel
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 price entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommercePriceEntryModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce price entrypublic void setPrice(java.math.BigDecimal price)
setPrice
in interface CommercePriceEntryModel
price
- the price of this commerce price entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommercePriceEntryModel
primaryKey
- the primary key of this commerce price entrypublic void setPromoPrice(java.math.BigDecimal promoPrice)
setPromoPrice
in interface CommercePriceEntryModel
promoPrice
- the promo price of this commerce price entrypublic void setStatus(int status)
setStatus
in interface CommercePriceEntryModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this commerce price entrypublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface CommercePriceEntryModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this commerce price entrypublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface CommercePriceEntryModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this commerce price entrypublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface CommercePriceEntryModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this commerce price entrypublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface CommercePriceEntryModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this commerce price entrypublic void setUserId(long userId)
setUserId
in interface CommercePriceEntryModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce price entrypublic void setUserName(java.lang.String userName)
setUserName
in interface CommercePriceEntryModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce price entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommercePriceEntryModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce price entrypublic void setUuid(java.lang.String uuid)
setUuid
in interface CommercePriceEntryModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this commerce price entrypublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected CommercePriceEntryWrapper wrap(CommercePriceEntry commercePriceEntry)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceEntry>