Interface CommerceDiscountUsageEntryModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CommerceDiscountUsageEntry>,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel
- All Known Subinterfaces:
CommerceDiscountUsageEntry
- All Known Implementing Classes:
CommerceDiscountUsageEntryWrapper
@ProviderType
public interface CommerceDiscountUsageEntryModel
extends com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the CommerceDiscountUsageEntry service. Represents a row in the "CommerceDiscountUsageEntry" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.discount.model.impl.CommerceDiscountUsageEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.discount.model.impl.CommerceDiscountUsageEntryImpl.
- See Also:
- Generated:
-
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.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.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.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this commerce discount usage entry.- Returns:
- the primary key of this commerce discount usage entry
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this commerce discount usage entry.- Parameters:
primaryKey- the primary key of this commerce discount usage entry
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this commerce discount usage entry.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce discount usage entry
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce discount usage entry.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce discount usage entry
-
getCommerceDiscountUsageEntryId
long getCommerceDiscountUsageEntryId()Returns the commerce discount usage entry ID of this commerce discount usage entry.- Returns:
- the commerce discount usage entry ID of this commerce discount usage entry
-
setCommerceDiscountUsageEntryId
void setCommerceDiscountUsageEntryId(long commerceDiscountUsageEntryId) Sets the commerce discount usage entry ID of this commerce discount usage entry.- Parameters:
commerceDiscountUsageEntryId- the commerce discount usage entry ID of this commerce discount usage entry
-
getCompanyId
long getCompanyId()Returns the company ID of this commerce discount usage entry.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this commerce discount usage entry
-
setCompanyId
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 interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this commerce discount usage entry
-
getUserId
long getUserId()Returns the user ID of this commerce discount usage entry.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this commerce discount usage entry
-
setUserId
void setUserId(long userId) Sets the user ID of this commerce discount usage entry.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this commerce discount usage entry
-
getUserUuid
String getUserUuid()Returns the user uuid of this commerce discount usage entry.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid 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- Parameters:
userUuid- the user uuid 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- Returns:
- the user name 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- Parameters:
userName- the user name of this commerce discount usage entry
-
getCreateDate
Date getCreateDate()Returns the create date of this commerce discount usage entry.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the create date 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- Parameters:
createDate- the create date of this commerce discount usage entry
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this commerce discount usage entry.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the modified 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- Parameters:
modifiedDate- the modified date of this commerce discount usage entry
-
getCommerceAccountId
long getCommerceAccountId()Returns the commerce account ID of this commerce discount usage entry.- Returns:
- the commerce account ID of this commerce discount usage entry
-
setCommerceAccountId
void setCommerceAccountId(long commerceAccountId) Sets the commerce account ID of this commerce discount usage entry.- Parameters:
commerceAccountId- the commerce account ID of this commerce discount usage entry
-
getCommerceOrderId
long getCommerceOrderId()Returns the commerce order ID of this commerce discount usage entry.- Returns:
- the commerce order ID of this commerce discount usage entry
-
setCommerceOrderId
void setCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce discount usage entry.- Parameters:
commerceOrderId- the commerce order ID of this commerce discount usage entry
-
getCommerceDiscountId
long getCommerceDiscountId()Returns the commerce discount ID of this commerce discount usage entry.- Returns:
- the commerce discount ID of this commerce discount usage entry
-
setCommerceDiscountId
void setCommerceDiscountId(long commerceDiscountId) Sets the commerce discount ID of this commerce discount usage entry.- Parameters:
commerceDiscountId- the commerce discount ID of this commerce discount usage entry
-
cloneWithOriginalValues
CommerceDiscountUsageEntry cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>
-
toXmlString
-