Interface CommerceDiscountRuleModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CommerceDiscountRule>,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel
- All Known Subinterfaces:
CommerceDiscountRule
- All Known Implementing Classes:
CommerceDiscountRuleWrapper
@ProviderType
public interface CommerceDiscountRuleModel
extends com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the CommerceDiscountRule service. Represents a row in the "CommerceDiscountRule" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.discount.model.impl.CommerceDiscountRuleModelImpl 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.discount.model.impl.CommerceDiscountRuleImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the commerce discount ID of this commerce discount rule.longReturns the commerce discount rule ID of this commerce discount rule.longReturns the company ID of this commerce discount rule.Returns the create date of this commerce discount rule.Returns the modified date of this commerce discount rule.longReturns the mvcc version of this commerce discount rule.getName()Returns the name of this commerce discount rule.longReturns the primary key of this commerce discount rule.getType()Returns the type of this commerce discount rule.Returns the type settings of this commerce discount rule.longReturns the user ID of this commerce discount rule.Returns the user name of this commerce discount rule.Returns the user uuid of this commerce discount rule.voidsetCommerceDiscountId(long commerceDiscountId) Sets the commerce discount ID of this commerce discount rule.voidsetCommerceDiscountRuleId(long commerceDiscountRuleId) Sets the commerce discount rule ID of this commerce discount rule.voidsetCompanyId(long companyId) Sets the company ID of this commerce discount rule.voidsetCreateDate(Date createDate) Sets the create date of this commerce discount rule.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce discount rule.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce discount rule.voidSets the name of this commerce discount rule.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce discount rule.voidSets the type of this commerce discount rule.voidsetTypeSettings(String typeSettings) Sets the type settings of this commerce discount rule.voidsetUserId(long userId) Sets the user ID of this commerce discount rule.voidsetUserName(String userName) Sets the user name of this commerce discount rule.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce discount rule.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
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this commerce discount rule.- Returns:
- the primary key of this commerce discount rule
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this commerce discount rule.- Parameters:
primaryKey- the primary key of this commerce discount rule
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this commerce discount rule.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce discount rule
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce discount rule.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce discount rule
-
getCommerceDiscountRuleId
long getCommerceDiscountRuleId()Returns the commerce discount rule ID of this commerce discount rule.- Returns:
- the commerce discount rule ID of this commerce discount rule
-
setCommerceDiscountRuleId
void setCommerceDiscountRuleId(long commerceDiscountRuleId) Sets the commerce discount rule ID of this commerce discount rule.- Parameters:
commerceDiscountRuleId- the commerce discount rule ID of this commerce discount rule
-
getCompanyId
long getCompanyId()Returns the company ID of this commerce discount rule.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this commerce discount rule
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this commerce discount rule.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this commerce discount rule
-
getUserId
long getUserId()Returns the user ID of this commerce discount rule.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this commerce discount rule
-
setUserId
void setUserId(long userId) Sets the user ID of this commerce discount rule.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this commerce discount rule
-
getUserUuid
String getUserUuid()Returns the user uuid of this commerce discount rule.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this commerce discount rule
-
setUserUuid
Sets the user uuid of this commerce discount rule.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this commerce discount rule
-
getUserName
Returns the user name of this commerce discount rule.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this commerce discount rule
-
setUserName
Sets the user name of this commerce discount rule.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this commerce discount rule
-
getCreateDate
Date getCreateDate()Returns the create date of this commerce discount rule.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the create date of this commerce discount rule
-
setCreateDate
Sets the create date of this commerce discount rule.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
createDate- the create date of this commerce discount rule
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this commerce discount rule.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the modified date of this commerce discount rule
-
setModifiedDate
Sets the modified date of this commerce discount rule.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
modifiedDate- the modified date of this commerce discount rule
-
getName
Returns the name of this commerce discount rule.- Returns:
- the name of this commerce discount rule
-
setName
Sets the name of this commerce discount rule.- Parameters:
name- the name of this commerce discount rule
-
getCommerceDiscountId
long getCommerceDiscountId()Returns the commerce discount ID of this commerce discount rule.- Returns:
- the commerce discount ID of this commerce discount rule
-
setCommerceDiscountId
void setCommerceDiscountId(long commerceDiscountId) Sets the commerce discount ID of this commerce discount rule.- Parameters:
commerceDiscountId- the commerce discount ID of this commerce discount rule
-
getType
Returns the type of this commerce discount rule.- Returns:
- the type of this commerce discount rule
-
setType
Sets the type of this commerce discount rule.- Parameters:
type- the type of this commerce discount rule
-
getTypeSettings
Returns the type settings of this commerce discount rule.- Returns:
- the type settings of this commerce discount rule
-
setTypeSettings
Sets the type settings of this commerce discount rule.- Parameters:
typeSettings- the type settings of this commerce discount rule
-
cloneWithOriginalValues
CommerceDiscountRule cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>
-
toXmlString
-