Class ExecuteWorkflowAction
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.appointment.web.ExecuteWorkflowAction
-
public class ExecuteWorkflowAction extends java.lang.ObjectDo execute a workflow action
-
-
Constructor Summary
Constructors Constructor Description ExecuteWorkflowAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoExecuteWorkflowAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Do check if the given key is valid.static java.lang.StringgetExecuteWorkflowActionUrl(java.lang.String strBaseURL, int nIdWorkflowAction, int nIdAdminUser, int nIdResource)Get the URL to execute a workflow action on an appointment
-
-
-
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.SiteMessageExceptionDo 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 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 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
-
-