Interface CommerceSubscriptionEntryModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommerceSubscriptionEntry>, 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:
CommerceSubscriptionEntry
All Known Implementing Classes:
CommerceSubscriptionEntryWrapper

@ProviderType public interface CommerceSubscriptionEntryModel extends com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>, 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 CommerceSubscriptionEntry service. Represents a row in the "CommerceSubscriptionEntry" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl 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.model.impl.CommerceSubscriptionEntryImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the commerce order item ID of this commerce subscription entry.
    long
    Returns the commerce subscription entry ID of this commerce subscription entry.
    long
    Returns the company ID of this commerce subscription entry.
    Returns the cp instance uuid of this commerce subscription entry.
    long
    Returns the c product ID of this commerce subscription entry.
    Returns the create date of this commerce subscription entry.
    long
    Returns the current cycle of this commerce subscription entry.
    long
    Returns the delivery current cycle of this commerce subscription entry.
    Returns the delivery last iteration date of this commerce subscription entry.
    long
    Returns the delivery max subscription cycles of this commerce subscription entry.
    Returns the delivery next iteration date of this commerce subscription entry.
    Returns the delivery start date of this commerce subscription entry.
    int
    Returns the delivery subscription length of this commerce subscription entry.
    int
    Returns the delivery subscription status of this commerce subscription entry.
    Returns the delivery subscription type of this commerce subscription entry.
    Returns the delivery subscription type settings of this commerce subscription entry.
    long
    Returns the group ID of this commerce subscription entry.
    Returns the last iteration date of this commerce subscription entry.
    long
    Returns the max subscription cycles of this commerce subscription entry.
    Returns the modified date of this commerce subscription entry.
    long
    Returns the mvcc version of this commerce subscription entry.
    Returns the next iteration date of this commerce subscription entry.
    long
    Returns the primary key of this commerce subscription entry.
    Returns the start date of this commerce subscription entry.
    int
    Returns the subscription length of this commerce subscription entry.
    int
    Returns the subscription status of this commerce subscription entry.
    Returns the subscription type of this commerce subscription entry.
    Returns the subscription type settings of this commerce subscription entry.
    long
    Returns the user ID of this commerce subscription entry.
    Returns the user name of this commerce subscription entry.
    Returns the user uuid of this commerce subscription entry.
    Returns the uuid of this commerce subscription entry.
    void
    setCommerceOrderItemId(long commerceOrderItemId)
    Sets the commerce order item ID of this commerce subscription entry.
    void
    setCommerceSubscriptionEntryId(long commerceSubscriptionEntryId)
    Sets the commerce subscription entry ID of this commerce subscription entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce subscription entry.
    void
    setCPInstanceUuid(String CPInstanceUuid)
    Sets the cp instance uuid of this commerce subscription entry.
    void
    setCProductId(long CProductId)
    Sets the c product ID of this commerce subscription entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce subscription entry.
    void
    setCurrentCycle(long currentCycle)
    Sets the current cycle of this commerce subscription entry.
    void
    setDeliveryCurrentCycle(long deliveryCurrentCycle)
    Sets the delivery current cycle of this commerce subscription entry.
    void
    setDeliveryLastIterationDate(Date deliveryLastIterationDate)
    Sets the delivery last iteration date of this commerce subscription entry.
    void
    setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles)
    Sets the delivery max subscription cycles of this commerce subscription entry.
    void
    setDeliveryNextIterationDate(Date deliveryNextIterationDate)
    Sets the delivery next iteration date of this commerce subscription entry.
    void
    setDeliveryStartDate(Date deliveryStartDate)
    Sets the delivery start date of this commerce subscription entry.
    void
    setDeliverySubscriptionLength(int deliverySubscriptionLength)
    Sets the delivery subscription length of this commerce subscription entry.
    void
    setDeliverySubscriptionStatus(int deliverySubscriptionStatus)
    Sets the delivery subscription status of this commerce subscription entry.
    void
    setDeliverySubscriptionType(String deliverySubscriptionType)
    Sets the delivery subscription type of this commerce subscription entry.
    void
    setDeliverySubscriptionTypeSettings(String deliverySubscriptionTypeSettings)
    Sets the delivery subscription type settings of this commerce subscription entry.
    void
    setGroupId(long groupId)
    Sets the group ID of this commerce subscription entry.
    void
    setLastIterationDate(Date lastIterationDate)
    Sets the last iteration date of this commerce subscription entry.
    void
    setMaxSubscriptionCycles(long maxSubscriptionCycles)
    Sets the max subscription cycles of this commerce subscription entry.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce subscription entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce subscription entry.
    void
    setNextIterationDate(Date nextIterationDate)
    Sets the next iteration date of this commerce subscription entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce subscription entry.
    void
    setStartDate(Date startDate)
    Sets the start date of this commerce subscription entry.
    void
    setSubscriptionLength(int subscriptionLength)
    Sets the subscription length of this commerce subscription entry.
    void
    setSubscriptionStatus(int subscriptionStatus)
    Sets the subscription status of this commerce subscription entry.
    void
    setSubscriptionType(String subscriptionType)
    Sets the subscription type of this commerce subscription entry.
    void
    setSubscriptionTypeSettings(String subscriptionTypeSettings)
    Sets the subscription type settings of this commerce subscription entry.
    void
    setUserId(long userId)
    Sets the user ID of this commerce subscription entry.
    void
    setUserName(String userName)
    Sets the user name of this commerce subscription entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce subscription entry.
    void
    Sets the uuid of this commerce subscription entry.
    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 subscription entry.
      Returns:
      the primary key of this commerce subscription entry
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce subscription entry.
      Parameters:
      primaryKey - the primary key of this commerce subscription entry
    • getMvccVersion

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

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

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

      void setUuid(String uuid)
      Sets the uuid of this commerce subscription entry.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce subscription entry
    • getCommerceSubscriptionEntryId

      long getCommerceSubscriptionEntryId()
      Returns the commerce subscription entry ID of this commerce subscription entry.
      Returns:
      the commerce subscription entry ID of this commerce subscription entry
    • setCommerceSubscriptionEntryId

      void setCommerceSubscriptionEntryId(long commerceSubscriptionEntryId)
      Sets the commerce subscription entry ID of this commerce subscription entry.
      Parameters:
      commerceSubscriptionEntryId - the commerce subscription entry ID of this commerce subscription entry
    • getGroupId

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

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

      long getCompanyId()
      Returns the company ID of this commerce subscription entry.
      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 subscription entry
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this commerce subscription entry.
      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 subscription entry
    • getUserId

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

      void setUserId(long userId)
      Sets the user ID of this commerce subscription entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this commerce subscription entry
    • getUserUuid

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

      void setUserUuid(String userUuid)
      Sets the user uuid of this commerce subscription entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this commerce subscription entry
    • getUserName

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

      void setUserName(String userName)
      Sets the user name of this commerce subscription entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this commerce subscription entry
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this commerce subscription entry.
      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 subscription entry
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this commerce subscription entry.
      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 subscription entry
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this commerce subscription entry.
      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 subscription entry
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce subscription entry.
      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 subscription entry
    • getCPInstanceUuid

      @AutoEscape String getCPInstanceUuid()
      Returns the cp instance uuid of this commerce subscription entry.
      Returns:
      the cp instance uuid of this commerce subscription entry
    • setCPInstanceUuid

      void setCPInstanceUuid(String CPInstanceUuid)
      Sets the cp instance uuid of this commerce subscription entry.
      Parameters:
      CPInstanceUuid - the cp instance uuid of this commerce subscription entry
    • getCProductId

      long getCProductId()
      Returns the c product ID of this commerce subscription entry.
      Returns:
      the c product ID of this commerce subscription entry
    • setCProductId

      void setCProductId(long CProductId)
      Sets the c product ID of this commerce subscription entry.
      Parameters:
      CProductId - the c product ID of this commerce subscription entry
    • getCommerceOrderItemId

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

      void setCommerceOrderItemId(long commerceOrderItemId)
      Sets the commerce order item ID of this commerce subscription entry.
      Parameters:
      commerceOrderItemId - the commerce order item ID of this commerce subscription entry
    • getSubscriptionLength

      int getSubscriptionLength()
      Returns the subscription length of this commerce subscription entry.
      Returns:
      the subscription length of this commerce subscription entry
    • setSubscriptionLength

      void setSubscriptionLength(int subscriptionLength)
      Sets the subscription length of this commerce subscription entry.
      Parameters:
      subscriptionLength - the subscription length of this commerce subscription entry
    • getSubscriptionType

      @AutoEscape String getSubscriptionType()
      Returns the subscription type of this commerce subscription entry.
      Returns:
      the subscription type of this commerce subscription entry
    • setSubscriptionType

      void setSubscriptionType(String subscriptionType)
      Sets the subscription type of this commerce subscription entry.
      Parameters:
      subscriptionType - the subscription type of this commerce subscription entry
    • getSubscriptionTypeSettings

      @AutoEscape String getSubscriptionTypeSettings()
      Returns the subscription type settings of this commerce subscription entry.
      Returns:
      the subscription type settings of this commerce subscription entry
    • setSubscriptionTypeSettings

      void setSubscriptionTypeSettings(String subscriptionTypeSettings)
      Sets the subscription type settings of this commerce subscription entry.
      Parameters:
      subscriptionTypeSettings - the subscription type settings of this commerce subscription entry
    • getCurrentCycle

      long getCurrentCycle()
      Returns the current cycle of this commerce subscription entry.
      Returns:
      the current cycle of this commerce subscription entry
    • setCurrentCycle

      void setCurrentCycle(long currentCycle)
      Sets the current cycle of this commerce subscription entry.
      Parameters:
      currentCycle - the current cycle of this commerce subscription entry
    • getMaxSubscriptionCycles

      long getMaxSubscriptionCycles()
      Returns the max subscription cycles of this commerce subscription entry.
      Returns:
      the max subscription cycles of this commerce subscription entry
    • setMaxSubscriptionCycles

      void setMaxSubscriptionCycles(long maxSubscriptionCycles)
      Sets the max subscription cycles of this commerce subscription entry.
      Parameters:
      maxSubscriptionCycles - the max subscription cycles of this commerce subscription entry
    • getSubscriptionStatus

      int getSubscriptionStatus()
      Returns the subscription status of this commerce subscription entry.
      Returns:
      the subscription status of this commerce subscription entry
    • setSubscriptionStatus

      void setSubscriptionStatus(int subscriptionStatus)
      Sets the subscription status of this commerce subscription entry.
      Parameters:
      subscriptionStatus - the subscription status of this commerce subscription entry
    • getLastIterationDate

      Date getLastIterationDate()
      Returns the last iteration date of this commerce subscription entry.
      Returns:
      the last iteration date of this commerce subscription entry
    • setLastIterationDate

      void setLastIterationDate(Date lastIterationDate)
      Sets the last iteration date of this commerce subscription entry.
      Parameters:
      lastIterationDate - the last iteration date of this commerce subscription entry
    • getNextIterationDate

      Date getNextIterationDate()
      Returns the next iteration date of this commerce subscription entry.
      Returns:
      the next iteration date of this commerce subscription entry
    • setNextIterationDate

      void setNextIterationDate(Date nextIterationDate)
      Sets the next iteration date of this commerce subscription entry.
      Parameters:
      nextIterationDate - the next iteration date of this commerce subscription entry
    • getStartDate

      Date getStartDate()
      Returns the start date of this commerce subscription entry.
      Returns:
      the start date of this commerce subscription entry
    • setStartDate

      void setStartDate(Date startDate)
      Sets the start date of this commerce subscription entry.
      Parameters:
      startDate - the start date of this commerce subscription entry
    • getDeliverySubscriptionLength

      int getDeliverySubscriptionLength()
      Returns the delivery subscription length of this commerce subscription entry.
      Returns:
      the delivery subscription length of this commerce subscription entry
    • setDeliverySubscriptionLength

      void setDeliverySubscriptionLength(int deliverySubscriptionLength)
      Sets the delivery subscription length of this commerce subscription entry.
      Parameters:
      deliverySubscriptionLength - the delivery subscription length of this commerce subscription entry
    • getDeliverySubscriptionType

      @AutoEscape String getDeliverySubscriptionType()
      Returns the delivery subscription type of this commerce subscription entry.
      Returns:
      the delivery subscription type of this commerce subscription entry
    • setDeliverySubscriptionType

      void setDeliverySubscriptionType(String deliverySubscriptionType)
      Sets the delivery subscription type of this commerce subscription entry.
      Parameters:
      deliverySubscriptionType - the delivery subscription type of this commerce subscription entry
    • getDeliverySubscriptionTypeSettings

      @AutoEscape String getDeliverySubscriptionTypeSettings()
      Returns the delivery subscription type settings of this commerce subscription entry.
      Returns:
      the delivery subscription type settings of this commerce subscription entry
    • setDeliverySubscriptionTypeSettings

      void setDeliverySubscriptionTypeSettings(String deliverySubscriptionTypeSettings)
      Sets the delivery subscription type settings of this commerce subscription entry.
      Parameters:
      deliverySubscriptionTypeSettings - the delivery subscription type settings of this commerce subscription entry
    • getDeliveryCurrentCycle

      long getDeliveryCurrentCycle()
      Returns the delivery current cycle of this commerce subscription entry.
      Returns:
      the delivery current cycle of this commerce subscription entry
    • setDeliveryCurrentCycle

      void setDeliveryCurrentCycle(long deliveryCurrentCycle)
      Sets the delivery current cycle of this commerce subscription entry.
      Parameters:
      deliveryCurrentCycle - the delivery current cycle of this commerce subscription entry
    • getDeliveryMaxSubscriptionCycles

      long getDeliveryMaxSubscriptionCycles()
      Returns the delivery max subscription cycles of this commerce subscription entry.
      Returns:
      the delivery max subscription cycles of this commerce subscription entry
    • setDeliveryMaxSubscriptionCycles

      void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles)
      Sets the delivery max subscription cycles of this commerce subscription entry.
      Parameters:
      deliveryMaxSubscriptionCycles - the delivery max subscription cycles of this commerce subscription entry
    • getDeliverySubscriptionStatus

      int getDeliverySubscriptionStatus()
      Returns the delivery subscription status of this commerce subscription entry.
      Returns:
      the delivery subscription status of this commerce subscription entry
    • setDeliverySubscriptionStatus

      void setDeliverySubscriptionStatus(int deliverySubscriptionStatus)
      Sets the delivery subscription status of this commerce subscription entry.
      Parameters:
      deliverySubscriptionStatus - the delivery subscription status of this commerce subscription entry
    • getDeliveryLastIterationDate

      Date getDeliveryLastIterationDate()
      Returns the delivery last iteration date of this commerce subscription entry.
      Returns:
      the delivery last iteration date of this commerce subscription entry
    • setDeliveryLastIterationDate

      void setDeliveryLastIterationDate(Date deliveryLastIterationDate)
      Sets the delivery last iteration date of this commerce subscription entry.
      Parameters:
      deliveryLastIterationDate - the delivery last iteration date of this commerce subscription entry
    • getDeliveryNextIterationDate

      Date getDeliveryNextIterationDate()
      Returns the delivery next iteration date of this commerce subscription entry.
      Returns:
      the delivery next iteration date of this commerce subscription entry
    • setDeliveryNextIterationDate

      void setDeliveryNextIterationDate(Date deliveryNextIterationDate)
      Sets the delivery next iteration date of this commerce subscription entry.
      Parameters:
      deliveryNextIterationDate - the delivery next iteration date of this commerce subscription entry
    • getDeliveryStartDate

      Date getDeliveryStartDate()
      Returns the delivery start date of this commerce subscription entry.
      Returns:
      the delivery start date of this commerce subscription entry
    • setDeliveryStartDate

      void setDeliveryStartDate(Date deliveryStartDate)
      Sets the delivery start date of this commerce subscription entry.
      Parameters:
      deliveryStartDate - the delivery start date of this commerce subscription entry
    • cloneWithOriginalValues

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

      default String toXmlString()