Class ExecuteWorkflowAction


  • public class ExecuteWorkflowAction
    extends java.lang.Object
    Do execute a workflow action
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doExecuteWorkflowAction​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Do check if the given key is valid.
      static java.lang.String getExecuteWorkflowActionUrl​(java.lang.String strBaseURL, int nIdWorkflowAction, int nIdAdminUser, int nIdResource)
      Get the URL to execute a workflow action on an appointment
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExecuteWorkflowAction

        public ExecuteWorkflowAction()
    • Method Detail

      • doExecuteWorkflowAction

        public java.lang.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 java.lang.String getExecuteWorkflowActionUrl​(java.lang.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