public class

AddMDXCubesTask

extends AbstractAppTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.app.tasks.AbstractAppTask
       ↳ com.microstrategy.web.app.tasks.QueryBuilder.AddMDXCubesTask

Summary

Constants
String PARAM_CUBES
String PARAM_DBROLE_ID
String PARAM_MESSAGE_ID
String PARAM_TABLE_ID
[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
Fields
protected TaskParameterMetadata cubesTaskParam
protected TaskParameterMetadata dbroleIDTaskParam
protected TaskParameterMetadata messageIDTaskParam
protected TaskParameterMetadata tableIDTaskParam
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
AddMDXCubesTask()
Protected Constructors
AddMDXCubesTask(String description)
Public Methods
int getRequestTimeout()
void processRequest(TaskRequestContext context, TaskOutput taskOutput)
The default implementation of this method of processRequest gets the Primary Content from the TaskOutput and invokes the processRequest(TaskRequestContext, MarkupOutput) version.
Protected Methods
String AddCubesManipulation(String cubeJSON, String tableID, String dbroleID)
String GetJSonObjectValue(String valueName, JSONObject column)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.tasks.AbstractAppTask
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Constants

public static final String PARAM_CUBES

Constant Value: "cubes"

public static final String PARAM_DBROLE_ID

Constant Value: "dbrid"

public static final String PARAM_MESSAGE_ID

Constant Value: "msgid"

public static final String PARAM_TABLE_ID

Constant Value: "tbid"

Fields

protected TaskParameterMetadata cubesTaskParam

protected TaskParameterMetadata dbroleIDTaskParam

protected TaskParameterMetadata messageIDTaskParam

protected TaskParameterMetadata tableIDTaskParam

Public Constructors

public AddMDXCubesTask ()

Protected Constructors

protected AddMDXCubesTask (String description)

Public Methods

public int getRequestTimeout ()

public void processRequest (TaskRequestContext context, TaskOutput taskOutput)

The default implementation of this method of processRequest gets the Primary Content from the TaskOutput and invokes the processRequest(TaskRequestContext, MarkupOutput) version.

Parameters
context The TaskRequestContext object that maintains the state of the request.
taskOutput The TaskOutput that contains the output generated by the Task.
Throws
TaskException

Protected Methods

protected String AddCubesManipulation (String cubeJSON, String tableID, String dbroleID)

Throws
TaskException

protected String GetJSonObjectValue (String valueName, JSONObject column)

Throws
TaskException