fr.paris.lutece.plugins.workflow.web
Class WorkflowJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
          extended by fr.paris.lutece.plugins.workflow.web.WorkflowJspBean
All Implemented Interfaces:
java.io.Serializable

public class WorkflowJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

class ManageDirectoryJspBean

See Also:
Serialized Form

Field Summary
static java.lang.String RIGHT_MANAGE_WORKFLOW
           
 
Constructor Summary
WorkflowJspBean()
           
 
Method Summary
 java.lang.String doChangeOrderAction(javax.servlet.http.HttpServletRequest request)
          Changes the order of a given action (the way it will be displayed in the list)
 java.lang.String doChangeOrderState(javax.servlet.http.HttpServletRequest request)
          Changes the order of a given state (the way it will be displayed in the list)
 java.lang.String doChangeOrderTask(javax.servlet.http.HttpServletRequest request)
          Changes the order of a given task (the way it will be displayed in the list)
 java.lang.String doCopyAction(javax.servlet.http.HttpServletRequest request)
          Duplicate an action
 java.lang.String doCopyState(javax.servlet.http.HttpServletRequest request)
          duplicate a state
 java.lang.String doCopyTask(javax.servlet.http.HttpServletRequest request)
          copy the task whose key is specified in the Http request
 void doCopyTaskWithModifiedParam(fr.paris.lutece.plugins.workflowcore.service.task.ITask taskToCopy, java.util.Map<java.lang.String,java.lang.String> mapParamToChange)
          Copy the task whose key is specified in the Http request and update param if exists
 java.lang.String doCopyWorkflow(javax.servlet.http.HttpServletRequest request)
          Duplicate a workflow
 java.lang.String doCreateAction(javax.servlet.http.HttpServletRequest request)
          Perform the workflow creation
 java.lang.String doCreateState(javax.servlet.http.HttpServletRequest request)
          Perform the workflow creation
 java.lang.String doCreateWorkflow(javax.servlet.http.HttpServletRequest request)
          Perform the workflow creation
 java.lang.String doDisableWorkflow(javax.servlet.http.HttpServletRequest request)
          Remove all workflow record of the workflow
 java.lang.String doEnableWorkflow(javax.servlet.http.HttpServletRequest request)
          Remove all workflow record of the workflow
 java.lang.String doInsertTask(javax.servlet.http.HttpServletRequest request)
          Remove all workflow record of the workflow
 java.lang.String doModifyAction(javax.servlet.http.HttpServletRequest request)
          Perform the workflow modification
 java.lang.String doModifyState(javax.servlet.http.HttpServletRequest request)
          Perform the workflow modification
 java.lang.String doModifyTask(javax.servlet.http.HttpServletRequest request)
          Modify task
 java.lang.String doModifyWorkflow(javax.servlet.http.HttpServletRequest request)
          Perform the workflow modification
 java.lang.String doRemoveAction(javax.servlet.http.HttpServletRequest request)
          Remove all workflow record of the workflow
 java.lang.String doRemoveState(javax.servlet.http.HttpServletRequest request)
          Remove all workflow record of the workflow
 java.lang.String doRemoveTask(javax.servlet.http.HttpServletRequest request)
          Remove all workflow record of the workflow
 java.lang.String doRemoveWorkflow(javax.servlet.http.HttpServletRequest request)
          Remove all workflow record of the workflow
 java.lang.String doUpdateActionOrder(javax.servlet.http.HttpServletRequest request)
          Updates the order of actions
 java.lang.String doUpdateStateOrder(javax.servlet.http.HttpServletRequest request)
          Updates the order of states
 java.lang.String doUpdateTaskOrder(javax.servlet.http.HttpServletRequest request)
          Updates the order of tasks
 java.lang.String getConfirmRemoveAction(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of remove all Directory Record
 java.lang.String getConfirmRemoveState(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of remove all Directory Record
 java.lang.String getConfirmRemoveTask(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of remove task
 java.lang.String getConfirmRemoveWorkflow(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of remove all Directory Record
 java.lang.String getCreateAction(javax.servlet.http.HttpServletRequest request)
          Gets the workflow creation page
 java.lang.String getCreateState(javax.servlet.http.HttpServletRequest request)
          Gets the workflow creation page
 java.lang.String getCreateWorkflow(javax.servlet.http.HttpServletRequest request)
          Gets the workflow creation page
 java.lang.String getManageAdvancedParameters(javax.servlet.http.HttpServletRequest request)
          Returns advanced parameters form
 java.lang.String getManageWorkflow(javax.servlet.http.HttpServletRequest request)
          Return management page of plugin workflow
 java.lang.String getModifyAction(javax.servlet.http.HttpServletRequest request)
          Gets the workflow creation page
 java.lang.String getModifyState(javax.servlet.http.HttpServletRequest request)
          Gets the workflow creation page
 java.lang.String getModifyTask(javax.servlet.http.HttpServletRequest request)
          Gets the workflow creation page
 java.lang.String getModifyWorkflow(javax.servlet.http.HttpServletRequest request)
          Gets the workflow creation page
 
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
 
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, populate, setFeatureIcon, setPageTitleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT_MANAGE_WORKFLOW

public static final java.lang.String RIGHT_MANAGE_WORKFLOW
See Also:
Constant Field Values
Constructor Detail

WorkflowJspBean

public WorkflowJspBean()
Method Detail

getManageWorkflow

public java.lang.String getManageWorkflow(javax.servlet.http.HttpServletRequest request)
Return management page of plugin workflow

Parameters:
request - The Http request
Returns:
Html management page of plugin workflow

getCreateWorkflow

public java.lang.String getCreateWorkflow(javax.servlet.http.HttpServletRequest request)
                                   throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the workflow creation page

Parameters:
request - The HTTP request
Returns:
The workflow creation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doCreateWorkflow

public java.lang.String doCreateWorkflow(javax.servlet.http.HttpServletRequest request)
                                  throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Perform the workflow creation

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

getModifyWorkflow

public java.lang.String getModifyWorkflow(javax.servlet.http.HttpServletRequest request)
                                   throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the workflow creation page

Parameters:
request - The HTTP request
Returns:
The workflow creation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doModifyWorkflow

public java.lang.String doModifyWorkflow(javax.servlet.http.HttpServletRequest request)
                                  throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Perform the workflow modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

getConfirmRemoveWorkflow

public java.lang.String getConfirmRemoveWorkflow(javax.servlet.http.HttpServletRequest request)
                                          throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the confirmation page of remove all Directory Record

Parameters:
request - The HTTP request
Returns:
the confirmation page of delete all Directory Record
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doRemoveWorkflow

public java.lang.String doRemoveWorkflow(javax.servlet.http.HttpServletRequest request)
                                  throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Remove all workflow record of the workflow

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doEnableWorkflow

public java.lang.String doEnableWorkflow(javax.servlet.http.HttpServletRequest request)
                                  throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Remove all workflow record of the workflow

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doDisableWorkflow

public java.lang.String doDisableWorkflow(javax.servlet.http.HttpServletRequest request)
                                   throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Remove all workflow record of the workflow

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

getCreateState

public java.lang.String getCreateState(javax.servlet.http.HttpServletRequest request)
                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the workflow creation page

Parameters:
request - The HTTP request
Returns:
The workflow creation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doCreateState

public java.lang.String doCreateState(javax.servlet.http.HttpServletRequest request)
                               throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Perform the workflow creation

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

getModifyState

public java.lang.String getModifyState(javax.servlet.http.HttpServletRequest request)
                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the workflow creation page

Parameters:
request - The HTTP request
Returns:
The workflow creation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doModifyState

public java.lang.String doModifyState(javax.servlet.http.HttpServletRequest request)
                               throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Perform the workflow modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

getConfirmRemoveState

public java.lang.String getConfirmRemoveState(javax.servlet.http.HttpServletRequest request)
                                       throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the confirmation page of remove all Directory Record

Parameters:
request - The HTTP request
Returns:
the confirmation page of delete all Directory Record
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doRemoveState

public java.lang.String doRemoveState(javax.servlet.http.HttpServletRequest request)
                               throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Remove all workflow record of the workflow

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

getCreateAction

public java.lang.String getCreateAction(javax.servlet.http.HttpServletRequest request)
                                 throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the workflow creation page

Parameters:
request - The HTTP request
Returns:
The workflow creation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doCreateAction

public java.lang.String doCreateAction(javax.servlet.http.HttpServletRequest request)
                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Perform the workflow creation

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

getModifyAction

public java.lang.String getModifyAction(javax.servlet.http.HttpServletRequest request)
                                 throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the workflow creation page

Parameters:
request - The HTTP request
Returns:
The workflow creation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doModifyAction

public java.lang.String doModifyAction(javax.servlet.http.HttpServletRequest request)
                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Perform the workflow modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

getConfirmRemoveAction

public java.lang.String getConfirmRemoveAction(javax.servlet.http.HttpServletRequest request)
                                        throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the confirmation page of remove all Directory Record

Parameters:
request - The HTTP request
Returns:
the confirmation page of delete all Directory Record
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doRemoveAction

public java.lang.String doRemoveAction(javax.servlet.http.HttpServletRequest request)
                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Remove all workflow record of the workflow

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doInsertTask

public java.lang.String doInsertTask(javax.servlet.http.HttpServletRequest request)
                              throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Remove all workflow record of the workflow

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

getModifyTask

public java.lang.String getModifyTask(javax.servlet.http.HttpServletRequest request)
                               throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the workflow creation page

Parameters:
request - The HTTP request
Returns:
The workflow creation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doModifyTask

public java.lang.String doModifyTask(javax.servlet.http.HttpServletRequest request)
                              throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Modify task

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

getConfirmRemoveTask

public java.lang.String getConfirmRemoveTask(javax.servlet.http.HttpServletRequest request)
                                      throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the confirmation page of remove task

Parameters:
request - The HTTP request
Returns:
the confirmation page of delete Task
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doRemoveTask

public java.lang.String doRemoveTask(javax.servlet.http.HttpServletRequest request)
                              throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Remove all workflow record of the workflow

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doCopyTask

public java.lang.String doCopyTask(javax.servlet.http.HttpServletRequest request)
                            throws fr.paris.lutece.portal.service.admin.AccessDeniedException,
                                   java.lang.NoSuchMethodException,
                                   java.lang.IllegalAccessException,
                                   java.lang.reflect.InvocationTargetException
copy the task whose key is specified in the Http request

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException
java.lang.reflect.InvocationTargetException - the InvocationTargetException
java.lang.IllegalAccessException - the IllegalAccessException
java.lang.NoSuchMethodException - the NoSuchMethodException

doCopyTaskWithModifiedParam

public void doCopyTaskWithModifiedParam(fr.paris.lutece.plugins.workflowcore.service.task.ITask taskToCopy,
                                        java.util.Map<java.lang.String,java.lang.String> mapParamToChange)
                                 throws java.lang.NoSuchMethodException,
                                        java.lang.IllegalAccessException,
                                        java.lang.reflect.InvocationTargetException
Copy the task whose key is specified in the Http request and update param if exists

Parameters:
taskToCopy - the task to copy
mapParamToChange - the map of to change
Throws:
java.lang.NoSuchMethodException - NoSuchMethodException the NoSuchMethodException
java.lang.IllegalAccessException - IllegalAccessException the IllegalAccessException
java.lang.reflect.InvocationTargetException - InvocationTargetException the InvocationTargetException

getManageAdvancedParameters

public java.lang.String getManageAdvancedParameters(javax.servlet.http.HttpServletRequest request)
Returns advanced parameters form

Parameters:
request - The Http request
Returns:
Html form

doChangeOrderState

public java.lang.String doChangeOrderState(javax.servlet.http.HttpServletRequest request)
Changes the order of a given state (the way it will be displayed in the list)

Parameters:
request - The HTTP request
Returns:
return url of the jsp change order state

doChangeOrderAction

public java.lang.String doChangeOrderAction(javax.servlet.http.HttpServletRequest request)
Changes the order of a given action (the way it will be displayed in the list)

Parameters:
request - The HTTP request
Returns:
return url of the jsp change order action

doChangeOrderTask

public java.lang.String doChangeOrderTask(javax.servlet.http.HttpServletRequest request)
Changes the order of a given task (the way it will be displayed in the list)

Parameters:
request - The HTTP request
Returns:
return url of the jsp change order task

doCopyState

public java.lang.String doCopyState(javax.servlet.http.HttpServletRequest request)
duplicate a state

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doCopyAction

public java.lang.String doCopyAction(javax.servlet.http.HttpServletRequest request)
                              throws java.lang.NoSuchMethodException,
                                     java.lang.IllegalAccessException,
                                     java.lang.reflect.InvocationTargetException
Duplicate an action

Parameters:
request - the request
Returns:
the URL of the "modify workflow" page
Throws:
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

doCopyWorkflow

public java.lang.String doCopyWorkflow(javax.servlet.http.HttpServletRequest request)
                                throws java.lang.NoSuchMethodException,
                                       java.lang.IllegalAccessException,
                                       java.lang.reflect.InvocationTargetException
Duplicate a workflow

Parameters:
request - the request
Returns:
the URL of the workflow management page
Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.NoSuchMethodException

doUpdateStateOrder

public java.lang.String doUpdateStateOrder(javax.servlet.http.HttpServletRequest request)
                                    throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Updates the order of states

Parameters:
request - The HTTP request
Returns:
The workflow creation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doUpdateActionOrder

public java.lang.String doUpdateActionOrder(javax.servlet.http.HttpServletRequest request)
                                     throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Updates the order of actions

Parameters:
request - The HTTP request
Returns:
The workflow creation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException

doUpdateTaskOrder

public java.lang.String doUpdateTaskOrder(javax.servlet.http.HttpServletRequest request)
                                   throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Updates the order of tasks

Parameters:
request - The HTTP request
Returns:
The workflow creation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException


Copyright © 2012 Mairie de Paris. All Rights Reserved.