public class CommerceDiscountRuleWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRule> implements CommerceDiscountRule, com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountRule>
This class is a wrapper for CommerceDiscountRule
.
CommerceDiscountRule
,
Serialized FormCOMMERCE_DISCOUNT_RULE_ID_ACCESSOR
Constructor and Description |
---|
CommerceDiscountRuleWrapper(CommerceDiscountRule 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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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.
|
com.liferay.portal.kernel.util.UnicodeProperties |
getSettingsProperties() |
java.lang.String |
getSettingsProperty(java.lang.String key) |
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 |
persist() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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 |
setSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties) |
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.
|
protected CommerceDiscountRuleWrapper |
wrap(CommerceDiscountRule commerceDiscountRule) |
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 CommerceDiscountRuleWrapper(CommerceDiscountRule commerceDiscountRule)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>
public CommerceDiscountRule cloneWithOriginalValues()
cloneWithOriginalValues
in interface CommerceDiscountRuleModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>
public long getCommerceDiscountId()
getCommerceDiscountId
in interface CommerceDiscountRuleModel
public long getCommerceDiscountRuleId()
getCommerceDiscountRuleId
in interface CommerceDiscountRuleModel
public long getCompanyId()
getCompanyId
in interface CommerceDiscountRuleModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceDiscountRuleModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceDiscountRuleModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceDiscountRuleModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface CommerceDiscountRuleModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceDiscountRuleModel
public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties()
getSettingsProperties
in interface CommerceDiscountRule
public java.lang.String getSettingsProperty(java.lang.String key)
getSettingsProperty
in interface CommerceDiscountRule
public java.lang.String getType()
getType
in interface CommerceDiscountRuleModel
public java.lang.String getTypeSettings()
getTypeSettings
in interface CommerceDiscountRuleModel
public long getUserId()
getUserId
in interface CommerceDiscountRuleModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceDiscountRuleModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceDiscountRuleModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCommerceDiscountId(long commerceDiscountId)
setCommerceDiscountId
in interface CommerceDiscountRuleModel
commerceDiscountId
- the commerce discount ID of this commerce discount rulepublic void setCommerceDiscountRuleId(long commerceDiscountRuleId)
setCommerceDiscountRuleId
in interface CommerceDiscountRuleModel
commerceDiscountRuleId
- the commerce discount rule ID of this commerce discount rulepublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceDiscountRuleModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this commerce discount rulepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceDiscountRuleModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce discount rulepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceDiscountRuleModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce discount rulepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceDiscountRuleModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce discount rulepublic void setName(java.lang.String name)
setName
in interface CommerceDiscountRuleModel
name
- the name of this commerce discount rulepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceDiscountRuleModel
primaryKey
- the primary key of this commerce discount rulepublic void setSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties)
setSettingsProperties
in interface CommerceDiscountRule
public void setType(java.lang.String type)
setType
in interface CommerceDiscountRuleModel
type
- the type of this commerce discount rulepublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings
in interface CommerceDiscountRuleModel
typeSettings
- the type settings of this commerce discount rulepublic void setUserId(long userId)
setUserId
in interface CommerceDiscountRuleModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce discount rulepublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceDiscountRuleModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce discount rulepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceDiscountRuleModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce discount ruleprotected CommerceDiscountRuleWrapper wrap(CommerceDiscountRule commerceDiscountRule)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRule>