Class WorkflowJspBean

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

public class WorkflowJspBean extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
class ManageDirectoryJspBean
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Right to manage workflows
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doAddTaskToReflexiveAction(javax.servlet.http.HttpServletRequest request)
    Do create a task and add it to the reflexive action of a state
    doChangeOrderAction(javax.servlet.http.HttpServletRequest request)
    Changes the order of a given action (the way it will be displayed in the list)
    doChangeOrderState(javax.servlet.http.HttpServletRequest request)
    Changes the order of a given state (the way it will be displayed in the list)
    doChangeOrderTask(javax.servlet.http.HttpServletRequest request)
    Changes the order of a given task (the way it will be displayed in the list)
    doCopyAction(javax.servlet.http.HttpServletRequest request)
    Duplicate an action
    doCopyState(javax.servlet.http.HttpServletRequest request)
    duplicate a state
    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, Map<String,String> mapParamToChange)
    Copy the task whose key is specified in the Http request and update param if exists
    doCopyWorkflow(javax.servlet.http.HttpServletRequest request)
    Duplicate a workflow
    doCreateAction(javax.servlet.http.HttpServletRequest request)
    Perform the workflow creation
    doCreateState(javax.servlet.http.HttpServletRequest request)
    Perform the workflow creation
    doCreateWorkflow(javax.servlet.http.HttpServletRequest request)
    Perform the workflow creation
    doDisableWorkflow(javax.servlet.http.HttpServletRequest request)
    Remove all workflow record of the workflow
    doEnableWorkflow(javax.servlet.http.HttpServletRequest request)
    Remove all workflow record of the workflow
    void
    doExportWorkflow(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Export Workflow as Json
    doImportWorkflow(javax.servlet.http.HttpServletRequest request)
     
    doInsertTask(javax.servlet.http.HttpServletRequest request)
    Insert a new task in an Action
    doModifyAction(javax.servlet.http.HttpServletRequest request)
    Perform the workflow modification
    doModifyState(javax.servlet.http.HttpServletRequest request)
    Perform the workflow modification
    doModifyTask(javax.servlet.http.HttpServletRequest request)
    Modify task
    doModifyWorkflow(javax.servlet.http.HttpServletRequest request)
    Perform the workflow modification
    doRemoveAction(javax.servlet.http.HttpServletRequest request)
    Remove all workflow record of the workflow
    doRemoveState(javax.servlet.http.HttpServletRequest request)
    Remove all workflow record of the workflow
    doRemoveTask(javax.servlet.http.HttpServletRequest request, boolean isReflexiveTask)
    Remove all workflow record of the workflow
    doRemoveTaskFromReflexiveAction(javax.servlet.http.HttpServletRequest request)
    Do delete a task and remove it from the reflexive action of a state.
    doRemoveWorkflow(javax.servlet.http.HttpServletRequest request)
    Remove all workflow record of the workflow
    doUpdateActionOrder(javax.servlet.http.HttpServletRequest request)
    Updates the order of actions
    doUpdateStateOrder(javax.servlet.http.HttpServletRequest request)
    Updates the order of states
    doUpdateTaskOrder(javax.servlet.http.HttpServletRequest request)
    Updates the order of tasks
    getConfirmCopyAction(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of copy action
    getConfirmCopyState(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of copy state
    getConfirmCopyTask(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of copy task
    getConfirmCopyWorkflow(javax.servlet.http.HttpServletRequest request)
     
    getConfirmImportWorkflow(javax.servlet.http.HttpServletRequest request)
     
    getConfirmRemoveAction(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of remove all Directory Record
    getConfirmRemoveState(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of remove all Directory Record
    getConfirmRemoveTask(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of remove task
    getConfirmRemoveWorkflow(javax.servlet.http.HttpServletRequest request)
    Gets the confirmation page of remove all Directory Record
    getCreateAction(javax.servlet.http.HttpServletRequest request)
    Gets the workflow creation page
    getCreateState(javax.servlet.http.HttpServletRequest request)
    Gets the workflow creation page
    getCreateWorkflow(javax.servlet.http.HttpServletRequest request)
    Gets the workflow creation page
    getManageAdvancedParameters(javax.servlet.http.HttpServletRequest request)
    Returns advanced parameters form
    getManageWorkflow(javax.servlet.http.HttpServletRequest request)
    Return management page of plugin workflow
    getModifyAction(javax.servlet.http.HttpServletRequest request)
    Gets the workflow creation page
    getModifyReflexiveAction(javax.servlet.http.HttpServletRequest request)
    Get the modify reflexive action page
    getModifyState(javax.servlet.http.HttpServletRequest request)
    Gets the workflow creation page
    getModifyTask(javax.servlet.http.HttpServletRequest request)
    Gets the workflow creation page
    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, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • WorkflowJspBean

      public WorkflowJspBean()
  • Method Details

    • getManageWorkflow

      public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 String doInsertTask(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Insert a new task in an Action
      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 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 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 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 String doRemoveTask(javax.servlet.http.HttpServletRequest request, boolean isReflexiveTask) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Remove all workflow record of the workflow
      Parameters:
      request - The HTTP request
      isReflexiveTask - Set to true if a Reflexive Task ( automatic action ) is being removed, set to false otherwise
      Returns:
      The URL to go after performing the action
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException
    • getConfirmCopyTask

      public String getConfirmCopyTask(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Gets the confirmation page of copy task
      Parameters:
      request - The HTTP request
      Returns:
      the confirmation page of copy Task
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException
    • doCopyTask

      public String doCopyTask(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException, NoSuchMethodException, IllegalAccessException, 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
      InvocationTargetException - the InvocationTargetException
      IllegalAccessException - the IllegalAccessException
      NoSuchMethodException - the NoSuchMethodException
    • doCopyTaskWithModifiedParam

      public void doCopyTaskWithModifiedParam(fr.paris.lutece.plugins.workflowcore.service.task.ITask taskToCopy, Map<String,String> mapParamToChange) throws NoSuchMethodException, IllegalAccessException, 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 (Param, Value) to change
      Throws:
      NoSuchMethodException - NoSuchMethodException the NoSuchMethodException
      IllegalAccessException - IllegalAccessException the IllegalAccessException
      InvocationTargetException - InvocationTargetException the InvocationTargetException
    • getManageAdvancedParameters

      public String getManageAdvancedParameters(javax.servlet.http.HttpServletRequest request)
      Returns advanced parameters form
      Parameters:
      request - The Http request
      Returns:
      Html form
    • doChangeOrderState

      public 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 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 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
    • getConfirmCopyState

      public String getConfirmCopyState(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Gets the confirmation page of copy state
      Parameters:
      request - The HTTP request
      Returns:
      the confirmation page of copy State
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException
    • doCopyState

      public String doCopyState(javax.servlet.http.HttpServletRequest request) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, fr.paris.lutece.portal.service.admin.AccessDeniedException
      duplicate a state
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
      Throws:
      InvocationTargetException
      IllegalAccessException
      NoSuchMethodException
      fr.paris.lutece.portal.service.admin.AccessDeniedException
    • getConfirmCopyAction

      public String getConfirmCopyAction(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Gets the confirmation page of copy action
      Parameters:
      request - The HTTP request
      Returns:
      the confirmation page of copy action
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException
    • doCopyAction

      public String doCopyAction(javax.servlet.http.HttpServletRequest request) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, fr.paris.lutece.portal.service.admin.AccessDeniedException
      Duplicate an action
      Parameters:
      request - the request
      Returns:
      the URL of the "modify workflow" page
      Throws:
      NoSuchMethodException - If a method was not found
      IllegalAccessException - If an illegal access is performed
      InvocationTargetException - If an error occurs
      fr.paris.lutece.portal.service.admin.AccessDeniedException
    • doCopyWorkflow

      public String doCopyWorkflow(javax.servlet.http.HttpServletRequest request) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, fr.paris.lutece.portal.service.admin.AccessDeniedException
      Duplicate a workflow
      Parameters:
      request - the request
      Returns:
      the URL of the workflow management page
      Throws:
      InvocationTargetException - If a method was not found
      IllegalAccessException - If an illegal access is performed
      NoSuchMethodException - If an error occurs
      fr.paris.lutece.portal.service.admin.AccessDeniedException
    • getConfirmCopyWorkflow

      public String getConfirmCopyWorkflow(javax.servlet.http.HttpServletRequest request)
    • doUpdateStateOrder

      public 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 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 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
    • getModifyReflexiveAction

      public String getModifyReflexiveAction(javax.servlet.http.HttpServletRequest request)
      Get the modify reflexive action page
      Parameters:
      request - The request
      Returns:
      The modify reflexive action page, or the manage workflow page if no valid state id is specified
    • doAddTaskToReflexiveAction

      public String doAddTaskToReflexiveAction(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Do create a task and add it to the reflexive action of a state
      Parameters:
      request - The request
      Returns:
      The next URL to redirect to
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException
    • doRemoveTaskFromReflexiveAction

      public String doRemoveTaskFromReflexiveAction(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Do delete a task and remove it from the reflexive action of a state. If the action has no more task, then it is removed
      Parameters:
      request - The request
      Returns:
      The next URL to redirect to
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not allowed to access this feature
    • doExportWorkflow

      public void doExportWorkflow(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Export Workflow as Json
      Parameters:
      request -
    • getConfirmImportWorkflow

      public String getConfirmImportWorkflow(javax.servlet.http.HttpServletRequest request)
    • doImportWorkflow

      public String doImportWorkflow(javax.servlet.http.HttpServletRequest request)