@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
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
.
CommerceVirtualOrderItem
Modifier and Type | Method and Description |
---|---|
CommerceVirtualOrderItem |
cloneWithOriginalValues() |
int |
getActivationStatus()
Returns the activation status of this commerce virtual order item.
|
boolean |
getActive()
Returns the active of this commerce virtual order item.
|
long |
getCommerceOrderItemId()
Returns the commerce order item ID of this commerce virtual order item.
|
long |
getCommerceVirtualOrderItemId()
Returns the commerce virtual order item ID of this commerce virtual order item.
|
long |
getCompanyId()
Returns the company ID of this commerce virtual order item.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce virtual order item.
|
long |
getDuration()
Returns the duration of this commerce virtual order item.
|
java.util.Date |
getEndDate()
Returns the end date of this commerce virtual order item.
|
long |
getFileEntryId()
Returns the file entry ID of this commerce virtual order item.
|
long |
getGroupId()
Returns the group ID of this commerce virtual order item.
|
int |
getMaxUsages()
Returns the max usages of this commerce virtual order item.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce virtual order item.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce virtual order item.
|
long |
getPrimaryKey()
Returns the primary key of this commerce virtual order item.
|
java.util.Date |
getStartDate()
Returns the start date of this commerce virtual order item.
|
java.lang.String |
getUrl()
Returns the url of this commerce virtual order item.
|
int |
getUsages()
Returns the usages of this commerce virtual order item.
|
long |
getUserId()
Returns the user ID of this commerce virtual order item.
|
java.lang.String |
getUserName()
Returns the user name of this commerce virtual order item.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce virtual order item.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce virtual order item.
|
boolean |
isActive()
Returns
true if this commerce virtual order item is active. |
void |
setActivationStatus(int activationStatus)
Sets the activation status of this commerce virtual order item.
|
void |
setActive(boolean active)
Sets whether this commerce virtual order item is active.
|
void |
setCommerceOrderItemId(long commerceOrderItemId)
Sets the commerce order item ID of this commerce virtual order item.
|
void |
setCommerceVirtualOrderItemId(long commerceVirtualOrderItemId)
Sets the commerce virtual order item ID of this commerce virtual order item.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce virtual order item.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce virtual order item.
|
void |
setDuration(long duration)
Sets the duration of this commerce virtual order item.
|
void |
setEndDate(java.util.Date endDate)
Sets the end date of this commerce virtual order item.
|
void |
setFileEntryId(long fileEntryId)
Sets the file entry ID of this commerce virtual order item.
|
void |
setGroupId(long groupId)
Sets the group ID of this commerce virtual order item.
|
void |
setMaxUsages(int maxUsages)
Sets the max usages of this commerce virtual order item.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce virtual order item.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce virtual order item.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce virtual order item.
|
void |
setStartDate(java.util.Date startDate)
Sets the start date of this commerce virtual order item.
|
void |
setUrl(java.lang.String url)
Sets the url of this commerce virtual order item.
|
void |
setUsages(int usages)
Sets the usages of this commerce virtual order item.
|
void |
setUserId(long userId)
Sets the user ID of this commerce virtual order item.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce virtual order item.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce virtual order item.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce virtual order item.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this commerce virtual order itemlong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce virtual order item@AutoEscape java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this commerce virtual order itemlong getCommerceVirtualOrderItemId()
void setCommerceVirtualOrderItemId(long commerceVirtualOrderItemId)
commerceVirtualOrderItemId
- the commerce virtual order item ID of this commerce virtual order itemlong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this commerce virtual order itemlong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this commerce virtual order itemlong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce virtual order itemjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce virtual order item@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce virtual order itemjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this commerce virtual order itemjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this commerce virtual order itemlong getCommerceOrderItemId()
void setCommerceOrderItemId(long commerceOrderItemId)
commerceOrderItemId
- the commerce order item ID of this commerce virtual order itemlong getFileEntryId()
void setFileEntryId(long fileEntryId)
fileEntryId
- the file entry ID of this commerce virtual order item@AutoEscape java.lang.String getUrl()
void setUrl(java.lang.String url)
url
- the url of this commerce virtual order itemint getActivationStatus()
void setActivationStatus(int activationStatus)
activationStatus
- the activation status of this commerce virtual order itemlong getDuration()
void setDuration(long duration)
duration
- the duration of this commerce virtual order itemint getUsages()
void setUsages(int usages)
usages
- the usages of this commerce virtual order itemint getMaxUsages()
void setMaxUsages(int maxUsages)
maxUsages
- the max usages of this commerce virtual order itemboolean getActive()
boolean isActive()
true
if this commerce virtual order item is active.true
if this commerce virtual order item is active; false
otherwisevoid setActive(boolean active)
active
- the active of this commerce virtual order itemjava.util.Date getStartDate()
void setStartDate(java.util.Date startDate)
startDate
- the start date of this commerce virtual order itemjava.util.Date getEndDate()
void setEndDate(java.util.Date endDate)
endDate
- the end date of this commerce virtual order itemCommerceVirtualOrderItem cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
default java.lang.String toXmlString()