Class CommerceDiscountRuleWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRule>
com.liferay.commerce.discount.model.CommerceDiscountRuleWrapper
- All Implemented Interfaces:
CommerceDiscountRule
,CommerceDiscountRuleModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountRule>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,Serializable
,Cloneable
,Comparable<CommerceDiscountRule>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.discount.model.CommerceDiscountRule
COMMERCE_DISCOUNT_RULE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the commerce discount ID of this commerce discount rule.long
Returns the commerce discount rule ID of this commerce discount rule.long
Returns 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.long
Returns the mvcc version of this commerce discount rule.getName()
Returns the name of this commerce discount rule.long
Returns the primary key of this commerce discount rule.com.liferay.portal.kernel.util.UnicodeProperties
getType()
Returns the type of this commerce discount rule.Returns the type settings of this commerce discount rule.long
Returns 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.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
(Date createDate) Sets the create date of this commerce discount rule.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(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
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
Sets the type of this commerce discount rule.void
setTypeSettings
(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
(String userName) Sets the user name of this commerce discount rule.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce discount rule.protected CommerceDiscountRuleWrapper
wrap
(CommerceDiscountRule commerceDiscountRule) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
CommerceDiscountRuleWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceDiscountRuleModel
-
getCommerceDiscountId
public long getCommerceDiscountId()Returns the commerce discount ID of this commerce discount rule.- Specified by:
getCommerceDiscountId
in interfaceCommerceDiscountRuleModel
- Returns:
- the commerce discount ID of this commerce discount rule
-
getCommerceDiscountRuleId
public long getCommerceDiscountRuleId()Returns the commerce discount rule ID of this commerce discount rule.- Specified by:
getCommerceDiscountRuleId
in interfaceCommerceDiscountRuleModel
- Returns:
- the commerce discount rule ID of this commerce discount rule
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce discount rule.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceDiscountRuleModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Returns:
- the company ID of this commerce discount rule
-
getCreateDate
Returns the create date of this commerce discount rule.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceDiscountRuleModel
- Returns:
- the create date of this commerce discount rule
-
getModifiedDate
Returns the modified date of this commerce discount rule.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceDiscountRuleModel
- Returns:
- the modified date of this commerce discount rule
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce discount rule.- Specified by:
getMvccVersion
in interfaceCommerceDiscountRuleModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce discount rule
-
getName
Returns the name of this commerce discount rule.- Specified by:
getName
in interfaceCommerceDiscountRuleModel
- Returns:
- the name of this commerce discount rule
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce discount rule.- Specified by:
getPrimaryKey
in interfaceCommerceDiscountRuleModel
- Returns:
- the primary key of this commerce discount rule
-
getSettingsProperties
public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties()- Specified by:
getSettingsProperties
in interfaceCommerceDiscountRule
-
getSettingsProperty
- Specified by:
getSettingsProperty
in interfaceCommerceDiscountRule
-
getType
Returns the type of this commerce discount rule.- Specified by:
getType
in interfaceCommerceDiscountRuleModel
- Returns:
- the type of this commerce discount rule
-
getTypeSettings
Returns the type settings of this commerce discount rule.- Specified by:
getTypeSettings
in interfaceCommerceDiscountRuleModel
- Returns:
- the type settings of this commerce discount rule
-
getUserId
public long getUserId()Returns the user ID of this commerce discount rule.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceDiscountRuleModel
- Returns:
- the user ID of this commerce discount rule
-
getUserName
Returns the user name of this commerce discount rule.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceDiscountRuleModel
- Returns:
- the user name of this commerce discount rule
-
getUserUuid
Returns the user uuid of this commerce discount rule.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceDiscountRuleModel
- Returns:
- the user uuid of this commerce discount rule
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCommerceDiscountId
public void setCommerceDiscountId(long commerceDiscountId) Sets the commerce discount ID of this commerce discount rule.- Specified by:
setCommerceDiscountId
in interfaceCommerceDiscountRuleModel
- Parameters:
commerceDiscountId
- the commerce discount ID of this commerce discount rule
-
setCommerceDiscountRuleId
public void setCommerceDiscountRuleId(long commerceDiscountRuleId) Sets the commerce discount rule ID of this commerce discount rule.- Specified by:
setCommerceDiscountRuleId
in interfaceCommerceDiscountRuleModel
- Parameters:
commerceDiscountRuleId
- the commerce discount rule ID of this commerce discount rule
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce discount rule.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceDiscountRuleModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Parameters:
companyId
- the company ID of this commerce discount rule
-
setCreateDate
Sets the create date of this commerce discount rule.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceDiscountRuleModel
- Parameters:
createDate
- the create date of this commerce discount rule
-
setModifiedDate
Sets the modified date of this commerce discount rule.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceDiscountRuleModel
- Parameters:
modifiedDate
- the modified date of this commerce discount rule
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce discount rule.- Specified by:
setMvccVersion
in interfaceCommerceDiscountRuleModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce discount rule
-
setName
Sets the name of this commerce discount rule.- Specified by:
setName
in interfaceCommerceDiscountRuleModel
- Parameters:
name
- the name of this commerce discount rule
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce discount rule.- Specified by:
setPrimaryKey
in interfaceCommerceDiscountRuleModel
- Parameters:
primaryKey
- the primary key of this commerce discount rule
-
setSettingsProperties
public void setSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties) - Specified by:
setSettingsProperties
in interfaceCommerceDiscountRule
-
setType
Sets the type of this commerce discount rule.- Specified by:
setType
in interfaceCommerceDiscountRuleModel
- Parameters:
type
- the type of this commerce discount rule
-
setTypeSettings
Sets the type settings of this commerce discount rule.- Specified by:
setTypeSettings
in interfaceCommerceDiscountRuleModel
- Parameters:
typeSettings
- the type settings of this commerce discount rule
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce discount rule.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceDiscountRuleModel
- Parameters:
userId
- the user ID of this commerce discount rule
-
setUserName
Sets the user name of this commerce discount rule.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceDiscountRuleModel
- Parameters:
userName
- the user name of this commerce discount rule
-
setUserUuid
Sets the user uuid of this commerce discount rule.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceDiscountRuleModel
- Parameters:
userUuid
- the user uuid of this commerce discount rule
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceDiscountRuleModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRule>
-