public class

SetCubeMappingTask

extends AbstractBaseTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.tasks.SetCubeMappingTask

Class Overview

This Task processes the file uploaded from an HTML form and returns the content of the file to client. Client side JavaScript can not read the contents of local files for security reasons.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
SetCubeMappingTask()
Creates a new SetCubeMappingTask object.
Public Methods
void processRequest(TaskRequestContext context, MarkupOutput markupOutput)
The default implementation of this version of processRequest is empty.
Protected Methods
void constructTaskOutput(MarkupOutput markupOutput, String msgID)
Construct the Task output given the upload file text.
[Expand]
Inherited Methods
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Public Constructors

public SetCubeMappingTask ()

Creates a new SetCubeMappingTask object.

Public Methods

public void processRequest (TaskRequestContext context, MarkupOutput markupOutput)

The default implementation of this version of processRequest is empty. Task implementators may override either version of processRequest.

Parameters
context The TaskRequestContext that contains all information about this Task invocation.
markupOutput The MarkupOutput that records the contents of the Task response.
Throws
TaskException If anything fails along the way. See the individual methods invoked by this method.

Protected Methods

protected void constructTaskOutput (MarkupOutput markupOutput, String msgID)

Construct the Task output given the upload file text.

Parameters
markupOutput The TaskOutput instance to populate into.
msgID String containing the message id of the report with the correct mapping
Throws
TaskException If there was any problem serializing the results to the TaskOutput.