public class

AbstractSaveTask

extends BeanTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.app.tasks.AbstractAppTask
       ↳ com.microstrategy.web.app.tasks.WebComponentTask
         ↳ com.microstrategy.web.app.tasks.BeanTask
           ↳ com.microstrategy.web.app.tasks.AbstractSaveTask
Known Direct Subclasses

Class Overview

Abstract base class for tasks that save an object to metadata

Summary

Constants
String PARAM_NAME_FOLDER_ID
String PARAM_NAME_REPORT_DESC
String PARAM_NAME_REPORT_NAME
String PARAM_NAME_SAVEAS_FLAGS
[Expand]
Inherited Constants
From class com.microstrategy.web.app.tasks.WebComponentTask
From class com.microstrategy.web.tasks.AbstractBaseTask
Fields
protected TaskParameterMetadata descParam
protected TaskParameterMetadata flagsParam
protected TaskParameterMetadata folderIDParam
protected TaskParameterMetadata nameParam
[Expand]
Inherited Fields
From class com.microstrategy.web.app.tasks.WebComponentTask
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
AbstractSaveTask()
Public Methods
void processRequest(TaskRequestContext context, MarkupOutput out)
The default implementation of this version of processRequest is empty.
Protected Methods
WebFolder getWebFolder(RequestKeys rk, ObjectBean bean)
WebObjectsFactory getWebObjectsFactory(WebBean wb)
void registerParameterMetadata(TaskParameterMetadata parameterMetadata)
Registers a specific Task parameter metadata.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.tasks.BeanTask
From class com.microstrategy.web.app.tasks.WebComponentTask
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_NAME_FOLDER_ID

Constant Value: "folderID"

public static final String PARAM_NAME_REPORT_DESC

Constant Value: "objDesc"

public static final String PARAM_NAME_REPORT_NAME

Constant Value: "objName"

public static final String PARAM_NAME_SAVEAS_FLAGS

Constant Value: "saveAsFlags"

Fields

protected TaskParameterMetadata descParam

protected TaskParameterMetadata flagsParam

protected TaskParameterMetadata folderIDParam

protected TaskParameterMetadata nameParam

Public Constructors

public AbstractSaveTask ()

Public Methods

public void processRequest (TaskRequestContext context, MarkupOutput out)

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

Parameters
context The TaskRequestContext object that maintains the state of the request.
out The MarkupOutput that records the contents of the Task response.
Throws
TaskException

Protected Methods

protected WebFolder getWebFolder (RequestKeys rk, ObjectBean bean)

protected WebObjectsFactory getWebObjectsFactory (WebBean wb)

protected void registerParameterMetadata (TaskParameterMetadata parameterMetadata)

Registers a specific Task parameter metadata. This method is called by registerTaskMetadata(TaskMetadata). It is helpful to override in a Task so that a specific TaskParameterMetadata may be saved for later use.

Parameters
parameterMetadata The TaskParameterMetadata object being saved.