Class CommerceDiscountUsageEntryWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountUsageEntry>
com.liferay.commerce.discount.model.CommerceDiscountUsageEntryWrapper
- All Implemented Interfaces:
CommerceDiscountUsageEntry,CommerceDiscountUsageEntryModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountUsageEntry>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,Serializable,Cloneable,Comparable<CommerceDiscountUsageEntry>
public class CommerceDiscountUsageEntryWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountUsageEntry>
implements CommerceDiscountUsageEntry, com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountUsageEntry>
This class is a wrapper for CommerceDiscountUsageEntry.
- 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.CommerceDiscountUsageEntry
COMMERCE_DISCOUNT_USAGE_ENTRY_ID_ACCESSOR -
Constructor Summary
ConstructorsConstructorDescriptionCommerceDiscountUsageEntryWrapper(CommerceDiscountUsageEntry commerceDiscountUsageEntry) -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the commerce account ID of this commerce discount usage entry.longReturns the commerce discount ID of this commerce discount usage entry.longReturns the commerce discount usage entry ID of this commerce discount usage entry.longReturns the commerce order ID of this commerce discount usage entry.longReturns the company ID of this commerce discount usage entry.Returns the create date of this commerce discount usage entry.Returns the modified date of this commerce discount usage entry.longReturns the mvcc version of this commerce discount usage entry.longReturns the primary key of this commerce discount usage entry.longReturns the user ID of this commerce discount usage entry.Returns the user name of this commerce discount usage entry.Returns the user uuid of this commerce discount usage entry.voidpersist()voidsetCommerceAccountId(long commerceAccountId) Sets the commerce account ID of this commerce discount usage entry.voidsetCommerceDiscountId(long commerceDiscountId) Sets the commerce discount ID of this commerce discount usage entry.voidsetCommerceDiscountUsageEntryId(long commerceDiscountUsageEntryId) Sets the commerce discount usage entry ID of this commerce discount usage entry.voidsetCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce discount usage entry.voidsetCompanyId(long companyId) Sets the company ID of this commerce discount usage entry.voidsetCreateDate(Date createDate) Sets the create date of this commerce discount usage entry.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce discount usage entry.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce discount usage entry.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce discount usage entry.voidsetUserId(long userId) Sets the user ID of this commerce discount usage entry.voidsetUserName(String userName) Sets the user name of this commerce discount usage entry.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce discount usage entry.protected CommerceDiscountUsageEntryWrapperwrap(CommerceDiscountUsageEntry commerceDiscountUsageEntry) 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
-
CommerceDiscountUsageEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>- Specified by:
cloneWithOriginalValuesin interfaceCommerceDiscountUsageEntryModel
-
getCommerceAccountId
public long getCommerceAccountId()Returns the commerce account ID of this commerce discount usage entry.- Specified by:
getCommerceAccountIdin interfaceCommerceDiscountUsageEntryModel- Returns:
- the commerce account ID of this commerce discount usage entry
-
getCommerceDiscountId
public long getCommerceDiscountId()Returns the commerce discount ID of this commerce discount usage entry.- Specified by:
getCommerceDiscountIdin interfaceCommerceDiscountUsageEntryModel- Returns:
- the commerce discount ID of this commerce discount usage entry
-
getCommerceDiscountUsageEntryId
public long getCommerceDiscountUsageEntryId()Returns the commerce discount usage entry ID of this commerce discount usage entry.- Specified by:
getCommerceDiscountUsageEntryIdin interfaceCommerceDiscountUsageEntryModel- Returns:
- the commerce discount usage entry ID of this commerce discount usage entry
-
getCommerceOrderId
public long getCommerceOrderId()Returns the commerce order ID of this commerce discount usage entry.- Specified by:
getCommerceOrderIdin interfaceCommerceDiscountUsageEntryModel- Returns:
- the commerce order ID of this commerce discount usage entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce discount usage entry.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCommerceDiscountUsageEntryModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this commerce discount usage entry
-
getCreateDate
Returns the create date of this commerce discount usage entry.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCommerceDiscountUsageEntryModel- Returns:
- the create date of this commerce discount usage entry
-
getModifiedDate
Returns the modified date of this commerce discount usage entry.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCommerceDiscountUsageEntryModel- Returns:
- the modified date of this commerce discount usage entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce discount usage entry.- Specified by:
getMvccVersionin interfaceCommerceDiscountUsageEntryModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce discount usage entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce discount usage entry.- Specified by:
getPrimaryKeyin interfaceCommerceDiscountUsageEntryModel- Returns:
- the primary key of this commerce discount usage entry
-
getUserId
public long getUserId()Returns the user ID of this commerce discount usage entry.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCommerceDiscountUsageEntryModel- Returns:
- the user ID of this commerce discount usage entry
-
getUserName
Returns the user name of this commerce discount usage entry.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCommerceDiscountUsageEntryModel- Returns:
- the user name of this commerce discount usage entry
-
getUserUuid
Returns the user uuid of this commerce discount usage entry.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCommerceDiscountUsageEntryModel- Returns:
- the user uuid of this commerce discount usage entry
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCommerceAccountId
public void setCommerceAccountId(long commerceAccountId) Sets the commerce account ID of this commerce discount usage entry.- Specified by:
setCommerceAccountIdin interfaceCommerceDiscountUsageEntryModel- Parameters:
commerceAccountId- the commerce account ID of this commerce discount usage entry
-
setCommerceDiscountId
public void setCommerceDiscountId(long commerceDiscountId) Sets the commerce discount ID of this commerce discount usage entry.- Specified by:
setCommerceDiscountIdin interfaceCommerceDiscountUsageEntryModel- Parameters:
commerceDiscountId- the commerce discount ID of this commerce discount usage entry
-
setCommerceDiscountUsageEntryId
public void setCommerceDiscountUsageEntryId(long commerceDiscountUsageEntryId) Sets the commerce discount usage entry ID of this commerce discount usage entry.- Specified by:
setCommerceDiscountUsageEntryIdin interfaceCommerceDiscountUsageEntryModel- Parameters:
commerceDiscountUsageEntryId- the commerce discount usage entry ID of this commerce discount usage entry
-
setCommerceOrderId
public void setCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce discount usage entry.- Specified by:
setCommerceOrderIdin interfaceCommerceDiscountUsageEntryModel- Parameters:
commerceOrderId- the commerce order ID of this commerce discount usage entry
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce discount usage entry.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCommerceDiscountUsageEntryModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this commerce discount usage entry
-
setCreateDate
Sets the create date of this commerce discount usage entry.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCommerceDiscountUsageEntryModel- Parameters:
createDate- the create date of this commerce discount usage entry
-
setModifiedDate
Sets the modified date of this commerce discount usage entry.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCommerceDiscountUsageEntryModel- Parameters:
modifiedDate- the modified date of this commerce discount usage entry
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce discount usage entry.- Specified by:
setMvccVersionin interfaceCommerceDiscountUsageEntryModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce discount usage entry
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce discount usage entry.- Specified by:
setPrimaryKeyin interfaceCommerceDiscountUsageEntryModel- Parameters:
primaryKey- the primary key of this commerce discount usage entry
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce discount usage entry.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCommerceDiscountUsageEntryModel- Parameters:
userId- the user ID of this commerce discount usage entry
-
setUserName
Sets the user name of this commerce discount usage entry.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCommerceDiscountUsageEntryModel- Parameters:
userName- the user name of this commerce discount usage entry
-
setUserUuid
Sets the user uuid of this commerce discount usage entry.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCommerceDiscountUsageEntryModel- Parameters:
userUuid- the user uuid of this commerce discount usage entry
-
toXmlString
- Specified by:
toXmlStringin interfaceCommerceDiscountUsageEntryModel
-
wrap
protected CommerceDiscountUsageEntryWrapper wrap(CommerceDiscountUsageEntry commerceDiscountUsageEntry) - Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountUsageEntry>
-