Class CommerceVirtualOrderItemWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceVirtualOrderItem>
com.liferay.commerce.product.type.virtual.order.model.CommerceVirtualOrderItemWrapper
- All Implemented Interfaces:
CommerceVirtualOrderItem
,CommerceVirtualOrderItemModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceVirtualOrderItem>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,Serializable
,Cloneable
,Comparable<CommerceVirtualOrderItem>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.product.type.virtual.order.model.CommerceVirtualOrderItem
COMMERCE_VIRTUAL_ORDER_ITEM_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceVirtualOrderItemWrapper
(CommerceVirtualOrderItem commerceVirtualOrderItem) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the activation status of this commerce virtual order item.boolean
Returns the active of this commerce virtual order item.com.liferay.commerce.model.CommerceOrderItem
long
Returns the commerce order item ID of this commerce virtual order item.int
getCommerceVirtualOrderItemFileEntry
(long commerceVirtualOrderItemFileEntryId) long
Returns the commerce virtual order item ID of this commerce virtual order item.long
Returns the company ID of this commerce virtual order item.Returns the create date of this commerce virtual order item.long
Returns the duration of this commerce virtual order item.Returns the end date of this commerce virtual order item.long
Returns the group ID of this commerce virtual order item.int
Returns the max usages of this commerce virtual order item.Returns the modified date of this commerce virtual order item.long
Returns the mvcc version of this commerce virtual order item.long
Returns the primary key of this commerce virtual order item.com.liferay.exportimport.kernel.lar.StagedModelType
Returns the start date of this commerce virtual order item.long
Returns 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.boolean
isActive()
Returnstrue
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
(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
(Date endDate) Sets the end date 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
(Map<String, Object> attributes) void
setModifiedDate
(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
(Date startDate) Sets the start date of this commerce virtual order item.void
setUserId
(long userId) Sets the user ID of this commerce virtual order item.void
setUserName
(String userName) Sets the user name of this commerce virtual order item.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce virtual order item.void
Sets the uuid of this commerce virtual order item.protected CommerceVirtualOrderItemWrapper
wrap
(CommerceVirtualOrderItem commerceVirtualOrderItem) 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
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceVirtualOrderItemWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceVirtualOrderItemModel
-
getActivationStatus
public int getActivationStatus()Returns the activation status of this commerce virtual order item.- Specified by:
getActivationStatus
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the activation status of this commerce virtual order item
-
getActive
public boolean getActive()Returns the active of this commerce virtual order item.- Specified by:
getActive
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the active of this commerce virtual order item
-
getCommerceOrderItem
public com.liferay.commerce.model.CommerceOrderItem getCommerceOrderItem() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCommerceOrderItem
in interfaceCommerceVirtualOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItemId
public long getCommerceOrderItemId()Returns the commerce order item ID of this commerce virtual order item.- Specified by:
getCommerceOrderItemId
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the commerce order item ID of this commerce virtual order item
-
getCommerceVirtualOrderItemFileEntries
- Specified by:
getCommerceVirtualOrderItemFileEntries
in interfaceCommerceVirtualOrderItem
-
getCommerceVirtualOrderItemFileEntriesCount
public int getCommerceVirtualOrderItemFileEntriesCount()- Specified by:
getCommerceVirtualOrderItemFileEntriesCount
in interfaceCommerceVirtualOrderItem
-
getCommerceVirtualOrderItemFileEntry
public CommerceVirtualOrderItemFileEntry getCommerceVirtualOrderItemFileEntry(long commerceVirtualOrderItemFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceVirtualOrderItemFileEntry
in interfaceCommerceVirtualOrderItem
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceVirtualOrderItemId
public long getCommerceVirtualOrderItemId()Returns the commerce virtual order item ID of this commerce virtual order item.- Specified by:
getCommerceVirtualOrderItemId
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the commerce virtual order item ID of this commerce virtual order item
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce virtual order item.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceVirtualOrderItemModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this commerce virtual order item
-
getCreateDate
Returns the create date of this commerce virtual order item.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceVirtualOrderItemModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this commerce virtual order item
-
getDuration
public long getDuration()Returns the duration of this commerce virtual order item.- Specified by:
getDuration
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the duration of this commerce virtual order item
-
getEndDate
Returns the end date of this commerce virtual order item.- Specified by:
getEndDate
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the end date of this commerce virtual order item
-
getGroupId
public long getGroupId()Returns the group ID of this commerce virtual order item.- Specified by:
getGroupId
in interfaceCommerceVirtualOrderItemModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this commerce virtual order item
-
getMaxUsages
public int getMaxUsages()Returns the max usages of this commerce virtual order item.- Specified by:
getMaxUsages
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the max usages of this commerce virtual order item
-
getModifiedDate
Returns the modified date of this commerce virtual order item.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceVirtualOrderItemModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this commerce virtual order item
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce virtual order item.- Specified by:
getMvccVersion
in interfaceCommerceVirtualOrderItemModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce virtual order item
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce virtual order item.- Specified by:
getPrimaryKey
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the primary key of this commerce virtual order item
-
getStartDate
Returns the start date of this commerce virtual order item.- Specified by:
getStartDate
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the start date of this commerce virtual order item
-
getUserId
public long getUserId()Returns the user ID of this commerce virtual order item.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the user ID of this commerce virtual order item
-
getUserName
Returns the user name of this commerce virtual order item.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the user name of this commerce virtual order item
-
getUserUuid
Returns the user uuid of this commerce virtual order item.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceVirtualOrderItemModel
- Returns:
- the user uuid of this commerce virtual order item
-
getUuid
Returns the uuid of this commerce virtual order item.- Specified by:
getUuid
in interfaceCommerceVirtualOrderItemModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce virtual order item
-
isActive
public boolean isActive()Returnstrue
if this commerce virtual order item is active.- Specified by:
isActive
in interfaceCommerceVirtualOrderItemModel
- Returns:
true
if this commerce virtual order item is active;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setActivationStatus
public void setActivationStatus(int activationStatus) Sets the activation status of this commerce virtual order item.- Specified by:
setActivationStatus
in interfaceCommerceVirtualOrderItemModel
- Parameters:
activationStatus
- the activation status of this commerce virtual order item
-
setActive
public void setActive(boolean active) Sets whether this commerce virtual order item is active.- Specified by:
setActive
in interfaceCommerceVirtualOrderItemModel
- Parameters:
active
- the active of this commerce virtual order item
-
setCommerceOrderItemId
public void setCommerceOrderItemId(long commerceOrderItemId) Sets the commerce order item ID of this commerce virtual order item.- Specified by:
setCommerceOrderItemId
in interfaceCommerceVirtualOrderItemModel
- Parameters:
commerceOrderItemId
- the commerce order item ID of this commerce virtual order item
-
setCommerceVirtualOrderItemId
public void setCommerceVirtualOrderItemId(long commerceVirtualOrderItemId) Sets the commerce virtual order item ID of this commerce virtual order item.- Specified by:
setCommerceVirtualOrderItemId
in interfaceCommerceVirtualOrderItemModel
- Parameters:
commerceVirtualOrderItemId
- the commerce virtual order item ID of this commerce virtual order item
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce virtual order item.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceVirtualOrderItemModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this commerce virtual order item
-
setCreateDate
Sets the create date of this commerce virtual order item.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceVirtualOrderItemModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this commerce virtual order item
-
setDuration
public void setDuration(long duration) Sets the duration of this commerce virtual order item.- Specified by:
setDuration
in interfaceCommerceVirtualOrderItemModel
- Parameters:
duration
- the duration of this commerce virtual order item
-
setEndDate
Sets the end date of this commerce virtual order item.- Specified by:
setEndDate
in interfaceCommerceVirtualOrderItemModel
- Parameters:
endDate
- the end date of this commerce virtual order item
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this commerce virtual order item.- Specified by:
setGroupId
in interfaceCommerceVirtualOrderItemModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this commerce virtual order item
-
setMaxUsages
public void setMaxUsages(int maxUsages) Sets the max usages of this commerce virtual order item.- Specified by:
setMaxUsages
in interfaceCommerceVirtualOrderItemModel
- Parameters:
maxUsages
- the max usages of this commerce virtual order item
-
setModifiedDate
Sets the modified date of this commerce virtual order item.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceVirtualOrderItemModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this commerce virtual order item
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce virtual order item.- Specified by:
setMvccVersion
in interfaceCommerceVirtualOrderItemModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce virtual order item
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce virtual order item.- Specified by:
setPrimaryKey
in interfaceCommerceVirtualOrderItemModel
- Parameters:
primaryKey
- the primary key of this commerce virtual order item
-
setStartDate
Sets the start date of this commerce virtual order item.- Specified by:
setStartDate
in interfaceCommerceVirtualOrderItemModel
- Parameters:
startDate
- the start date of this commerce virtual order item
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce virtual order item.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceVirtualOrderItemModel
- Parameters:
userId
- the user ID of this commerce virtual order item
-
setUserName
Sets the user name of this commerce virtual order item.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceVirtualOrderItemModel
- Parameters:
userName
- the user name of this commerce virtual order item
-
setUserUuid
Sets the user uuid of this commerce virtual order item.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceVirtualOrderItemModel
- Parameters:
userUuid
- the user uuid of this commerce virtual order item
-
setUuid
Sets the uuid of this commerce virtual order item.- Specified by:
setUuid
in interfaceCommerceVirtualOrderItemModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce virtual order item
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceVirtualOrderItemModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceVirtualOrderItem>
-