public class CommentMarkerProvider extends Object implements IMarkerProvider
| Constructor and Description |
|---|
CommentMarkerProvider() |
| 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.
|
public 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.
getId in interface IMarkerProviderpublic String getTitleI18nKey()
getTitleI18nKey in interface IMarkerProviderpublic Collection<NotifyGruMarker> provideMarkerDescriptions()
Gives the marker descriptions
Used in the task configuration page (in order to add markers in rich texts for example)
provideMarkerDescriptions in interface IMarkerProviderpublic 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.
provideMarkerValues in interface IMarkerProviderresourceHistory - 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.