public class CommerceVirtualOrderItemWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceVirtualOrderItem> implements CommerceVirtualOrderItem, com.liferay.portal.kernel.model.ModelWrapper<CommerceVirtualOrderItem>
This class is a wrapper for CommerceVirtualOrderItem.
CommerceVirtualOrderItem,
Serialized FormCOMMERCE_VIRTUAL_ORDER_ITEM_ID_ACCESSOR| Constructor and Description |
|---|
CommerceVirtualOrderItemWrapper(CommerceVirtualOrderItem 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.
|
com.liferay.commerce.model.CommerceOrderItem |
getCommerceOrderItem() |
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.
|
com.liferay.portal.kernel.repository.model.FileEntry |
getFileEntry() |
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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
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 |
persist() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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.
|
protected CommerceVirtualOrderItemWrapper |
wrap(CommerceVirtualOrderItem commerceVirtualOrderItem) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic CommerceVirtualOrderItemWrapper(CommerceVirtualOrderItem commerceVirtualOrderItem)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>public CommerceVirtualOrderItem cloneWithOriginalValues()
cloneWithOriginalValues in interface CommerceVirtualOrderItemModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>public int getActivationStatus()
getActivationStatus in interface CommerceVirtualOrderItemModelpublic boolean getActive()
getActive in interface CommerceVirtualOrderItemModelpublic com.liferay.commerce.model.CommerceOrderItem getCommerceOrderItem()
throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItem in interface CommerceVirtualOrderItemcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceOrderItemId()
getCommerceOrderItemId in interface CommerceVirtualOrderItemModelpublic long getCommerceVirtualOrderItemId()
getCommerceVirtualOrderItemId in interface CommerceVirtualOrderItemModelpublic long getCompanyId()
getCompanyId in interface CommerceVirtualOrderItemModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceVirtualOrderItemModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getDuration()
getDuration in interface CommerceVirtualOrderItemModelpublic java.util.Date getEndDate()
getEndDate in interface CommerceVirtualOrderItemModelpublic com.liferay.portal.kernel.repository.model.FileEntry getFileEntry()
throws com.liferay.portal.kernel.exception.PortalException
getFileEntry in interface CommerceVirtualOrderItemcom.liferay.portal.kernel.exception.PortalExceptionpublic long getFileEntryId()
getFileEntryId in interface CommerceVirtualOrderItemModelpublic long getGroupId()
getGroupId in interface CommerceVirtualOrderItemModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic int getMaxUsages()
getMaxUsages in interface CommerceVirtualOrderItemModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceVirtualOrderItemModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CommerceVirtualOrderItemModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceVirtualOrderItemModelpublic java.util.Date getStartDate()
getStartDate in interface CommerceVirtualOrderItemModelpublic java.lang.String getUrl()
getUrl in interface CommerceVirtualOrderItemModelpublic int getUsages()
getUsages in interface CommerceVirtualOrderItemModelpublic long getUserId()
getUserId in interface CommerceVirtualOrderItemModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceVirtualOrderItemModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceVirtualOrderItemModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CommerceVirtualOrderItemModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isActive()
true if this commerce virtual order item is active.isActive in interface CommerceVirtualOrderItemModeltrue if this commerce virtual order item is active; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setActivationStatus(int activationStatus)
setActivationStatus in interface CommerceVirtualOrderItemModelactivationStatus - the activation status of this commerce virtual order itempublic void setActive(boolean active)
setActive in interface CommerceVirtualOrderItemModelactive - the active of this commerce virtual order itempublic void setCommerceOrderItemId(long commerceOrderItemId)
setCommerceOrderItemId in interface CommerceVirtualOrderItemModelcommerceOrderItemId - the commerce order item ID of this commerce virtual order itempublic void setCommerceVirtualOrderItemId(long commerceVirtualOrderItemId)
setCommerceVirtualOrderItemId in interface CommerceVirtualOrderItemModelcommerceVirtualOrderItemId - the commerce virtual order item ID of this commerce virtual order itempublic void setCompanyId(long companyId)
setCompanyId in interface CommerceVirtualOrderItemModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this commerce virtual order itempublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceVirtualOrderItemModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce virtual order itempublic void setDuration(long duration)
setDuration in interface CommerceVirtualOrderItemModelduration - the duration of this commerce virtual order itempublic void setEndDate(java.util.Date endDate)
setEndDate in interface CommerceVirtualOrderItemModelendDate - the end date of this commerce virtual order itempublic void setFileEntryId(long fileEntryId)
setFileEntryId in interface CommerceVirtualOrderItemModelfileEntryId - the file entry ID of this commerce virtual order itempublic void setGroupId(long groupId)
setGroupId in interface CommerceVirtualOrderItemModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce virtual order itempublic void setMaxUsages(int maxUsages)
setMaxUsages in interface CommerceVirtualOrderItemModelmaxUsages - the max usages of this commerce virtual order itempublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceVirtualOrderItemModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce virtual order itempublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CommerceVirtualOrderItemModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce virtual order itempublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceVirtualOrderItemModelprimaryKey - the primary key of this commerce virtual order itempublic void setStartDate(java.util.Date startDate)
setStartDate in interface CommerceVirtualOrderItemModelstartDate - the start date of this commerce virtual order itempublic void setUrl(java.lang.String url)
setUrl in interface CommerceVirtualOrderItemModelurl - the url of this commerce virtual order itempublic void setUsages(int usages)
setUsages in interface CommerceVirtualOrderItemModelusages - the usages of this commerce virtual order itempublic void setUserId(long userId)
setUserId in interface CommerceVirtualOrderItemModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce virtual order itempublic void setUserName(java.lang.String userName)
setUserName in interface CommerceVirtualOrderItemModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce virtual order itempublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceVirtualOrderItemModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce virtual order itempublic void setUuid(java.lang.String uuid)
setUuid in interface CommerceVirtualOrderItemModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce virtual order itempublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CommerceVirtualOrderItemWrapper wrap(CommerceVirtualOrderItem commerceVirtualOrderItem)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceVirtualOrderItem>