public abstract class

AbstractResultSetResultsTask

extends AbstractBaseTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.tasks.AbstractResultSetResultsTask
Known Direct Subclasses
Known Indirect Subclasses

Summary

Constants
String MSG_PROMPT
String MSG_TIMEOUT
[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
AbstractResultSetResultsTask(String desc)
Public Methods
void processRequest(TaskRequestContext context, TaskOutput taskOutput)
Retrieves the Intelligence Server session, sets the result flags, requests the results (waiting until results are finished).
Protected Methods
abstract boolean createResponse(TaskRequestContext context, TaskOutput output)
WebIServerSession getSession(TaskRequestContext context)
abstract int getStatus(RequestKeys rk, String sessionID)
void pollStatus(TaskRequestContext context, TaskOutput taskOutput)
abstract void preCollectData(TaskRequestContext context, TaskOutput taskOutput)
[Expand]
Inherited Methods
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Constants

protected static final String MSG_PROMPT

Constant Value: "Task cannot be used with a prompted Report Services document."

protected static final String MSG_TIMEOUT

Constant Value: "Task exceeded the maximum wait time of "

Public Constructors

public AbstractResultSetResultsTask (String desc)

Public Methods

public void processRequest (TaskRequestContext context, TaskOutput taskOutput)

Retrieves the Intelligence Server session, sets the result flags, requests the results (waiting until results are finished).

Parameters
context The TaskRequestContext object that maintains the state of the request.
taskOutput The TaskOutput that records the contents of the Task response.
Throws
TaskException If the Task cannot complete as expected.
TaskInternalException If the Task encounters an error on the Intelligence Server.

Protected Methods

protected abstract boolean createResponse (TaskRequestContext context, TaskOutput output)

protected WebIServerSession getSession (TaskRequestContext context)

Throws
TaskException

protected abstract int getStatus (RequestKeys rk, String sessionID)

protected void pollStatus (TaskRequestContext context, TaskOutput taskOutput)

protected abstract void preCollectData (TaskRequestContext context, TaskOutput taskOutput)