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
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fr.paris.lutece.plugins.workflowcore.service.task.ITask
    findReminderTask(int nIdAction)
    Find the reminder task of an action.
    getTitle(Locale locale)
     
    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.
    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.

    Methods inherited from class fr.paris.lutece.plugins.workflowcore.service.task.SimpleTask

    doRemoveTaskInformation, getTaskFormEntries, init

    Methods inherited from class fr.paris.lutece.plugins.workflowcore.service.task.Task

    getAction, getActionUid, getId, getOrder, getTaskType, getUid, setAction, setActionUid, setId, setOrder, setTaskType, setUid

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface fr.paris.lutece.plugins.workflowcore.service.task.ITask

    doAnonymizeTaskInformation, processTask, processTaskWithResult, processTaskWithResult
  • Field Details

  • 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 id
      request - the request
      locale - 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 id
      strResourceType - the resource type
      task - the reminder task of the action
      nIdAction - the action id
      nIdWorkflow - the workflow id
    • doRemoveConfig

      public void doRemoveConfig()
      Specified by:
      doRemoveConfig in interface fr.paris.lutece.plugins.workflowcore.service.task.ITask
      Overrides:
      doRemoveConfig in class fr.paris.lutece.plugins.workflowcore.service.task.SimpleTask
    • getTitle

      public String getTitle(Locale locale)