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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
    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.
    Returns the uuid of this commerce virtual order item.
    boolean
    Returns true if this commerce virtual order item is active.
    void
     
    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
     
    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.
     
    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

      public CommerceVirtualOrderItemWrapper(CommerceVirtualOrderItem commerceVirtualOrderItem)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
    • cloneWithOriginalValues

      public CommerceVirtualOrderItem cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>
      Specified by:
      cloneWithOriginalValues in interface CommerceVirtualOrderItemModel
    • getActivationStatus

      public int getActivationStatus()
      Returns the activation status of this commerce virtual order item.
      Specified by:
      getActivationStatus in interface CommerceVirtualOrderItemModel
      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 interface CommerceVirtualOrderItemModel
      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 interface CommerceVirtualOrderItem
      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 interface CommerceVirtualOrderItemModel
      Returns:
      the commerce order item ID of this commerce virtual order item
    • getCommerceVirtualOrderItemFileEntries

      public List<CommerceVirtualOrderItemFileEntry> getCommerceVirtualOrderItemFileEntries()
      Specified by:
      getCommerceVirtualOrderItemFileEntries in interface CommerceVirtualOrderItem
    • getCommerceVirtualOrderItemFileEntriesCount

      public int getCommerceVirtualOrderItemFileEntriesCount()
      Specified by:
      getCommerceVirtualOrderItemFileEntriesCount in interface CommerceVirtualOrderItem
    • getCommerceVirtualOrderItemFileEntry

      public CommerceVirtualOrderItemFileEntry getCommerceVirtualOrderItemFileEntry(long commerceVirtualOrderItemFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceVirtualOrderItemFileEntry in interface CommerceVirtualOrderItem
      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 interface CommerceVirtualOrderItemModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceVirtualOrderItemModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this commerce virtual order item
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce virtual order item.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceVirtualOrderItemModel
      Specified by:
      getCreateDate in interface com.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 interface CommerceVirtualOrderItemModel
      Returns:
      the duration of this commerce virtual order item
    • getEndDate

      public Date getEndDate()
      Returns the end date of this commerce virtual order item.
      Specified by:
      getEndDate in interface CommerceVirtualOrderItemModel
      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 interface CommerceVirtualOrderItemModel
      Specified by:
      getGroupId in interface com.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 interface CommerceVirtualOrderItemModel
      Returns:
      the max usages of this commerce virtual order item
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce virtual order item.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceVirtualOrderItemModel
      Specified by:
      getModifiedDate in interface com.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 interface CommerceVirtualOrderItemModel
      Specified by:
      getMvccVersion in interface com.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 interface CommerceVirtualOrderItemModel
      Returns:
      the primary key of this commerce virtual order item
    • getStartDate

      public Date getStartDate()
      Returns the start date of this commerce virtual order item.
      Specified by:
      getStartDate in interface CommerceVirtualOrderItemModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceVirtualOrderItemModel
      Returns:
      the user ID of this commerce virtual order item
    • getUserName

      public String getUserName()
      Returns the user name of this commerce virtual order item.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommerceVirtualOrderItemModel
      Returns:
      the user name of this commerce virtual order item
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce virtual order item.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceVirtualOrderItemModel
      Returns:
      the user uuid of this commerce virtual order item
    • getUuid

      public String getUuid()
      Returns the uuid of this commerce virtual order item.
      Specified by:
      getUuid in interface CommerceVirtualOrderItemModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce virtual order item
    • isActive

      public boolean isActive()
      Returns true if this commerce virtual order item is active.
      Specified by:
      isActive in interface CommerceVirtualOrderItemModel
      Returns:
      true if this commerce virtual order item is active; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.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 interface CommerceVirtualOrderItemModel
      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 interface CommerceVirtualOrderItemModel
      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 interface CommerceVirtualOrderItemModel
      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 interface CommerceVirtualOrderItemModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceVirtualOrderItemModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this commerce virtual order item
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce virtual order item.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceVirtualOrderItemModel
      Specified by:
      setCreateDate in interface com.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 interface CommerceVirtualOrderItemModel
      Parameters:
      duration - the duration of this commerce virtual order item
    • setEndDate

      public void setEndDate(Date endDate)
      Sets the end date of this commerce virtual order item.
      Specified by:
      setEndDate in interface CommerceVirtualOrderItemModel
      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 interface CommerceVirtualOrderItemModel
      Specified by:
      setGroupId in interface com.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 interface CommerceVirtualOrderItemModel
      Parameters:
      maxUsages - the max usages of this commerce virtual order item
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce virtual order item.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceVirtualOrderItemModel
      Specified by:
      setModifiedDate in interface com.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 interface CommerceVirtualOrderItemModel
      Specified by:
      setMvccVersion in interface com.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 interface CommerceVirtualOrderItemModel
      Parameters:
      primaryKey - the primary key of this commerce virtual order item
    • setStartDate

      public void setStartDate(Date startDate)
      Sets the start date of this commerce virtual order item.
      Specified by:
      setStartDate in interface CommerceVirtualOrderItemModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CommerceVirtualOrderItemModel
      Parameters:
      userId - the user ID of this commerce virtual order item
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this commerce virtual order item.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface CommerceVirtualOrderItemModel
      Parameters:
      userName - the user name of this commerce virtual order item
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this commerce virtual order item.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CommerceVirtualOrderItemModel
      Parameters:
      userUuid - the user uuid of this commerce virtual order item
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this commerce virtual order item.
      Specified by:
      setUuid in interface CommerceVirtualOrderItemModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce virtual order item
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceVirtualOrderItemModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CommerceVirtualOrderItemWrapper wrap(CommerceVirtualOrderItem commerceVirtualOrderItem)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceVirtualOrderItem>