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
model
Fields inherited from interface com.liferay.commerce.discount.model.CommerceDiscountUsageEntry
COMMERCE_DISCOUNT_USAGE_ENTRY_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceDiscountUsageEntryWrapper
(CommerceDiscountUsageEntry commerceDiscountUsageEntry) -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the commerce account ID of this commerce discount usage entry.long
Returns the commerce discount ID of this commerce discount usage entry.long
Returns the commerce discount usage entry ID of this commerce discount usage entry.long
Returns the commerce order ID of this commerce discount usage entry.long
Returns 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.long
Returns the mvcc version of this commerce discount usage entry.long
Returns the primary key of this commerce discount usage entry.long
Returns 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.void
persist()
void
setCommerceAccountId
(long commerceAccountId) Sets the commerce account ID of this commerce discount usage entry.void
setCommerceDiscountId
(long commerceDiscountId) Sets the commerce discount ID of this commerce discount usage entry.void
setCommerceDiscountUsageEntryId
(long commerceDiscountUsageEntryId) Sets the commerce discount usage entry ID of this commerce discount usage entry.void
setCommerceOrderId
(long commerceOrderId) Sets the commerce order ID of this commerce discount usage entry.void
setCompanyId
(long companyId) Sets the company ID of this commerce discount usage entry.void
setCreateDate
(Date createDate) Sets the create date of this commerce discount usage entry.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this commerce discount usage entry.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this commerce discount usage entry.void
setPrimaryKey
(long primaryKey) Sets the primary key of this commerce discount usage entry.void
setUserId
(long userId) Sets the user ID of this commerce discount usage entry.void
setUserName
(String userName) Sets the user name of this commerce discount usage entry.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce discount usage entry.protected CommerceDiscountUsageEntryWrapper
wrap
(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, 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
-
CommerceDiscountUsageEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceDiscountUsageEntryModel
-
getCommerceAccountId
public long getCommerceAccountId()Returns the commerce account ID of this commerce discount usage entry.- Specified by:
getCommerceAccountId
in 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:
getCommerceDiscountId
in 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:
getCommerceDiscountUsageEntryId
in 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:
getCommerceOrderId
in 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:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceDiscountUsageEntryModel
- Specified by:
getCompanyId
in 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:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceDiscountUsageEntryModel
- Returns:
- the create date of this commerce discount usage entry
-
getModifiedDate
Returns the modified date of this commerce discount usage entry.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in 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:
getMvccVersion
in interfaceCommerceDiscountUsageEntryModel
- Specified by:
getMvccVersion
in 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:
getPrimaryKey
in 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:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceDiscountUsageEntryModel
- Returns:
- the user ID of this commerce discount usage entry
-
getUserName
Returns the user name of this commerce discount usage entry.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceDiscountUsageEntryModel
- Returns:
- the user name of this commerce discount usage entry
-
getUserUuid
Returns the user uuid of this commerce discount usage entry.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceDiscountUsageEntryModel
- Returns:
- the user uuid of this commerce discount usage entry
-
persist
public void persist()- Specified by:
persist
in 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:
setCommerceAccountId
in 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:
setCommerceDiscountId
in 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:
setCommerceDiscountUsageEntryId
in 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:
setCommerceOrderId
in 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:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceDiscountUsageEntryModel
- Specified by:
setCompanyId
in 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:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in 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:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in 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:
setMvccVersion
in interfaceCommerceDiscountUsageEntryModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in 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:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in 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:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in 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:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceDiscountUsageEntryModel
- Parameters:
userUuid
- the user uuid of this commerce discount usage entry
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceDiscountUsageEntryModel
-
wrap
protected CommerceDiscountUsageEntryWrapper wrap(CommerceDiscountUsageEntry commerceDiscountUsageEntry) - Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountUsageEntry>
-