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
modelFields inherited from interface com.liferay.commerce.discount.model.CommerceDiscountRule
COMMERCE_DISCOUNT_RULE_ID_ACCESSOR -
Constructor Summary
Constructors -
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.com.liferay.portal.kernel.util.UnicodePropertiesgetType()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.voidpersist()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.voidsetModelAttributes(Map<String, Object> attributes) 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.voidsetSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties) 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.protected CommerceDiscountRuleWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
CommerceDiscountRuleWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountRule>- Specified by:
cloneWithOriginalValuesin interfaceCommerceDiscountRuleModel
-
getCommerceDiscountId
public long getCommerceDiscountId()Returns the commerce discount ID of this commerce discount rule.- Specified by:
getCommerceDiscountIdin 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:
getCommerceDiscountRuleIdin 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:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCommerceDiscountRuleModel- Specified by:
getCompanyIdin 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:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCommerceDiscountRuleModel- Returns:
- the create date of this commerce discount rule
-
getModifiedDate
Returns the modified date of this commerce discount rule.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein 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:
getMvccVersionin interfaceCommerceDiscountRuleModel- Specified by:
getMvccVersionin 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:
getNamein interfaceCommerceDiscountRuleModel- Returns:
- the name of this commerce discount rule
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce discount rule.- Specified by:
getPrimaryKeyin interfaceCommerceDiscountRuleModel- Returns:
- the primary key of this commerce discount rule
-
getSettingsProperties
public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties()- Specified by:
getSettingsPropertiesin interfaceCommerceDiscountRule
-
getSettingsProperty
- Specified by:
getSettingsPropertyin interfaceCommerceDiscountRule
-
getType
Returns the type of this commerce discount rule.- Specified by:
getTypein interfaceCommerceDiscountRuleModel- Returns:
- the type of this commerce discount rule
-
getTypeSettings
Returns the type settings of this commerce discount rule.- Specified by:
getTypeSettingsin 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:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCommerceDiscountRuleModel- Returns:
- the user ID of this commerce discount rule
-
getUserName
Returns the user name of this commerce discount rule.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCommerceDiscountRuleModel- Returns:
- the user name of this commerce discount rule
-
getUserUuid
Returns the user uuid of this commerce discount rule.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCommerceDiscountRuleModel- Returns:
- the user uuid of this commerce discount rule
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCommerceDiscountId
public void setCommerceDiscountId(long commerceDiscountId) Sets the commerce discount ID of this commerce discount rule.- Specified by:
setCommerceDiscountIdin 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:
setCommerceDiscountRuleIdin 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCommerceDiscountRuleModel- Specified by:
setCompanyIdin 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:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCommerceDiscountRuleModel- Parameters:
createDate- the create 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- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceCommerceDiscountRuleModel- Specified by:
setMvccVersionin 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:
setNamein 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:
setPrimaryKeyin interfaceCommerceDiscountRuleModel- Parameters:
primaryKey- the primary key of this commerce discount rule
-
setSettingsProperties
public void setSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties) - Specified by:
setSettingsPropertiesin interfaceCommerceDiscountRule
-
setType
Sets the type of this commerce discount rule.- Specified by:
setTypein interfaceCommerceDiscountRuleModel- Parameters:
type- the type of this commerce discount rule
-
setTypeSettings
Sets the type settings of this commerce discount rule.- Specified by:
setTypeSettingsin 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:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCommerceDiscountRuleModel- Parameters:
userId- the user ID of this commerce discount rule
-
setUserName
Sets the user name of this commerce discount rule.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCommerceDiscountRuleModel- Parameters:
userName- the user name of this commerce discount rule
-
setUserUuid
Sets the user uuid of this commerce discount rule.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCommerceDiscountRuleModel- Parameters:
userUuid- the user uuid of this commerce discount rule
-
toXmlString
- Specified by:
toXmlStringin interfaceCommerceDiscountRuleModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRule>
-