|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.platform.engine.services.BaseRequestHandler
public class BaseRequestHandler
Field Summary | |
---|---|
static int |
ON_TIMEOUT_CANCEL
|
static int |
ON_TIMEOUT_RETURN
|
Constructor Summary | |
---|---|
BaseRequestHandler(IPentahoSession session,
String instanceId,
IOutputHandler outputHandler,
IParameterProvider parameterProvider,
IPentahoUrlFactory urlFactory)
|
Method Summary | |
---|---|
void |
actionComplete(IRuntimeContext completedRuntime)
Invoked when a Component execution has completed |
void |
dispose()
|
String |
getActionName()
|
String |
getActionPath()
|
String |
getInstanceId()
|
List |
getMessages()
As the execution happens, the action handler is responsible for storing a list of all the messages that occur in the case of component failure. |
IOutputHandler |
getOutputHandler()
|
HashMap |
getParameterProviders()
|
IRuntimeContext |
getRuntime(String requestHandle)
Gets the runtime. |
String |
getSolutionName()
|
IRuntimeContext |
handleActionAsyncRequest()
Executes an action sequence asynchronously. |
IRuntimeContext |
handleActionRequest(int timeout,
int timeoutType)
Responsible for executing the action using the solution engine. |
void |
setAction(String actionPath,
String actionName)
|
void |
setActionPath(String actionPath)
|
void |
setCreateFeedbackParameterCallback(ICreateFeedbackParameterCallback createFeedbackParameterCallback)
|
void |
setForcePrompt(boolean forcePrompt)
Sets whether to force the generation of a prompt page |
void |
setInstanceEnds(boolean instanceEnds)
|
void |
setInstanceId(String instanceId)
|
void |
setOutputHandler(IOutputHandler outputHandler)
|
void |
setParameterProvider(String name,
IParameterProvider parameterProvider)
|
void |
setParameterXsl(String xsl)
|
void |
setProcessId(String processId)
|
void |
setSolutionName(String solutionName)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ON_TIMEOUT_CANCEL
public static final int ON_TIMEOUT_RETURN
Constructor Detail |
---|
public BaseRequestHandler(IPentahoSession session, String instanceId, IOutputHandler outputHandler, IParameterProvider parameterProvider, IPentahoUrlFactory urlFactory)
Method Detail |
---|
public List getMessages()
IActionRequestHandler
getMessages
in interface IActionRequestHandler
public void setInstanceEnds(boolean instanceEnds)
public void setParameterProvider(String name, IParameterProvider parameterProvider)
public HashMap getParameterProviders()
public void setOutputHandler(IOutputHandler outputHandler)
public void setProcessId(String processId)
public void setInstanceId(String instanceId)
public String getInstanceId()
public void setAction(String actionPath, String actionName)
public void setSolutionName(String solutionName)
public String getSolutionName()
public IRuntimeContext handleActionRequest(int timeout, int timeoutType)
IActionRequestHandler
handleActionRequest
in interface IActionRequestHandler
timeout
- Timeout for the execution - currently ignored in the BasetimeoutType
- - currently ignored in the Base
BaseRequestHandler
public void dispose()
public IRuntimeContext handleActionAsyncRequest()
IActionRequestHandler
handleActionAsyncRequest
in interface IActionRequestHandler
public IRuntimeContext getRuntime(String requestHandle)
IActionRequestHandler
getRuntime
in interface IActionRequestHandler
public void actionComplete(IRuntimeContext completedRuntime)
IActionCompleteListener
actionComplete
in interface IActionCompleteListener
completedRuntime
- the runtime context associated with this actionpublic IOutputHandler getOutputHandler()
public void setForcePrompt(boolean forcePrompt)
IActionRequestHandler
setForcePrompt
in interface IActionRequestHandler
public void setParameterXsl(String xsl)
public String getActionName()
public String getActionPath()
public void setActionPath(String actionPath)
public void setCreateFeedbackParameterCallback(ICreateFeedbackParameterCallback createFeedbackParameterCallback)
setCreateFeedbackParameterCallback
in interface IActionRequestHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |