com.silverpeas.workflowdesigner.servlets
Interface FunctionHandler


public interface FunctionHandler

This interface describes a handler of an atomic function of the Workflow Designer Request Router


Method Summary
 String getDestination(String function, WorkflowDesignerSessionController workflowDesignerSC, javax.servlet.http.HttpServletRequest request)
          Handle the function do the processing and return the URL of the response
 

Method Detail

getDestination

String getDestination(String function,
                      WorkflowDesignerSessionController workflowDesignerSC,
                      javax.servlet.http.HttpServletRequest request)
                      throws WorkflowDesignerException,
                             WorkflowException
Handle the function do the processing and return the URL of the response

Parameters:
function - the name of the function to handle
workflowDesignerSC - the session controller
request - the HTTP request
Returns:
the name of the destination JSP, without the path part
Throws:
WorkflowDesignerException - when something goes wrong
WorkflowException - when something goes wrong


Copyright © 2016 Silverpeas. All Rights Reserved.