Interface CommerceTierPriceEntryModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CommerceTierPriceEntry>,com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Subinterfaces:
CommerceTierPriceEntry
- All Known Implementing Classes:
CommerceTierPriceEntryWrapper
@ProviderType
public interface CommerceTierPriceEntryModel
extends com.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the CommerceTierPriceEntry service. Represents a row in the "CommerceTierPriceEntry" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.price.list.model.impl.CommerceTierPriceEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.price.list.model.impl.CommerceTierPriceEntryImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the commerce price entry ID of this commerce tier price entry.longReturns the commerce tier price entry ID of this commerce tier price entry.longReturns the company ID of this commerce tier price entry.Returns the create date of this commerce tier price entry.longReturns the ct collection ID of this commerce tier price entry.booleanReturns the discount discovery of this commerce tier price entry.Returns the discount level1 of this commerce tier price entry.Returns the discount level2 of this commerce tier price entry.Returns the discount level3 of this commerce tier price entry.Returns the discount level4 of this commerce tier price entry.Returns the display date of this commerce tier price entry.Returns the expiration date of this commerce tier price entry.Returns the external reference code of this commerce tier price entry.Returns the last publish date of this commerce tier price entry.Returns the min quantity of this commerce tier price entry.Returns the modified date of this commerce tier price entry.longReturns the mvcc version of this commerce tier price entry.getPrice()Returns the price of this commerce tier price entry.longReturns the primary key of this commerce tier price entry.Returns the promo price of this commerce tier price entry.intReturns the status of this commerce tier price entry.longReturns the status by user ID of this commerce tier price entry.Returns the status by user name of this commerce tier price entry.Returns the status by user uuid of this commerce tier price entry.Returns the status date of this commerce tier price entry.longReturns the user ID of this commerce tier price entry.Returns the user name of this commerce tier price entry.Returns the user uuid of this commerce tier price entry.getUuid()Returns the uuid of this commerce tier price entry.booleanReturnstrueif this commerce tier price entry is approved.booleanisDenied()Returnstrueif this commerce tier price entry is denied.booleanReturnstrueif this commerce tier price entry is discount discovery.booleanisDraft()Returnstrueif this commerce tier price entry is a draft.booleanReturnstrueif this commerce tier price entry is expired.booleanReturnstrueif this commerce tier price entry is inactive.booleanReturnstrueif this commerce tier price entry is incomplete.booleanReturnstrueif this commerce tier price entry is pending.booleanReturnstrueif this commerce tier price entry is scheduled.voidsetCommercePriceEntryId(long commercePriceEntryId) Sets the commerce price entry ID of this commerce tier price entry.voidsetCommerceTierPriceEntryId(long commerceTierPriceEntryId) Sets the commerce tier price entry ID of this commerce tier price entry.voidsetCompanyId(long companyId) Sets the company ID of this commerce tier price entry.voidsetCreateDate(Date createDate) Sets the create date of this commerce tier price entry.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this commerce tier price entry.voidsetDiscountDiscovery(boolean discountDiscovery) Sets whether this commerce tier price entry is discount discovery.voidsetDiscountLevel1(BigDecimal discountLevel1) Sets the discount level1 of this commerce tier price entry.voidsetDiscountLevel2(BigDecimal discountLevel2) Sets the discount level2 of this commerce tier price entry.voidsetDiscountLevel3(BigDecimal discountLevel3) Sets the discount level3 of this commerce tier price entry.voidsetDiscountLevel4(BigDecimal discountLevel4) Sets the discount level4 of this commerce tier price entry.voidsetDisplayDate(Date displayDate) Sets the display date of this commerce tier price entry.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this commerce tier price entry.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this commerce tier price entry.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this commerce tier price entry.voidsetMinQuantity(BigDecimal minQuantity) Sets the min quantity of this commerce tier price entry.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce tier price entry.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce tier price entry.voidsetPrice(BigDecimal price) Sets the price of this commerce tier price entry.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce tier price entry.voidsetPromoPrice(BigDecimal promoPrice) Sets the promo price of this commerce tier price entry.voidsetStatus(int status) Sets the status of this commerce tier price entry.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this commerce tier price entry.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this commerce tier price entry.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this commerce tier price entry.voidsetStatusDate(Date statusDate) Sets the status date of this commerce tier price entry.voidsetUserId(long userId) Sets the user ID of this commerce tier price entry.voidsetUserName(String userName) Sets the user name of this commerce tier price entry.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce tier price entry.voidSets the uuid of this commerce tier price entry.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this commerce tier price entry.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>- Returns:
- the primary key of this commerce tier price entry
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this commerce tier price entry.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>- Parameters:
primaryKey- the primary key of this commerce tier price entry
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this commerce tier price entry.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce tier price entry
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce tier price entry.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce tier price entry
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this commerce tier price entry.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>- Returns:
- the ct collection ID of this commerce tier price entry
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this commerce tier price entry.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>- Parameters:
ctCollectionId- the ct collection ID of this commerce tier price entry
-
getUuid
Returns the uuid of this commerce tier price entry.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this commerce tier price entry
-
setUuid
Sets the uuid of this commerce tier price entry.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this commerce tier price entry
-
getExternalReferenceCode
Returns the external reference code of this commerce tier price entry.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this commerce tier price entry
-
setExternalReferenceCode
Sets the external reference code of this commerce tier price entry.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this commerce tier price entry
-
getCommerceTierPriceEntryId
long getCommerceTierPriceEntryId()Returns the commerce tier price entry ID of this commerce tier price entry.- Returns:
- the commerce tier price entry ID of this commerce tier price entry
-
setCommerceTierPriceEntryId
void setCommerceTierPriceEntryId(long commerceTierPriceEntryId) Sets the commerce tier price entry ID of this commerce tier price entry.- Parameters:
commerceTierPriceEntryId- the commerce tier price entry ID of this commerce tier price entry
-
getCompanyId
long getCompanyId()Returns the company ID of this commerce tier price entry.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this commerce tier price entry
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this commerce tier price entry.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this commerce tier price entry
-
getUserId
long getUserId()Returns the user ID of this commerce tier price entry.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this commerce tier price entry
-
setUserId
void setUserId(long userId) Sets the user ID of this commerce tier price entry.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this commerce tier price entry
-
getUserUuid
String getUserUuid()Returns the user uuid of this commerce tier price entry.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this commerce tier price entry
-
setUserUuid
Sets the user uuid of this commerce tier price entry.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this commerce tier price entry
-
getUserName
Returns the user name of this commerce tier price entry.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this commerce tier price entry
-
setUserName
Sets the user name of this commerce tier price entry.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this commerce tier price entry
-
getCreateDate
Date getCreateDate()Returns the create date of this commerce tier price entry.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this commerce tier price entry
-
setCreateDate
Sets the create date of this commerce tier price entry.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this commerce tier price entry
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this commerce tier price entry.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this commerce tier price entry
-
setModifiedDate
Sets the modified date of this commerce tier price entry.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this commerce tier price entry
-
getCommercePriceEntryId
long getCommercePriceEntryId()Returns the commerce price entry ID of this commerce tier price entry.- Returns:
- the commerce price entry ID of this commerce tier price entry
-
setCommercePriceEntryId
void setCommercePriceEntryId(long commercePriceEntryId) Sets the commerce price entry ID of this commerce tier price entry.- Parameters:
commercePriceEntryId- the commerce price entry ID of this commerce tier price entry
-
getPrice
BigDecimal getPrice()Returns the price of this commerce tier price entry.- Returns:
- the price of this commerce tier price entry
-
setPrice
Sets the price of this commerce tier price entry.- Parameters:
price- the price of this commerce tier price entry
-
getPromoPrice
BigDecimal getPromoPrice()Returns the promo price of this commerce tier price entry.- Returns:
- the promo price of this commerce tier price entry
-
setPromoPrice
Sets the promo price of this commerce tier price entry.- Parameters:
promoPrice- the promo price of this commerce tier price entry
-
getDiscountDiscovery
boolean getDiscountDiscovery()Returns the discount discovery of this commerce tier price entry.- Returns:
- the discount discovery of this commerce tier price entry
-
isDiscountDiscovery
boolean isDiscountDiscovery()Returnstrueif this commerce tier price entry is discount discovery.- Returns:
trueif this commerce tier price entry is discount discovery;falseotherwise
-
setDiscountDiscovery
void setDiscountDiscovery(boolean discountDiscovery) Sets whether this commerce tier price entry is discount discovery.- Parameters:
discountDiscovery- the discount discovery of this commerce tier price entry
-
getDiscountLevel1
BigDecimal getDiscountLevel1()Returns the discount level1 of this commerce tier price entry.- Returns:
- the discount level1 of this commerce tier price entry
-
setDiscountLevel1
Sets the discount level1 of this commerce tier price entry.- Parameters:
discountLevel1- the discount level1 of this commerce tier price entry
-
getDiscountLevel2
BigDecimal getDiscountLevel2()Returns the discount level2 of this commerce tier price entry.- Returns:
- the discount level2 of this commerce tier price entry
-
setDiscountLevel2
Sets the discount level2 of this commerce tier price entry.- Parameters:
discountLevel2- the discount level2 of this commerce tier price entry
-
getDiscountLevel3
BigDecimal getDiscountLevel3()Returns the discount level3 of this commerce tier price entry.- Returns:
- the discount level3 of this commerce tier price entry
-
setDiscountLevel3
Sets the discount level3 of this commerce tier price entry.- Parameters:
discountLevel3- the discount level3 of this commerce tier price entry
-
getDiscountLevel4
BigDecimal getDiscountLevel4()Returns the discount level4 of this commerce tier price entry.- Returns:
- the discount level4 of this commerce tier price entry
-
setDiscountLevel4
Sets the discount level4 of this commerce tier price entry.- Parameters:
discountLevel4- the discount level4 of this commerce tier price entry
-
getMinQuantity
BigDecimal getMinQuantity()Returns the min quantity of this commerce tier price entry.- Returns:
- the min quantity of this commerce tier price entry
-
setMinQuantity
Sets the min quantity of this commerce tier price entry.- Parameters:
minQuantity- the min quantity of this commerce tier price entry
-
getDisplayDate
Date getDisplayDate()Returns the display date of this commerce tier price entry.- Returns:
- the display date of this commerce tier price entry
-
setDisplayDate
Sets the display date of this commerce tier price entry.- Parameters:
displayDate- the display date of this commerce tier price entry
-
getExpirationDate
Date getExpirationDate()Returns the expiration date of this commerce tier price entry.- Returns:
- the expiration date of this commerce tier price entry
-
setExpirationDate
Sets the expiration date of this commerce tier price entry.- Parameters:
expirationDate- the expiration date of this commerce tier price entry
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this commerce tier price entry.- Returns:
- the last publish date of this commerce tier price entry
-
setLastPublishDate
Sets the last publish date of this commerce tier price entry.- Parameters:
lastPublishDate- the last publish date of this commerce tier price entry
-
getStatus
int getStatus()Returns the status of this commerce tier price entry.- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this commerce tier price entry
-
setStatus
void setStatus(int status) Sets the status of this commerce tier price entry.- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this commerce tier price entry
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this commerce tier price entry.- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this commerce tier price entry
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this commerce tier price entry.- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this commerce tier price entry
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this commerce tier price entry.- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this commerce tier price entry
-
setStatusByUserUuid
Sets the status by user uuid of this commerce tier price entry.- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this commerce tier price entry
-
getStatusByUserName
Returns the status by user name of this commerce tier price entry.- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this commerce tier price entry
-
setStatusByUserName
Sets the status by user name of this commerce tier price entry.- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this commerce tier price entry
-
getStatusDate
Date getStatusDate()Returns the status date of this commerce tier price entry.- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this commerce tier price entry
-
setStatusDate
Sets the status date of this commerce tier price entry.- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this commerce tier price entry
-
isApproved
boolean isApproved()Returnstrueif this commerce tier price entry is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce tier price entry is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this commerce tier price entry is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce tier price entry is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this commerce tier price entry is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce tier price entry is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this commerce tier price entry is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce tier price entry is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this commerce tier price entry is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce tier price entry is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this commerce tier price entry is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce tier price entry is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this commerce tier price entry is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce tier price entry is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this commerce tier price entry is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce tier price entry is scheduled;falseotherwise
-
cloneWithOriginalValues
CommerceTierPriceEntry cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>
-
toXmlString
-