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.
|
java.lang.String |
toXmlString() |
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, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic 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 CommerceDiscountRuleModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>public long getCommerceDiscountId()
getCommerceDiscountId in interface CommerceDiscountRuleModelpublic long getCommerceDiscountRuleId()
getCommerceDiscountRuleId in interface CommerceDiscountRuleModelpublic long getCompanyId()
getCompanyId in interface CommerceDiscountRuleModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceDiscountRuleModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceDiscountRuleModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getMvccVersion()
getMvccVersion in interface CommerceDiscountRuleModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface CommerceDiscountRuleModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceDiscountRuleModelpublic com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties()
getSettingsProperties in interface CommerceDiscountRulepublic java.lang.String getSettingsProperty(java.lang.String key)
getSettingsProperty in interface CommerceDiscountRulepublic java.lang.String getType()
getType in interface CommerceDiscountRuleModelpublic java.lang.String getTypeSettings()
getTypeSettings in interface CommerceDiscountRuleModelpublic long getUserId()
getUserId in interface CommerceDiscountRuleModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceDiscountRuleModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceDiscountRuleModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCommerceDiscountId(long commerceDiscountId)
setCommerceDiscountId in interface CommerceDiscountRuleModelcommerceDiscountId - the commerce discount ID of this commerce discount rulepublic void setCommerceDiscountRuleId(long commerceDiscountRuleId)
setCommerceDiscountRuleId in interface CommerceDiscountRuleModelcommerceDiscountRuleId - the commerce discount rule ID of this commerce discount rulepublic void setCompanyId(long companyId)
setCompanyId in interface CommerceDiscountRuleModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce discount rulepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceDiscountRuleModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce discount rulepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceDiscountRuleModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce discount rulepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CommerceDiscountRuleModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce discount rulepublic void setName(java.lang.String name)
setName in interface CommerceDiscountRuleModelname - the name of this commerce discount rulepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceDiscountRuleModelprimaryKey - the primary key of this commerce discount rulepublic void setSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties)
setSettingsProperties in interface CommerceDiscountRulepublic void setType(java.lang.String type)
setType in interface CommerceDiscountRuleModeltype - the type of this commerce discount rulepublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings in interface CommerceDiscountRuleModeltypeSettings - the type settings of this commerce discount rulepublic void setUserId(long userId)
setUserId in interface CommerceDiscountRuleModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce discount rulepublic void setUserName(java.lang.String userName)
setUserName in interface CommerceDiscountRuleModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce discount rulepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceDiscountRuleModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce discount rulepublic java.lang.String toXmlString()
toXmlString in interface CommerceDiscountRuleModelprotected CommerceDiscountRuleWrapper wrap(CommerceDiscountRule commerceDiscountRule)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRule>