Class ExecuteWorkflowAction

java.lang.Object
fr.paris.lutece.plugins.workflow.modules.appointment.web.ExecuteWorkflowAction

@ApplicationScoped @Named public class ExecuteWorkflowAction extends Object
Do execute a workflow action
  • Constructor Details

    • ExecuteWorkflowAction

      public ExecuteWorkflowAction()
  • Method Details

    • doExecuteWorkflowAction

      public String doExecuteWorkflowAction(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Do check if the given key is valid. If it is valid, then the user is redirected to a page to execute a workflow action.
      Parameters:
      request - The request
      response - The response
      Returns:
      The next URL to redirect to
      Throws:
      fr.paris.lutece.portal.service.message.SiteMessageException - If a site message needs to be displayed
    • getExecuteWorkflowActionUrl

      public static String getExecuteWorkflowActionUrl(String strBaseURL, int nIdWorkflowAction, int nIdAdminUser, int nIdResource)
      Get the URL to execute a workflow action on an appointment
      Parameters:
      strBaseURL - The base URL to use
      nIdWorkflowAction - The id of the workflow action to execute
      nIdAdminUser - The id of the action user that execute the action
      nIdResource - The id of the appointment to execute the workflow action on
      Returns:
      The URL