Interface ISubscriptionDao

  • All Known Implementing Classes:
    SubscriptionDaoHib

    public interface ISubscriptionDao
    Since:
    4.0.8
    Version:
    $Revision: 16382 $ $Date: 2014-08-01 19:13:32 -0300 (Fri, 01 Aug 2014) $
    • Method Detail

      • getByEmailFormat

        java.util.Collection<java.lang.String> getByEmailFormat​(java.lang.String serviceInstanceId,
                                                                int emailFormat,
                                                                java.util.Locale locale,
                                                                ITransaction transaction)
                                                         throws PortalException
        Parameters:
        serviceInstanceId -
        emailFormat -
        transaction -
        Returns:
        Throws:
        PortalException
        Since:
        4.0.8
      • getCategoriesBySubscriptionId

        java.util.Collection<java.lang.String> getCategoriesBySubscriptionId​(java.lang.String subscriptionId,
                                                                             ITransaction transaction)
                                                                      throws PortalException
        Parameters:
        subscriptionId -
        transaction -
        Returns:
        Throws:
        PortalException
        Since:
        4.0.8
      • getIdsByServiceInstanceAndEmail

        java.util.Collection<java.lang.String> getIdsByServiceInstanceAndEmail​(java.lang.String serviceInstanceId,
                                                                               java.lang.String email,
                                                                               java.util.Locale locale,
                                                                               ITransaction transaction)
                                                                        throws PortalException
        Returns the ids of the subscriptions for the given email in the specified service instance id.
        Parameters:
        serviceInstanceId - the service instance id.
        email - the email.
        transaction - the transaction for persistence access.
        Returns:
        a collection of subscription ids, or an empty collection if none was found.
        Throws:
        PortalException
        Since:
        4.0.9