public class

EditObjectTagTask

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

Class Overview

This Task can be used to add or remove object tags from a report/document. It creates links or removes links between objects

Summary

Constants
String OBJECT_TAGS_FOLDER_ID
String PARAM_NAME_OBJECT_ID
String PARAM_NAME_OBJECT_TYPE
String PARAM_TAG_ADD_NAME_LIST
String PARAM_TAG_REMOVE_NAME_LIST
String WEB_LINKS_ID
[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
Fields
protected TaskParameterMetadata addTagListTaskParam
protected TaskParameterMetadata objectIDTaskParam
protected TaskParameterMetadata objectTypeTaskParam
protected TaskParameterMetadata removeTagListTaskParam
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
EditObjectTagTask()
Public Methods
static WebObjectInfo addTag(WebObjectsFactory factory, WebObjectSource wos, StringTokenizer tag, WebDisplayUnits folderObjects)
static String findTagObjectID(WebDisplayUnits folderObjects, String tagName)
static WebDisplayUnits getObjectTags(WebIServerSession webIServerSession)
void processRequest(TaskRequestContext context, MarkupOutput markupOutput)
The default implementation of this version of processRequest is empty.
[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 OBJECT_TAGS_FOLDER_ID

Constant Value: "67FB3A504748414B28A26FAE73B23726"

protected static final String PARAM_NAME_OBJECT_ID

Constant Value: "objectID"

protected static final String PARAM_NAME_OBJECT_TYPE

Constant Value: "objectType"

protected static final String PARAM_TAG_ADD_NAME_LIST

Constant Value: "addTagList"

protected static final String PARAM_TAG_REMOVE_NAME_LIST

Constant Value: "removeTagList"

public static final String WEB_LINKS_ID

Constant Value: "814B78BB47E6EE0C371A438FF4CECECF"

Fields

protected TaskParameterMetadata addTagListTaskParam

protected TaskParameterMetadata objectIDTaskParam

protected TaskParameterMetadata objectTypeTaskParam

protected TaskParameterMetadata removeTagListTaskParam

Public Constructors

public EditObjectTagTask ()

Public Methods

public static WebObjectInfo addTag (WebObjectsFactory factory, WebObjectSource wos, StringTokenizer tag, WebDisplayUnits folderObjects)

Throws
TaskException

public static String findTagObjectID (WebDisplayUnits folderObjects, String tagName)

public static WebDisplayUnits getObjectTags (WebIServerSession webIServerSession)

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 object that maintains the state of the request.
markupOutput The MarkupOutput that records the contents of the Task response.
Throws
TaskException