Class Subscription


  • public class Subscription
    extends java.lang.Object
    Since:
    4.0.8
    Version:
    $Revision: 16382 $ $Date: 2014-08-01 19:13:32 -0300 (Fri, 01 Aug 2014) $
    • Constructor Summary

      Constructors 
      Constructor Description
      Subscription()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<Category> getCategories()
      Returns the categories.
      java.lang.String getEmail()
      Returns the email for this subscription.
      int getEmailFormat()
      Returns the emailFormat.
      java.lang.String getId()
      Returns the id.
      java.lang.String getLocale()  
      java.lang.String getUserId()
      Returns the userId.
      void setCategories​(java.util.Collection<Category> categories)
      Sets the categories.
      void setEmail​(java.lang.String email)
      Sets the email.
      void setEmailFormat​(int emailFormat)
      Sets the emailFormat.
      void setId​(java.lang.String id)
      Sets the id.
      void setLocale​(java.lang.String locale)  
      void setUserId​(java.lang.String userId)
      Sets the userId.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Subscription

        public Subscription()
    • Method Detail

      • getEmailFormat

        public int getEmailFormat()
        Returns the emailFormat.
        Returns:
        the emailFormat
        Since:
        4.0.8
      • setEmailFormat

        public void setEmailFormat​(int emailFormat)
        Sets the emailFormat.
        Parameters:
        emailFormat - the emailFormat value to set
        Since:
        4.0.8
      • getLocale

        public java.lang.String getLocale()
      • setLocale

        public void setLocale​(java.lang.String locale)
      • getId

        public java.lang.String getId()
        Returns the id.
        Returns:
        the id
        Since:
        4.0.8
      • setId

        public void setId​(java.lang.String id)
        Sets the id.
        Parameters:
        id - the id value to set
        Since:
        4.0.8
      • getUserId

        public java.lang.String getUserId()
        Returns the userId. Either this or getEmail() must be defined.
        Returns:
        the userId, or null if not specified.
        Since:
        4.0.8
      • setUserId

        public void setUserId​(java.lang.String userId)
        Sets the userId.
        Parameters:
        userId - the userId value to set
        Since:
        4.0.8
        See Also:
        getUserId()
      • getCategories

        public java.util.Collection<Category> getCategories()
        Returns the categories.
        Returns:
        the categories
        Since:
        4.0.8
      • setCategories

        public void setCategories​(java.util.Collection<Category> categories)
        Sets the categories.
        Parameters:
        categories - the categories value to set
        Since:
        4.0.8
      • getEmail

        public java.lang.String getEmail()
        Returns the email for this subscription. Either this or getUserId() must be specified.
        Returns:
        the email, or null if not specified.
        Since:
        4.0.9
      • setEmail

        public void setEmail​(java.lang.String email)
        Sets the email.
        Parameters:
        email - the email value to set.
        Since:
        4.0.9
        See Also:
        getEmail()