Interface SubscriptionEmailNotificationService

All Known Implementing Classes:
SubscriptionEmailNotificationServiceImpl

public interface SubscriptionEmailNotificationService
Service interface class for the subscription e-mail notification services
Author:
Mykhaylo Boychuk (mykhaylo.boychuk@4science.com)
  • Method Details

    • perform

      void perform(Context context, DSpaceRunnableHandler handler, String subscriptionType, String frequency)
      Performs sending of e-mails to subscribers by frequency value and SubscriptionType
      Parameters:
      context - DSpace context object
      handler - Applicable DSpaceRunnableHandler
      subscriptionType - Currently supported only "content"
      frequency - Valid values include: D (Day), W (Week) and M (Month)
    • getSupportedSubscriptionTypes

      Set<String> getSupportedSubscriptionTypes()
      returns a set of supported SubscriptionTypes