java.lang.Object | |
↳ | com.microstrategy.web.controller.TaskAdminController |
This class is the AppController implementation for the TaskAdmin servlet. It is designed for handling the execution of administrative tasks, as well it generates the tool interface of "Task Administrator" when task ID is absent in the request keys.
From architectural aspect, this controller delegates task execution to TaskProcessorController and delegates GUI construction to taskViewerController.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TaskAdminController() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
errorAfterRedirect(RequestState reqState, Exception e)
Inform the application that the request has failed inside the redirected page
| ||||||||||
String |
getBaseURL(ContainerServices cs)
Returns the root name to use on event links and as the action of the forms generated by the
application
| ||||||||||
String |
getPage(RequestState reqState)
Get the relative path to the Page that should be displayed.
| ||||||||||
void |
initializeApp(ContainerServices cs)
Initialize the application.
| ||||||||||
ExternalSecurity |
newExternalSecurity()
Creates new instance of the ExternalSecurity component to be used for authenticating
and authorizing users on each of their requests.
| ||||||||||
RequestState |
newRequestState()
Get a new
RequestState object to handle the incoming
request. | ||||||||||
boolean |
processRequest(RequestState reqState)
Process the incoming request.
| ||||||||||
void |
terminateApp()
Terminate the application.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Inform the application that the request has failed inside the redirected page
Returns the root name to use on event links and as the action of the forms generated by the application
Get the relative path to the Page that should be displayed. If no task ID is specified, return the tool interface HTML page, otherwise, return the execution result page in format of the specified envelop.
reqState | The RequestState object that contains
per-request data structures. |
---|
Initialize the application.
cs | The ContainerServices object to use to complete the
initialization.
|
---|
Creates new instance of the ExternalSecurity component to be used for authenticating and authorizing users on each of their requests.
Get a new RequestState
object to handle the incoming
request.
RequestState
object to handle the incoming
request.
Process the incoming request. Delegates to task processor controller.
reqState | The RequestState object that holds per-request
data. |
---|
Terminate the application. This allows the application to cleanup any persistent data structures.