Interface CommerceVirtualOrderItemModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CommerceVirtualOrderItem>,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel
- All Known Subinterfaces:
CommerceVirtualOrderItem
- All Known Implementing Classes:
CommerceVirtualOrderItemWrapper
@ProviderType
public interface CommerceVirtualOrderItemModel
extends com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the CommerceVirtualOrderItem service. Represents a row in the "CommerceVirtualOrderItem" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemModelImpl 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.product.type.virtual.order.model.impl.CommerceVirtualOrderItemImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the activation status of this commerce virtual order item.booleanReturns the active of this commerce virtual order item.longReturns the commerce order item ID of this commerce virtual order item.longReturns the commerce virtual order item ID of this commerce virtual order item.longReturns the company ID of this commerce virtual order item.Returns the create date of this commerce virtual order item.longReturns the duration of this commerce virtual order item.Returns the end date of this commerce virtual order item.longReturns the group ID of this commerce virtual order item.intReturns the max usages of this commerce virtual order item.Returns the modified date of this commerce virtual order item.longReturns the mvcc version of this commerce virtual order item.longReturns the primary key of this commerce virtual order item.Returns the start date of this commerce virtual order item.longReturns the user ID of this commerce virtual order item.Returns the user name of this commerce virtual order item.Returns the user uuid of this commerce virtual order item.getUuid()Returns the uuid of this commerce virtual order item.booleanisActive()Returnstrueif this commerce virtual order item is active.voidsetActivationStatus(int activationStatus) Sets the activation status of this commerce virtual order item.voidsetActive(boolean active) Sets whether this commerce virtual order item is active.voidsetCommerceOrderItemId(long commerceOrderItemId) Sets the commerce order item ID of this commerce virtual order item.voidsetCommerceVirtualOrderItemId(long commerceVirtualOrderItemId) Sets the commerce virtual order item ID of this commerce virtual order item.voidsetCompanyId(long companyId) Sets the company ID of this commerce virtual order item.voidsetCreateDate(Date createDate) Sets the create date of this commerce virtual order item.voidsetDuration(long duration) Sets the duration of this commerce virtual order item.voidsetEndDate(Date endDate) Sets the end date of this commerce virtual order item.voidsetGroupId(long groupId) Sets the group ID of this commerce virtual order item.voidsetMaxUsages(int maxUsages) Sets the max usages of this commerce virtual order item.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce virtual order item.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce virtual order item.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce virtual order item.voidsetStartDate(Date startDate) Sets the start date of this commerce virtual order item.voidsetUserId(long userId) Sets the user ID of this commerce virtual order item.voidsetUserName(String userName) Sets the user name of this commerce virtual order item.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce virtual order item.voidSets the uuid of this commerce virtual order item.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
compareToMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this commerce virtual order item.- Returns:
- the primary key of this commerce virtual order item
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this commerce virtual order item.- Parameters:
primaryKey- the primary key of this commerce virtual order item
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this commerce virtual order item.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce virtual order item
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce virtual order item.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce virtual order item
-
getUuid
Returns the uuid of this commerce virtual order item.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this commerce virtual order item
-
setUuid
Sets the uuid of this commerce virtual order item.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this commerce virtual order item
-
getCommerceVirtualOrderItemId
long getCommerceVirtualOrderItemId()Returns the commerce virtual order item ID of this commerce virtual order item.- Returns:
- the commerce virtual order item ID of this commerce virtual order item
-
setCommerceVirtualOrderItemId
void setCommerceVirtualOrderItemId(long commerceVirtualOrderItemId) Sets the commerce virtual order item ID of this commerce virtual order item.- Parameters:
commerceVirtualOrderItemId- the commerce virtual order item ID of this commerce virtual order item
-
getGroupId
long getGroupId()Returns the group ID of this commerce virtual order item.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this commerce virtual order item
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this commerce virtual order item.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this commerce virtual order item
-
getCompanyId
long getCompanyId()Returns the company ID of this commerce virtual order item.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this commerce virtual order item
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this commerce virtual order item.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this commerce virtual order item
-
getUserId
long getUserId()Returns the user ID of this commerce virtual order item.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this commerce virtual order item
-
setUserId
void setUserId(long userId) Sets the user ID of this commerce virtual order item.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this commerce virtual order item
-
getUserUuid
String getUserUuid()Returns the user uuid of this commerce virtual order item.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this commerce virtual order item
-
setUserUuid
Sets the user uuid of this commerce virtual order item.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this commerce virtual order item
-
getUserName
Returns the user name of this commerce virtual order item.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this commerce virtual order item
-
setUserName
Sets the user name of this commerce virtual order item.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this commerce virtual order item
-
getCreateDate
Date getCreateDate()Returns the create date of this commerce virtual order item.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this commerce virtual order item
-
setCreateDate
Sets the create date of this commerce virtual order item.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this commerce virtual order item
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this commerce virtual order item.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this commerce virtual order item
-
setModifiedDate
Sets the modified date of this commerce virtual order item.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this commerce virtual order item
-
getCommerceOrderItemId
long getCommerceOrderItemId()Returns the commerce order item ID of this commerce virtual order item.- Returns:
- the commerce order item ID of this commerce virtual order item
-
setCommerceOrderItemId
void setCommerceOrderItemId(long commerceOrderItemId) Sets the commerce order item ID of this commerce virtual order item.- Parameters:
commerceOrderItemId- the commerce order item ID of this commerce virtual order item
-
getActivationStatus
int getActivationStatus()Returns the activation status of this commerce virtual order item.- Returns:
- the activation status of this commerce virtual order item
-
setActivationStatus
void setActivationStatus(int activationStatus) Sets the activation status of this commerce virtual order item.- Parameters:
activationStatus- the activation status of this commerce virtual order item
-
getDuration
long getDuration()Returns the duration of this commerce virtual order item.- Returns:
- the duration of this commerce virtual order item
-
setDuration
void setDuration(long duration) Sets the duration of this commerce virtual order item.- Parameters:
duration- the duration of this commerce virtual order item
-
getMaxUsages
int getMaxUsages()Returns the max usages of this commerce virtual order item.- Returns:
- the max usages of this commerce virtual order item
-
setMaxUsages
void setMaxUsages(int maxUsages) Sets the max usages of this commerce virtual order item.- Parameters:
maxUsages- the max usages of this commerce virtual order item
-
getActive
boolean getActive()Returns the active of this commerce virtual order item.- Returns:
- the active of this commerce virtual order item
-
isActive
boolean isActive()Returnstrueif this commerce virtual order item is active.- Returns:
trueif this commerce virtual order item is active;falseotherwise
-
setActive
void setActive(boolean active) Sets whether this commerce virtual order item is active.- Parameters:
active- the active of this commerce virtual order item
-
getStartDate
Date getStartDate()Returns the start date of this commerce virtual order item.- Returns:
- the start date of this commerce virtual order item
-
setStartDate
Sets the start date of this commerce virtual order item.- Parameters:
startDate- the start date of this commerce virtual order item
-
getEndDate
Date getEndDate()Returns the end date of this commerce virtual order item.- Returns:
- the end date of this commerce virtual order item
-
setEndDate
Sets the end date of this commerce virtual order item.- Parameters:
endDate- the end date of this commerce virtual order item
-
cloneWithOriginalValues
CommerceVirtualOrderItem cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
-
toXmlString
-