Interface SubscriptionModel

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<Subscription>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<Subscription>, com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel
All Known Subinterfaces:
Subscription
All Known Implementing Classes:
SubscriptionWrapper

@ProviderType public interface SubscriptionModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<Subscription>, com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the Subscription service. Represents a row in the "Subscription" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.subscription.model.impl.SubscriptionModelImpl 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.subscription.model.impl.SubscriptionImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the fully qualified class name of this subscription.
    long
    Returns the class name ID of this subscription.
    long
    Returns the class pk of this subscription.
    long
    Returns the company ID of this subscription.
    Returns the create date of this subscription.
    long
    Returns the ct collection ID of this subscription.
    Returns the frequency of this subscription.
    long
    Returns the group ID of this subscription.
    Returns the modified date of this subscription.
    long
    Returns the mvcc version of this subscription.
    long
    Returns the primary key of this subscription.
    long
    Returns the subscription ID of this subscription.
    long
    Returns the user ID of this subscription.
    Returns the user name of this subscription.
    Returns the user uuid of this subscription.
    void
    setClassName(String className)
     
    void
    setClassNameId(long classNameId)
    Sets the class name ID of this subscription.
    void
    setClassPK(long classPK)
    Sets the class pk of this subscription.
    void
    setCompanyId(long companyId)
    Sets the company ID of this subscription.
    void
    setCreateDate(Date createDate)
    Sets the create date of this subscription.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this subscription.
    void
    setFrequency(String frequency)
    Sets the frequency of this subscription.
    void
    setGroupId(long groupId)
    Sets the group ID of this subscription.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this subscription.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this subscription.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this subscription.
    void
    setSubscriptionId(long subscriptionId)
    Sets the subscription ID of this subscription.
    void
    setUserId(long userId)
    Sets the user ID of this subscription.
    void
    setUserName(String userName)
    Sets the user name of this subscription.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this subscription.
    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
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this subscription.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>
      Returns:
      the primary key of this subscription
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this subscription.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>
      Parameters:
      primaryKey - the primary key of this subscription
    • getMvccVersion

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

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

      long getCtCollectionId()
      Returns the ct collection ID of this subscription.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>
      Returns:
      the ct collection ID of this subscription
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this subscription.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>
      Parameters:
      ctCollectionId - the ct collection ID of this subscription
    • getSubscriptionId

      long getSubscriptionId()
      Returns the subscription ID of this subscription.
      Returns:
      the subscription ID of this subscription
    • setSubscriptionId

      void setSubscriptionId(long subscriptionId)
      Sets the subscription ID of this subscription.
      Parameters:
      subscriptionId - the subscription ID of this subscription
    • getGroupId

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

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

      long getCompanyId()
      Returns the company ID of this subscription.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this subscription
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this subscription.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this subscription
    • getUserId

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

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

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

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

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

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

      Date getCreateDate()
      Returns the create date of this subscription.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the create date of this subscription
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this subscription.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      createDate - the create date of this subscription
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this subscription.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the modified date of this subscription
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this subscription.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      modifiedDate - the modified date of this subscription
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this subscription.
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this subscription
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this subscription.
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this subscription
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this subscription.
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this subscription
    • getClassPK

      long getClassPK()
      Returns the class pk of this subscription.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Returns:
      the class pk of this subscription
    • setClassPK

      void setClassPK(long classPK)
      Sets the class pk of this subscription.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Parameters:
      classPK - the class pk of this subscription
    • getFrequency

      @AutoEscape String getFrequency()
      Returns the frequency of this subscription.
      Returns:
      the frequency of this subscription
    • setFrequency

      void setFrequency(String frequency)
      Sets the frequency of this subscription.
      Parameters:
      frequency - the frequency of this subscription
    • cloneWithOriginalValues

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

      default String toXmlString()