Class SendNotificationUtil

java.lang.Object
com.skava.helper.SendNotificationUtil

public final class SendNotificationUtil extends Object
Author:
Infosys Equinox
  • Method Details

    • getNotificationProcessorName

      public static NotifyStrategy getNotificationProcessorName(String defaultNotificationProcessorClass, org.springframework.context.MessageSource messageSource, org.springframework.web.client.RestTemplate restTemplateComponent, AppCommonServices appCommonServices)
      getNotificationProcessorName - Used to get the className which should be executed.
      Parameters:
      defaultNotificationProcessorClass - the default Notification Processor Class name which should be called.
      authTokenHandler -
      appMarketPlaceServices -
      appMarketPlace -
      Returns:
      the NotifyStrategy class.
    • encryptAndLog

      public static void encryptAndLog(String message)
    • notifyUsingNotificationProcessorName

      public static void notifyUsingNotificationProcessorName(Notification notificationInfo, ActionEntity actionEntity, CollectionPropertyEntity collectionPropertyEntity, org.springframework.context.MessageSource messageSource, org.springframework.web.client.RestTemplate restTemplateComponent, AppCommonServices appCommonServices) throws IOException
      notifyUsingNotificationProcessorName - Executes a particular class according to the value given in the collection property.
      Parameters:
      notificationInfo - the Notification object which consists of the recipients for which
      actionEntity - the ActionEntity object.
      collectionPropertyEntity - the CollectionPropertyEntity object.
      authTokenHandler -
      appMarketPlaceServices -
      appMarketPlace -
      Throws:
      IOException