Interface IMarkerProvider


public interface IMarkerProvider
This interface represents a provider of NotifyGru markers
  • Method Details

    • getId

      String getId()

      Gives the id.

      The id is used to find which marker providers have to be used in the task. The id must be unique among the marker providers.

      Returns:
      the id
    • getTitleI18nKey

      String getTitleI18nKey()
      Gives the i18n key of the title
      Returns:
      the i18n key of the title
    • provideMarkerDescriptions

      Collection<InfoMarker> provideMarkerDescriptions(String solrTag, javax.servlet.http.HttpServletRequest request)

      Gives the marker descriptions

      Used in the task configuration page (in order to add markers in rich texts for example)

      Returns:
      the marker descriptions
    • provideMarkerValues

      Collection<InfoMarker> provideMarkerValues(String solrTag, String uid)

      Provides the values of the markers.

      This method is used to replace the markers by the actual values of the resource when the notification id send.

      Parameters:
      request - the request
      Returns:
      the value of the markers
    • valueMarker

      Map<String,String> valueMarker(String marker, String solrTag, String uid)