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
modelFields 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 TypeMethodDescriptionintReturns the activation status of this commerce virtual order item.booleanReturns the active of this commerce virtual order item.com.liferay.commerce.model.CommerceOrderItemlongReturns the commerce order item ID of this commerce virtual order item.intgetCommerceVirtualOrderItemFileEntry(long commerceVirtualOrderItemFileEntryId) 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.com.liferay.exportimport.kernel.lar.StagedModelTypeReturns 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.voidpersist()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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected CommerceVirtualOrderItemWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, 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.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceVirtualOrderItemWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>- Specified by:
cloneWithOriginalValuesin interfaceCommerceVirtualOrderItemModel
-
getActivationStatus
public int getActivationStatus()Returns the activation status of this commerce virtual order item.- Specified by:
getActivationStatusin 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:
getActivein 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:
getCommerceOrderItemin 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:
getCommerceOrderItemIdin interfaceCommerceVirtualOrderItemModel- Returns:
- the commerce order item ID of this commerce virtual order item
-
getCommerceVirtualOrderItemFileEntries
- Specified by:
getCommerceVirtualOrderItemFileEntriesin interfaceCommerceVirtualOrderItem
-
getCommerceVirtualOrderItemFileEntriesCount
public int getCommerceVirtualOrderItemFileEntriesCount()- Specified by:
getCommerceVirtualOrderItemFileEntriesCountin interfaceCommerceVirtualOrderItem
-
getCommerceVirtualOrderItemFileEntry
public CommerceVirtualOrderItemFileEntry getCommerceVirtualOrderItemFileEntry(long commerceVirtualOrderItemFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceVirtualOrderItemFileEntryin 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:
getCommerceVirtualOrderItemIdin 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:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCommerceVirtualOrderItemModel- 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
-
getCreateDate
Returns the create date of this commerce virtual order item.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCommerceVirtualOrderItemModel- Specified by:
getCreateDatein 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:
getDurationin interfaceCommerceVirtualOrderItemModel- Returns:
- the duration of this commerce virtual order item
-
getEndDate
Returns the end date of this commerce virtual order item.- Specified by:
getEndDatein 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:
getGroupIdin interfaceCommerceVirtualOrderItemModel- Specified by:
getGroupIdin 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:
getMaxUsagesin interfaceCommerceVirtualOrderItemModel- Returns:
- the max usages of this commerce virtual order item
-
getModifiedDate
Returns the modified date of this commerce virtual order item.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCommerceVirtualOrderItemModel- Specified by:
getModifiedDatein 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:
getMvccVersionin interfaceCommerceVirtualOrderItemModel- Specified by:
getMvccVersionin 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:
getPrimaryKeyin interfaceCommerceVirtualOrderItemModel- Returns:
- the primary key of this commerce virtual order item
-
getStartDate
Returns the start date of this commerce virtual order item.- Specified by:
getStartDatein 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:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCommerceVirtualOrderItemModel- Returns:
- the user ID 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- Specified by:
getUserNamein interfaceCommerceVirtualOrderItemModel- Returns:
- the user name of this commerce virtual order item
-
getUserUuid
Returns the user uuid of this commerce virtual order item.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCommerceVirtualOrderItemModel- Returns:
- the user uuid of this commerce virtual order item
-
getUuid
Returns the uuid of this commerce virtual order item.- Specified by:
getUuidin interfaceCommerceVirtualOrderItemModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this commerce virtual order item
-
isActive
public boolean isActive()Returnstrueif this commerce virtual order item is active.- Specified by:
isActivein interfaceCommerceVirtualOrderItemModel- Returns:
trueif this commerce virtual order item is active;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setActivationStatus
public void setActivationStatus(int activationStatus) Sets the activation status of this commerce virtual order item.- Specified by:
setActivationStatusin 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:
setActivein 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:
setCommerceOrderItemIdin 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:
setCommerceVirtualOrderItemIdin 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCommerceVirtualOrderItemModel- 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
-
setCreateDate
Sets the create date of this commerce virtual order item.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCommerceVirtualOrderItemModel- Specified by:
setCreateDatein 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:
setDurationin interfaceCommerceVirtualOrderItemModel- Parameters:
duration- the duration of this commerce virtual order item
-
setEndDate
Sets the end date of this commerce virtual order item.- Specified by:
setEndDatein 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:
setGroupIdin interfaceCommerceVirtualOrderItemModel- Specified by:
setGroupIdin 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:
setMaxUsagesin 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:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCommerceVirtualOrderItemModel- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceCommerceVirtualOrderItemModel- Specified by:
setMvccVersionin 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:
setPrimaryKeyin 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:
setStartDatein 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:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin 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:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein 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:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCommerceVirtualOrderItemModel- Parameters:
userUuid- the user uuid of this commerce virtual order item
-
setUuid
Sets the uuid of this commerce virtual order item.- Specified by:
setUuidin interfaceCommerceVirtualOrderItemModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this commerce virtual order item
-
toXmlString
- Specified by:
toXmlStringin interfaceCommerceVirtualOrderItemModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceVirtualOrderItem>
-