Class ExecuteWorkflowAction
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.appointment.web.ExecuteWorkflowAction
Do execute a workflow action
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoExecuteWorkflowAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Do check if the given key is valid.static StringgetExecuteWorkflowActionUrl(String strBaseURL, int nIdWorkflowAction, int nIdAdminUser, int nIdResource) Get the URL to execute a workflow action on an appointment
-
Constructor Details
-
ExecuteWorkflowAction
public ExecuteWorkflowAction()
-
-
Method Details
-
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 requestresponse- 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 usenIdWorkflowAction- The id of the workflow action to executenIdAdminUser- The id of the action user that execute the actionnIdResource- The id of the appointment to execute the workflow action on- Returns:
- The URL
-