Class TaskNotifyReminder
java.lang.Object
fr.paris.lutece.plugins.workflowcore.service.task.Task
fr.paris.lutece.plugins.workflowcore.service.task.SimpleTask
fr.paris.lutece.plugins.genericalert.service.TaskNotifyReminder
- All Implemented Interfaces:
fr.paris.lutece.plugins.workflowcore.service.task.ITask
@Dependent
@Named("genericalert.taskNotifyReminder")
public class TaskNotifyReminder
extends fr.paris.lutece.plugins.workflowcore.service.task.SimpleTask
Task notify appointment
- Author:
- Mairie de Paris
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfr.paris.lutece.plugins.workflowcore.service.task.ITaskfindReminderTask(int nIdAction) Find the reminder task of an action.voidprocessTask(int nIdResourceHistory, jakarta.servlet.http.HttpServletRequest request, Locale locale) Does nothing: the reminders are sent by the daemon, the task only records them in the workflow history.voidsendReminder(int nIdResource, String strResourceType, fr.paris.lutece.plugins.workflowcore.service.task.ITask task, int nIdAction, int nIdWorkflow) Send the reminders of a task due for an appointment.Methods inherited from class fr.paris.lutece.plugins.workflowcore.service.task.SimpleTask
doRemoveTaskInformation, getTaskFormEntries, initMethods inherited from class fr.paris.lutece.plugins.workflowcore.service.task.Task
getAction, getActionUid, getId, getOrder, getTaskType, getUid, setAction, setActionUid, setId, setOrder, setTaskType, setUidMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.workflowcore.service.task.ITask
doAnonymizeTaskInformation, processTask, processTaskWithResult, processTaskWithResult
-
Field Details
-
FORMAT_TIME
- See Also:
-
-
Constructor Details
-
TaskNotifyReminder
public TaskNotifyReminder()
-
-
Method Details
-
processTask
public void processTask(int nIdResourceHistory, jakarta.servlet.http.HttpServletRequest request, Locale locale) Does nothing: the reminders are sent by the daemon, the task only records them in the workflow history.- Parameters:
nIdResourceHistory- the resource history idrequest- the requestlocale- the locale
-
findReminderTask
public fr.paris.lutece.plugins.workflowcore.service.task.ITask findReminderTask(int nIdAction) Find the reminder task of an action.- Parameters:
nIdAction- the action id- Returns:
- the reminder task of the action, or null if the action has none
-
sendReminder
public void sendReminder(int nIdResource, String strResourceType, fr.paris.lutece.plugins.workflowcore.service.task.ITask task, int nIdAction, int nIdWorkflow) Send the reminders of a task due for an appointment.- Parameters:
nIdResource- the appointment idstrResourceType- the resource typetask- the reminder task of the actionnIdAction- the action idnIdWorkflow- the workflow id
-
doRemoveConfig
public void doRemoveConfig()- Specified by:
doRemoveConfigin interfacefr.paris.lutece.plugins.workflowcore.service.task.ITask- Overrides:
doRemoveConfigin classfr.paris.lutece.plugins.workflowcore.service.task.SimpleTask
-
getTitle
-