@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
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.
CommerceDiscountRule| Modifier and Type | Method and Description |
|---|---|
CommerceDiscountRule |
cloneWithOriginalValues() |
long |
getCommerceDiscountId()
Returns the commerce discount ID of this commerce discount rule.
|
long |
getCommerceDiscountRuleId()
Returns the commerce discount rule ID of this commerce discount rule.
|
long |
getCompanyId()
Returns the company ID of this commerce discount rule.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce discount rule.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce discount rule.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce discount rule.
|
java.lang.String |
getName()
Returns the name of this commerce discount rule.
|
long |
getPrimaryKey()
Returns the primary key of this commerce discount rule.
|
java.lang.String |
getType()
Returns the type of this commerce discount rule.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this commerce discount rule.
|
long |
getUserId()
Returns the user ID of this commerce discount rule.
|
java.lang.String |
getUserName()
Returns the user name of this commerce discount rule.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce discount rule.
|
void |
setCommerceDiscountId(long commerceDiscountId)
Sets the commerce discount ID of this commerce discount rule.
|
void |
setCommerceDiscountRuleId(long commerceDiscountRuleId)
Sets the commerce discount rule ID of this commerce discount rule.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce discount rule.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce discount rule.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce discount rule.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce discount rule.
|
void |
setName(java.lang.String name)
Sets the name of this commerce discount rule.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce discount rule.
|
void |
setType(java.lang.String type)
Sets the type of this commerce discount rule.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this commerce discount rule.
|
void |
setUserId(long userId)
Sets the user ID of this commerce discount rule.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce discount rule.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce discount rule.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModellong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this commerce discount rulelong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce discount rulelong getCommerceDiscountRuleId()
void setCommerceDiscountRuleId(long commerceDiscountRuleId)
commerceDiscountRuleId - the commerce discount rule ID of this commerce discount rulelong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce discount rulelong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce discount rulejava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce discount rule@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce discount rulejava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce discount rulejava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce discount rule@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this commerce discount rulelong getCommerceDiscountId()
void setCommerceDiscountId(long commerceDiscountId)
commerceDiscountId - the commerce discount ID of this commerce discount rule@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type - the type of this commerce discount rule@AutoEscape java.lang.String getTypeSettings()
void setTypeSettings(java.lang.String typeSettings)
typeSettings - the type settings of this commerce discount ruleCommerceDiscountRule cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>default java.lang.String toXmlString()