public class

BeanTaskRequestContext

extends AppTaskRequestContext
java.lang.Object
   ↳ com.microstrategy.web.tasks.BaseTaskRequestContext
     ↳ com.microstrategy.web.app.tasks.AppTaskRequestContext
       ↳ com.microstrategy.web.app.tasks.BeanTaskRequestContext

Class Overview

This class extends the BaseTaskRequestContext object by adding more fields that are relevant to a "bean task".

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.BaseTaskRequestContext
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.BaseTaskRequestContext
Public Constructors
BeanTaskRequestContext()
Public Methods
WebBean getWebBean()
Returns the WebBean associated with this request.
WebComponent getWebComponent()
Returns the WebComponent associated with this request.
boolean isRequestPersistable()
Whether the WebComponent supports saving, restoring its state to/from the request.
boolean isTransformable()
Whether the WebComponent can be transformed.
boolean isWebBean()
Whether the WebComponent is a WebBean.
void setWebBean(WebBean webBean)
Sets the WebBean associated with this request.
void setWebComponent(WebComponent webComponent)
Sets the WebComponent to be associated with this request.
Protected Methods
void checkPrivileges()
[Expand]
Inherited Methods
From class com.microstrategy.web.app.tasks.AppTaskRequestContext
From class com.microstrategy.web.tasks.BaseTaskRequestContext
From class java.lang.Object
From interface com.microstrategy.web.tasks.TaskRequestContext

Public Constructors

public BeanTaskRequestContext ()

Public Methods

public WebBean getWebBean ()

Returns the WebBean associated with this request.

Returns
  • The WebBean associated with this request.

public WebComponent getWebComponent ()

Returns the WebComponent associated with this request.

Returns

public boolean isRequestPersistable ()

Whether the WebComponent supports saving, restoring its state to/from the request.

Returns
  • Whether the WebComponent supports saving, restoring.

public boolean isTransformable ()

Whether the WebComponent can be transformed.

Returns
  • Whether the WebComponent can be transformed.

public boolean isWebBean ()

Whether the WebComponent is a WebBean.

Returns
  • Whether the WebComponent is a WebBean.

public void setWebBean (WebBean webBean)

Sets the WebBean associated with this request.

Parameters
webBean The WebBean to associate with this request.

public void setWebComponent (WebComponent webComponent)

Sets the WebComponent to be associated with this request.

Parameters
webComponent The WebComponent to associate with this request.

Protected Methods

protected void checkPrivileges ()

Throws
TaskException