Interface SubscriptionModel

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<Subscription>, ClassedModel, Cloneable, Comparable<Subscription>, GroupedModel, MVCCModel, Serializable, ShardedModel, TypedModel
All Known Subinterfaces:
Subscription
All Known Implementing Classes:
SubscriptionWrapper

@Deprecated @ProviderType public interface SubscriptionModel extends AttachedModel, BaseModel<Subscription>, GroupedModel, MVCCModel, ShardedModel
Deprecated.
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.portal.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.portal.model.impl.SubscriptionImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Deprecated.
      Returns the primary key of this subscription.
      Returns:
      the primary key of this subscription
    • setPrimaryKey

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

      long getMvccVersion()
      Deprecated.
      Returns the mvcc version of this subscription.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this subscription
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Deprecated.
      Sets the mvcc version of this subscription.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this subscription
    • getSubscriptionId

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

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

      long getGroupId()
      Deprecated.
      Returns the group ID of this subscription.
      Specified by:
      getGroupId in interface GroupedModel
      Returns:
      the group ID of this subscription
    • setGroupId

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

      long getCompanyId()
      Deprecated.
      Returns the company ID of this subscription.
      Specified by:
      getCompanyId in interface AuditedModel
      Specified by:
      getCompanyId in interface ShardedModel
      Returns:
      the company ID of this subscription
    • setCompanyId

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

      long getUserId()
      Deprecated.
      Returns the user ID of this subscription.
      Specified by:
      getUserId in interface AuditedModel
      Returns:
      the user ID of this subscription
    • setUserId

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

      String getUserUuid()
      Deprecated.
      Returns the user uuid of this subscription.
      Specified by:
      getUserUuid in interface AuditedModel
      Returns:
      the user uuid of this subscription
    • setUserUuid

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

      @AutoEscape String getUserName()
      Deprecated.
      Returns the user name of this subscription.
      Specified by:
      getUserName in interface AuditedModel
      Returns:
      the user name of this subscription
    • setUserName

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

      Date getCreateDate()
      Deprecated.
      Returns the create date of this subscription.
      Specified by:
      getCreateDate in interface AuditedModel
      Returns:
      the create date of this subscription
    • setCreateDate

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

      Date getModifiedDate()
      Deprecated.
      Returns the modified date of this subscription.
      Specified by:
      getModifiedDate in interface AuditedModel
      Returns:
      the modified date of this subscription
    • setModifiedDate

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

      String getClassName()
      Deprecated.
      Returns the fully qualified class name of this subscription.
      Specified by:
      getClassName in interface TypedModel
      Returns:
      the fully qualified class name of this subscription
    • setClassName

      void setClassName(String className)
      Deprecated.
    • getClassNameId

      long getClassNameId()
      Deprecated.
      Returns the class name ID of this subscription.
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this subscription
    • setClassNameId

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

      long getClassPK()
      Deprecated.
      Returns the class pk of this subscription.
      Specified by:
      getClassPK in interface AttachedModel
      Returns:
      the class pk of this subscription
    • setClassPK

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

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

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

      Subscription cloneWithOriginalValues()
      Deprecated.
      Specified by:
      cloneWithOriginalValues in interface BaseModel<Subscription>
    • toXmlString

      default String toXmlString()
      Deprecated.