public interface IMarkerProvider
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gives the id.
|
String |
getTitleI18nKey()
Gives the i18n key of the title
|
Collection<NotifyGruMarker> |
provideMarkerDescriptions()
Gives the marker descriptions
|
Collection<NotifyGruMarker> |
provideMarkerValues(fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
javax.servlet.http.HttpServletRequest request)
Provides the values of the markers.
|
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.
String getTitleI18nKey()
Collection<NotifyGruMarker> provideMarkerDescriptions()
Gives the marker descriptions
Used in the task configuration page (in order to add markers in rich texts for example)
Collection<NotifyGruMarker> provideMarkerValues(fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory, fr.paris.lutece.plugins.workflowcore.service.task.ITask task, javax.servlet.http.HttpServletRequest request)
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.
resourceHistory - the resource history for which the method is invokedtask - the task for which the method is invokedrequest - the requestCopyright © 2018 City of Paris. All rights reserved.