public class

SaveDBRoleTask

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

Summary

Nested Classes
class SaveDBRoleTask.DBObjectsHandler  
Constants
String CHARACTER_ENCODING_FOR_UNIX_NAME
String DRIVERMODE
int MAX_CONNECTION_ATTEMPT_TIME
int MAX_IDLE_TIMEOUT
int MAX_QUERY_EXECUTION_TIME
int OBJECT_FLAGS
String PARAM_DBROLEINFO
String SERVER_CONNECTION_PROPERTY_SET_NAME
[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
Fields
protected TaskParameterMetadata dbroleInfoTaskParam
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
SaveDBRoleTask()
Public Methods
void constructTaskOutput(MarkupOutput markupOutput, WebDBRole dbr)
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 cleanUpInfo(String info)
XMLBuilder constructXmlBuilder(WebIServerSession session, String info)
String getPassword(String sessionID, String dbrid)
boolean isCUShare(String iValue)
WebDBRole parseAndSaveObject(WebIServerSession session, String xml)
void saveDBConnection(WebIServerSession iSession, WebDBConnection iDbConnection)
void saveDBLogin(WebIServerSession iSession, WebDBLogin iLogin)
void saveDBRole(WebIServerSession iSession, WebDBRole iDbr, String iDbrName)
[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

protected static final String CHARACTER_ENCODING_FOR_UNIX_NAME

Constant Value: "cefu"

protected static final String DRIVERMODE

Constant Value: "driverMode"

protected static final int MAX_CONNECTION_ATTEMPT_TIME

Constant Value: 6000 (0x00001770)

protected static final int MAX_IDLE_TIMEOUT

Constant Value: 60 (0x0000003c)

protected static final int MAX_QUERY_EXECUTION_TIME

Constant Value: -1 (0xffffffff)

protected static final int OBJECT_FLAGS

Constant Value: 24896 (0x00006140)

public static final String PARAM_DBROLEINFO

Constant Value: "dbroleinfo"

protected static final String SERVER_CONNECTION_PROPERTY_SET_NAME

Constant Value: "Server Connection"

Fields

protected TaskParameterMetadata dbroleInfoTaskParam

Public Constructors

public SaveDBRoleTask ()

Public Methods

public void constructTaskOutput (MarkupOutput markupOutput, WebDBRole dbr)

Throws
TaskException

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 cleanUpInfo (String info)

Throws
TaskException

protected XMLBuilder constructXmlBuilder (WebIServerSession session, String info)

Throws
TaskException

protected String getPassword (String sessionID, String dbrid)

Throws
TaskException

protected boolean isCUShare (String iValue)

protected WebDBRole parseAndSaveObject (WebIServerSession session, String xml)

Throws
TaskException

protected void saveDBConnection (WebIServerSession iSession, WebDBConnection iDbConnection)

protected void saveDBLogin (WebIServerSession iSession, WebDBLogin iLogin)

protected void saveDBRole (WebIServerSession iSession, WebDBRole iDbr, String iDbrName)