public class

GetDBInstancesTask

extends AbstractArchitectTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.tasks.AbstractArchitectTask
       ↳ com.microstrategy.web.tasks.GetDBInstancesTask

Summary

Constants
int DATA_IMPORT_DATABASE_INSTANCE_SUBTYPE
int OAUTH_DATABASE_INSTANCE_SUBTYPE
int SEARCH_OBJECT_FLAGS
[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
Fields
protected WebDBRole primaryDBR
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
GetDBInstancesTask()
Public Methods
boolean checkInFilter(int valToCheck, int[] filters, int[] excludeFilters)
String eraseSensitiveArguments(String connstr)
List<WebDBRole> getAllDBRoles(WebIServerSession session, boolean isDI, boolean ro, String typeFilters, String versionFilters, String typeExcludeFilters, String versionExcludeFilters)
Block getResponse(WebIServerSession ses, List<WebDBRole> roles, boolean terse, String vldbProps, boolean ignoreEmbedded, String eid)
List<WebDBRole> getSingleDBRole(WebIServerSession session, String id)
int[] processFilters(String filters)
void processRequest(TaskRequestContext context, MarkupOutput markupOutput)
The default implementation of this version of processRequest is empty.
Protected Methods
void buildResponse(MarkupOutput mo, TaskRequestContext context, WebIServerSession ses, List<WebDBRole> roles, boolean terse, String vldbProps, boolean ignoreEmbedded)
boolean checkRights(WebIServerSession session, WebObjectSource os, WebDBRole dbRole, int rightsToCheck)
boolean checkRoleAccess(WebIServerSession session, WebObjectSource os, WebDBRole dbRole)
boolean checkShared(WebIServerSession iSession, WebDBRole iDbRole, String iEveryoneId)
String getSearchFolderId(WebIServerSession iSession)
[Expand]
Inherited Methods
From class com.microstrategy.web.tasks.AbstractArchitectTask
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Constants

protected static final int DATA_IMPORT_DATABASE_INSTANCE_SUBTYPE

Constant Value: 7426 (0x00001d02)

protected static final int OAUTH_DATABASE_INSTANCE_SUBTYPE

Constant Value: 7427 (0x00001d03)

protected static final int SEARCH_OBJECT_FLAGS

Constant Value: 16640 (0x00004100)

Fields

protected WebDBRole primaryDBR

Public Constructors

public GetDBInstancesTask ()

Public Methods

public boolean checkInFilter (int valToCheck, int[] filters, int[] excludeFilters)

public String eraseSensitiveArguments (String connstr)

public List<WebDBRole> getAllDBRoles (WebIServerSession session, boolean isDI, boolean ro, String typeFilters, String versionFilters, String typeExcludeFilters, String versionExcludeFilters)

Throws
TaskException

public Block getResponse (WebIServerSession ses, List<WebDBRole> roles, boolean terse, String vldbProps, boolean ignoreEmbedded, String eid)

public List<WebDBRole> getSingleDBRole (WebIServerSession session, String id)

Throws
TaskException

public int[] processFilters (String filters)

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

Protected Methods

protected void buildResponse (MarkupOutput mo, TaskRequestContext context, WebIServerSession ses, List<WebDBRole> roles, boolean terse, String vldbProps, boolean ignoreEmbedded)

Throws
TaskException

protected boolean checkRights (WebIServerSession session, WebObjectSource os, WebDBRole dbRole, int rightsToCheck)

protected boolean checkRoleAccess (WebIServerSession session, WebObjectSource os, WebDBRole dbRole)

protected boolean checkShared (WebIServerSession iSession, WebDBRole iDbRole, String iEveryoneId)

protected String getSearchFolderId (WebIServerSession iSession)