Class ExecuteWorkflowAction


  • public class ExecuteWorkflowAction
    extends Object
    Do execute a workflow action
    • Constructor Detail

      • ExecuteWorkflowAction

        public ExecuteWorkflowAction()
    • Method Detail

      • doExecuteWorkflowAction

        public String doExecuteWorkflowAction​(javax.servlet.http.HttpServletRequest request,
                                              javax.servlet.http.HttpServletResponse response)
                                       throws fr.paris.lutece.portal.service.message.SiteMessageException
        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