public abstract class

AbstractViewBeanParserBean

extends AbstractPersistableFrameElement
implements ViewBeanParserBean
java.lang.Object
   ↳ com.microstrategy.utils.serialization.AbstractPersistable
     ↳ com.microstrategy.web.beans.AbstractTransformable
       ↳ com.microstrategy.web.beans.AbstractWebComponent
         ↳ com.microstrategy.web.app.beans.AbstractAppComponent
           ↳ com.microstrategy.web.app.beans.AbstractPersistableAppComponent
             ↳ com.microstrategy.web.app.beans.AbstractPersistableFrameElement
               ↳ com.microstrategy.web.app.beans.AbstractViewBeanParserBean
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

The ViewBeanParserBeanBean is used to represent an application bean that will manipiulate a View Bean from either a Report Bean or a Report Writer Bean.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
From interface com.microstrategy.web.app.beans.AppComponent
[Expand]
Inherited Fields
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
Public Constructors
AbstractViewBeanParserBean()
Class constructor.
Public Methods
int getActiveElementIndex()
This method is deprecated. This method will no longer be part of this class.
String getActiveViewKey()
Returns the active view key.
ArrayList getTemplateElementList()
This method is deprecated. This method will no longer be part of this interface. Create the TemplateParser using the getViewBean to access the template element list.
ViewBean getViewBean()
Get a instance of the ViewBean associated with the bean.
ViewBean getViewBean(int viewInstance)
Get a specific instance of the ViewBean associated with the bean.
void setActiveElementIndex(int activeElementIndex)
This method is deprecated. This method will no longer be part of this class.
void setActiveViewKey(String activeViewKey)
Set the active view key.
Protected Methods
void doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
Speciefies which bean's properties are persisted.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.beans.AbstractPersistableFrameElement
From class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
From class com.microstrategy.web.app.beans.AbstractAppComponent
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
From class com.microstrategy.utils.serialization.AbstractPersistable
From class java.lang.Object
From interface com.microstrategy.utils.serialization.Persistable
From interface com.microstrategy.web.app.beans.AppComponent
From interface com.microstrategy.web.app.beans.ViewBeanParserBean
From interface com.microstrategy.web.beans.RequestPersistable
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebComponent

Public Constructors

public AbstractViewBeanParserBean ()

Class constructor. Initializes a new -empty- instance of the ViewBeanParserBeanBean class.

Public Methods

public int getActiveElementIndex ()

This method is deprecated.
This method will no longer be part of this class.

public String getActiveViewKey ()

Returns the active view key.

Returns
  • String activeElementIndex The specific element to set as active.

public ArrayList getTemplateElementList ()

This method is deprecated.
This method will no longer be part of this interface. Create the TemplateParser using the getViewBean to access the template element list.

Get a list of template elements from ReportBean or RWBean.

Returns
  • An arraylist containing the elements.

public ViewBean getViewBean ()

Get a instance of the ViewBean associated with the bean. It will not return the data of the specific view bean. Just the definition will be returned.

Returns
  • ViewBean instance

public ViewBean getViewBean (int viewInstance)

Get a specific instance of the ViewBean associated with the bean. It will return the data of the specific view bean along with the definition.

Returns
  • ViewBean instance
See Also

public void setActiveElementIndex (int activeElementIndex)

This method is deprecated.
This method will no longer be part of this class.

Set the Active element index. It's used to pre-select an item in the template elements list

Parameters
activeElementIndex the active element index

public void setActiveViewKey (String activeViewKey)

Set the active view key. It's used for initializing current bean from a view Bean.

Parameters
activeViewKey The specific element to set as active.

Protected Methods

protected void doFlatState (FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)

Speciefies which bean's properties are persisted.

Parameters
serializer FlatStateSerializer initialized instance where the state of the instance is handled
howMuchState int value from EnumWebPersistableState indicating how much state should be handled by this instance
tokenizer FlatStateTokenizer initialized instance where the state of the instance is handled.