Interface CommercePriceModifierModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommercePriceModifier>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CommercePriceModifier>,com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifier>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedGroupedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Subinterfaces:
CommercePriceModifier
- All Known Implementing Classes:
CommercePriceModifierWrapper
@ProviderType
public interface CommercePriceModifierModel
extends com.liferay.portal.kernel.model.BaseModel<CommercePriceModifier>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifier>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the CommercePriceModifier service. Represents a row in the "CommercePriceModifier" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl 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.pricing.model.impl.CommercePriceModifierImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the active of this commerce price modifier.longReturns the commerce price list ID of this commerce price modifier.longReturns the commerce price modifier ID of this commerce price modifier.longReturns the company ID of this commerce price modifier.Returns the create date of this commerce price modifier.longReturns 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.longReturns 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.longReturns the mvcc version of this commerce price modifier.longReturns the primary key of this commerce price modifier.doubleReturns the priority of this commerce price modifier.intReturns the status of this commerce price modifier.longReturns 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.getTitle()Returns the title of this commerce price modifier.longReturns 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.getUuid()Returns the uuid of this commerce price modifier.booleanisActive()Returnstrueif this commerce price modifier is active.booleanReturnstrueif this commerce price modifier is approved.booleanisDenied()Returnstrueif this commerce price modifier is denied.booleanisDraft()Returnstrueif this commerce price modifier is a draft.booleanReturnstrueif this commerce price modifier is expired.booleanReturnstrueif this commerce price modifier is inactive.booleanReturnstrueif this commerce price modifier is incomplete.booleanReturnstrueif this commerce price modifier is pending.booleanReturnstrueif this commerce price modifier is scheduled.voidsetActive(boolean active) Sets whether this commerce price modifier is active.voidsetCommercePriceListId(long commercePriceListId) Sets the commerce price list ID of this commerce price modifier.voidsetCommercePriceModifierId(long commercePriceModifierId) Sets the commerce price modifier ID of this commerce price modifier.voidsetCompanyId(long companyId) Sets the company ID of this commerce price modifier.voidsetCreateDate(Date createDate) Sets the create date of this commerce price modifier.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this commerce price modifier.voidsetDisplayDate(Date displayDate) Sets the display date of this commerce price modifier.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this commerce price modifier.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this commerce price modifier.voidsetGroupId(long groupId) Sets the group ID of this commerce price modifier.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this commerce price modifier.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce price modifier.voidsetModifierAmount(BigDecimal modifierAmount) Sets the modifier amount of this commerce price modifier.voidsetModifierType(String modifierType) Sets the modifier type of this commerce price modifier.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce price modifier.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce price modifier.voidsetPriority(double priority) Sets the priority of this commerce price modifier.voidsetStatus(int status) Sets the status of this commerce price modifier.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this commerce price modifier.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this commerce price modifier.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this commerce price modifier.voidsetStatusDate(Date statusDate) Sets the status date of this commerce price modifier.voidSets the target of this commerce price modifier.voidSets the title of this commerce price modifier.voidsetUserId(long userId) Sets the user ID of this commerce price modifier.voidsetUserName(String userName) Sets the user name of this commerce price modifier.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce price modifier.voidSets the uuid of this commerce price modifier.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 price modifier.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifier>- Returns:
- the primary key of this commerce price modifier
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this commerce price modifier.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifier>- Parameters:
primaryKey- the primary key of this commerce price modifier
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this commerce price modifier.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce price modifier
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce price modifier.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce price modifier
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this commerce price modifier.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifier>- Returns:
- the ct collection ID of this commerce price modifier
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this commerce price modifier.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifier>- Parameters:
ctCollectionId- the ct collection ID of this commerce price modifier
-
getUuid
Returns the uuid of this commerce price modifier.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this commerce price modifier
-
setUuid
Sets the uuid of this commerce price modifier.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this commerce price modifier
-
getExternalReferenceCode
Returns the external reference code of this commerce price modifier.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this commerce price modifier
-
setExternalReferenceCode
Sets the external reference code of this commerce price modifier.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this commerce price modifier
-
getCommercePriceModifierId
long getCommercePriceModifierId()Returns the commerce price modifier ID of this commerce price modifier.- Returns:
- the commerce price modifier ID of this commerce price modifier
-
setCommercePriceModifierId
void setCommercePriceModifierId(long commercePriceModifierId) Sets the commerce price modifier ID of this commerce price modifier.- Parameters:
commercePriceModifierId- the commerce price modifier ID of this commerce price modifier
-
getGroupId
long getGroupId()Returns the group ID of this commerce price modifier.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this commerce price modifier
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this commerce price modifier.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this commerce price modifier
-
getCompanyId
long getCompanyId()Returns the company ID of this commerce price modifier.- 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 price modifier
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this commerce price modifier.- 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 price modifier
-
getUserId
long getUserId()Returns the user ID of this commerce price modifier.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this commerce price modifier
-
setUserId
void setUserId(long userId) Sets the user ID of this commerce price modifier.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this commerce price modifier
-
getUserUuid
String getUserUuid()Returns the user uuid of this commerce price modifier.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this commerce price modifier
-
setUserUuid
Sets the user uuid of this commerce price modifier.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this commerce price modifier
-
getUserName
Returns the user name of this commerce price modifier.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this commerce price modifier
-
setUserName
Sets the user name of this commerce price modifier.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this commerce price modifier
-
getCreateDate
Date getCreateDate()Returns the create date of this commerce price modifier.- 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 price modifier
-
setCreateDate
Sets the create date of this commerce price modifier.- 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 price modifier
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this commerce price modifier.- 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 price modifier
-
setModifiedDate
Sets the modified date of this commerce price modifier.- 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 price modifier
-
getCommercePriceListId
long getCommercePriceListId()Returns the commerce price list ID of this commerce price modifier.- Returns:
- the commerce price list ID of this commerce price modifier
-
setCommercePriceListId
void setCommercePriceListId(long commercePriceListId) Sets the commerce price list ID of this commerce price modifier.- Parameters:
commercePriceListId- the commerce price list ID of this commerce price modifier
-
getTitle
Returns the title of this commerce price modifier.- Returns:
- the title of this commerce price modifier
-
setTitle
Sets the title of this commerce price modifier.- Parameters:
title- the title of this commerce price modifier
-
getTarget
Returns the target of this commerce price modifier.- Returns:
- the target of this commerce price modifier
-
setTarget
Sets the target of this commerce price modifier.- Parameters:
target- the target of this commerce price modifier
-
getModifierAmount
BigDecimal getModifierAmount()Returns the modifier amount of this commerce price modifier.- Returns:
- the modifier amount of this commerce price modifier
-
setModifierAmount
Sets the modifier amount of this commerce price modifier.- Parameters:
modifierAmount- the modifier amount of this commerce price modifier
-
getModifierType
Returns the modifier type of this commerce price modifier.- Returns:
- the modifier type of this commerce price modifier
-
setModifierType
Sets the modifier type of this commerce price modifier.- Parameters:
modifierType- the modifier type of this commerce price modifier
-
getPriority
double getPriority()Returns the priority of this commerce price modifier.- Returns:
- the priority of this commerce price modifier
-
setPriority
void setPriority(double priority) Sets the priority of this commerce price modifier.- Parameters:
priority- the priority of this commerce price modifier
-
getActive
boolean getActive()Returns the active of this commerce price modifier.- Returns:
- the active of this commerce price modifier
-
isActive
boolean isActive()Returnstrueif this commerce price modifier is active.- Returns:
trueif this commerce price modifier is active;falseotherwise
-
setActive
void setActive(boolean active) Sets whether this commerce price modifier is active.- Parameters:
active- the active of this commerce price modifier
-
getDisplayDate
Date getDisplayDate()Returns the display date of this commerce price modifier.- Returns:
- the display date of this commerce price modifier
-
setDisplayDate
Sets the display date of this commerce price modifier.- Parameters:
displayDate- the display date of this commerce price modifier
-
getExpirationDate
Date getExpirationDate()Returns the expiration date of this commerce price modifier.- Returns:
- the expiration date of this commerce price modifier
-
setExpirationDate
Sets the expiration date of this commerce price modifier.- Parameters:
expirationDate- the expiration date of this commerce price modifier
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this commerce price modifier.- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this commerce price modifier
-
setLastPublishDate
Sets the last publish date of this commerce price modifier.- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this commerce price modifier
-
getStatus
int getStatus()Returns the status of this commerce price modifier.- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this commerce price modifier
-
setStatus
void setStatus(int status) Sets the status of this commerce price modifier.- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this commerce price modifier
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this commerce price modifier.- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this commerce price modifier
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this commerce price modifier.- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this commerce price modifier
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this commerce price modifier.- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this commerce price modifier
-
setStatusByUserUuid
Sets the status by user uuid of this commerce price modifier.- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this commerce price modifier
-
getStatusByUserName
Returns the status by user name of this commerce price modifier.- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this commerce price modifier
-
setStatusByUserName
Sets the status by user name of this commerce price modifier.- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this commerce price modifier
-
getStatusDate
Date getStatusDate()Returns the status date of this commerce price modifier.- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this commerce price modifier
-
setStatusDate
Sets the status date of this commerce price modifier.- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this commerce price modifier
-
isApproved
boolean isApproved()Returnstrueif this commerce price modifier is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce price modifier is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this commerce price modifier is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce price modifier is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this commerce price modifier is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce price modifier is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this commerce price modifier is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce price modifier is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this commerce price modifier is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce price modifier is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this commerce price modifier is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce price modifier is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this commerce price modifier is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce price modifier is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this commerce price modifier is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce price modifier is scheduled;falseotherwise
-
cloneWithOriginalValues
CommercePriceModifier cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommercePriceModifier>
-
toXmlString
-