Interface IMarkerProvider
-
public interface IMarkerProviderThis interface represents a provider of NotifyGru markers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetId()Gives the id.java.lang.StringgetTitleI18nKey()Gives the i18n key of the titlejava.util.Collection<InfoMarker>provideMarkerDescriptions(java.lang.String solrTag, javax.servlet.http.HttpServletRequest request)Gives the marker descriptionsjava.util.Collection<InfoMarker>provideMarkerValues(java.lang.String solrTag, java.lang.String uid)Provides the values of the markers.java.util.Map<java.lang.String,java.lang.String>valueMarker(java.lang.String marker, java.lang.String solrTag, java.lang.String uid)
-
-
-
Method Detail
-
getId
java.lang.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
java.lang.String getTitleI18nKey()
Gives the i18n key of the title- Returns:
- the i18n key of the title
-
provideMarkerDescriptions
java.util.Collection<InfoMarker> provideMarkerDescriptions(java.lang.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
java.util.Collection<InfoMarker> provideMarkerValues(java.lang.String solrTag, java.lang.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
java.util.Map<java.lang.String,java.lang.String> valueMarker(java.lang.String marker, java.lang.String solrTag, java.lang.String uid)
-
-