Interface CommerceVirtualOrderItemModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceVirtualOrderItem>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommerceVirtualOrderItem>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel
All Known Subinterfaces:
CommerceVirtualOrderItem
All Known Implementing Classes:
CommerceVirtualOrderItemWrapper

@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
The base model interface for the CommerceVirtualOrderItem service. Represents a row in the "CommerceVirtualOrderItem" database table, with each column mapped to a property of this class.

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.

See Also:
Generated:
  • 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.
    long
    Returns the commerce order item ID of this commerce virtual order item.
    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.
    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
    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
    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.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this commerce virtual order item.
      Returns:
      the primary key of this commerce virtual order item
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce virtual order item.
      Parameters:
      primaryKey - the primary key of this commerce virtual order item
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this commerce virtual order item.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce virtual order item
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce virtual order item.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce virtual order item
    • getUuid

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

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

      long getCommerceVirtualOrderItemId()
      Returns the commerce virtual order item ID of this commerce virtual order item.
      Returns:
      the commerce virtual order item ID of this commerce virtual order item
    • setCommerceVirtualOrderItemId

      void setCommerceVirtualOrderItemId(long commerceVirtualOrderItemId)
      Sets the commerce virtual order item ID of this commerce virtual order item.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID of this commerce virtual order item
    • getGroupId

      long getGroupId()
      Returns the group ID of this commerce virtual order item.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce virtual order item
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this commerce virtual order item.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce virtual order item
    • getCompanyId

      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 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
    • setCompanyId

      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 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
    • getUserId

      long getUserId()
      Returns the user ID of this commerce virtual order item.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this commerce virtual order item
    • setUserId

      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
      Parameters:
      userId - the user ID of this commerce virtual order item
    • getUserUuid

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

      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
      Parameters:
      userUuid - the user uuid of this commerce virtual order item
    • getUserName

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

      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
      Parameters:
      userName - the user name of this commerce virtual order item
    • getCreateDate

      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 com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce virtual order item
    • setCreateDate

      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 com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce virtual order item
    • getModifiedDate

      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 com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce virtual order item
    • setModifiedDate

      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 com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce virtual order item
    • getCommerceOrderItemId

      long getCommerceOrderItemId()
      Returns the commerce order item ID of this commerce virtual order item.
      Returns:
      the commerce order item ID of this commerce virtual order item
    • setCommerceOrderItemId

      void setCommerceOrderItemId(long commerceOrderItemId)
      Sets the commerce order item ID of this commerce virtual order item.
      Parameters:
      commerceOrderItemId - the commerce order item ID of this commerce virtual order item
    • getActivationStatus

      int getActivationStatus()
      Returns the activation status of this commerce virtual order item.
      Returns:
      the activation status of this commerce virtual order item
    • setActivationStatus

      void setActivationStatus(int activationStatus)
      Sets the activation status of this commerce virtual order item.
      Parameters:
      activationStatus - the activation status of this commerce virtual order item
    • getDuration

      long getDuration()
      Returns the duration of this commerce virtual order item.
      Returns:
      the duration of this commerce virtual order item
    • setDuration

      void setDuration(long duration)
      Sets the duration of this commerce virtual order item.
      Parameters:
      duration - the duration of this commerce virtual order item
    • getMaxUsages

      int getMaxUsages()
      Returns the max usages of this commerce virtual order item.
      Returns:
      the max usages of this commerce virtual order item
    • setMaxUsages

      void setMaxUsages(int maxUsages)
      Sets the max usages of this commerce virtual order item.
      Parameters:
      maxUsages - the max usages of this commerce virtual order item
    • getActive

      boolean getActive()
      Returns the active of this commerce virtual order item.
      Returns:
      the active of this commerce virtual order item
    • isActive

      boolean isActive()
      Returns true if this commerce virtual order item is active.
      Returns:
      true if this commerce virtual order item is active; false otherwise
    • setActive

      void setActive(boolean active)
      Sets whether this commerce virtual order item is active.
      Parameters:
      active - the active of this commerce virtual order item
    • getStartDate

      Date getStartDate()
      Returns the start date of this commerce virtual order item.
      Returns:
      the start date of this commerce virtual order item
    • setStartDate

      void setStartDate(Date startDate)
      Sets the start date of this commerce virtual order item.
      Parameters:
      startDate - the start date of this commerce virtual order item
    • getEndDate

      Date getEndDate()
      Returns the end date of this commerce virtual order item.
      Returns:
      the end date of this commerce virtual order item
    • setEndDate

      void setEndDate(Date endDate)
      Sets the end date of this commerce virtual order item.
      Parameters:
      endDate - the end date of this commerce virtual order item
    • cloneWithOriginalValues

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

      default String toXmlString()