|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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,
java.lang.String instanceId,
IOutputHandler outputHandler,
IParameterProvider parameterProvider,
IPentahoUrlFactory urlFactory)
|
|
| Method Summary | |
|---|---|
void |
actionComplete(IRuntimeContext completedRuntime)
Invoked when a Component execution has completed |
void |
dispose()
|
java.lang.String |
getActionName()
|
java.lang.String |
getActionPath()
|
java.lang.String |
getInstanceId()
|
java.util.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()
|
java.util.HashMap |
getParameterProviders()
|
IRuntimeContext |
getRuntime(java.lang.String requestHandle)
Gets the runtime. |
java.lang.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(java.lang.String actionPath,
java.lang.String actionName)
|
void |
setActionPath(java.lang.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(java.lang.String instanceId)
|
void |
setOutputHandler(IOutputHandler outputHandler)
|
void |
setParameterProvider(java.lang.String name,
IParameterProvider parameterProvider)
|
void |
setParameterXsl(java.lang.String xsl)
|
void |
setProcessId(java.lang.String processId)
|
void |
setSolutionName(java.lang.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,
java.lang.String instanceId,
IOutputHandler outputHandler,
IParameterProvider parameterProvider,
IPentahoUrlFactory urlFactory)
| Method Detail |
|---|
public java.util.List getMessages()
IActionRequestHandler
getMessages in interface IActionRequestHandlerpublic void setInstanceEnds(boolean instanceEnds)
public void setParameterProvider(java.lang.String name,
IParameterProvider parameterProvider)
public java.util.HashMap getParameterProviders()
public void setOutputHandler(IOutputHandler outputHandler)
public void setProcessId(java.lang.String processId)
public void setInstanceId(java.lang.String instanceId)
public java.lang.String getInstanceId()
public void setAction(java.lang.String actionPath,
java.lang.String actionName)
public void setSolutionName(java.lang.String solutionName)
public java.lang.String getSolutionName()
public IRuntimeContext handleActionRequest(int timeout,
int timeoutType)
IActionRequestHandler
handleActionRequest in interface IActionRequestHandlertimeout - Timeout for the execution - currently ignored in the BasetimeoutType - - currently ignored in the Base
BaseRequestHandlerpublic void dispose()
public IRuntimeContext handleActionAsyncRequest()
IActionRequestHandler
handleActionAsyncRequest in interface IActionRequestHandlerpublic IRuntimeContext getRuntime(java.lang.String requestHandle)
IActionRequestHandler
getRuntime in interface IActionRequestHandlerpublic void actionComplete(IRuntimeContext completedRuntime)
IActionCompleteListener
actionComplete in interface IActionCompleteListenercompletedRuntime - the runtime context associated with this actionpublic IOutputHandler getOutputHandler()
public void setForcePrompt(boolean forcePrompt)
IActionRequestHandler
setForcePrompt in interface IActionRequestHandlerpublic void setParameterXsl(java.lang.String xsl)
public java.lang.String getActionName()
public java.lang.String getActionPath()
public void setActionPath(java.lang.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 | |||||||||