public class

AbstractTemplateElementsBean

extends AbstractViewBeanParserBean
implements TemplateElementsBean
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
                 ↳ com.microstrategy.web.app.beans.AbstractTemplateElementsBean

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
From interface com.microstrategy.web.app.beans.TemplateElementsBean
[Expand]
Inherited Fields
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
Public Constructors
AbstractTemplateElementsBean()
Public Methods
String getActiveDatasetId()
Returns the active dataset Id.
RWDataSets getDatasets()
int getMode()
Indicates which mode this bean has active.
ArrayList getTemplateElementsList()
RWUserMetrics getUserMetricsFromDataset()
Returns list of all user metrics available in active dataset.
WebTemplate getWebTemplate()
WebWorkingSet getWebWorkingSet()
void setActiveDatasetId(String activeDatasetId)
Set the active dataset Id.
void setMode(int mode)
Specified which mode this bean should activate.
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.AbstractViewBeanParserBean
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.DataSetParserBean
From interface com.microstrategy.web.app.beans.TemplateElementsBean
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 AbstractTemplateElementsBean ()

Public Methods

public String getActiveDatasetId ()

Returns the active dataset Id.

Returns
  • String Id.

public RWDataSets getDatasets ()

public int getMode ()

Indicates which mode this bean has active.
It could either be any of the following values:

Returns
  • int mode value.

public ArrayList getTemplateElementsList ()

public RWUserMetrics getUserMetricsFromDataset ()

Returns list of all user metrics available in active dataset.

Returns
  • RWUserMetrics collection

public WebTemplate getWebTemplate ()

public WebWorkingSet getWebWorkingSet ()

Returns

public void setActiveDatasetId (String activeDatasetId)

Set the active dataset Id.
It's used for initializing current bean from a dataset collection.

Parameters
activeDatasetId The specific dataset to set as active.

public void setMode (int mode)

Specified which mode this bean should activate.
It could either be any of the following values:

Parameters
mode int value.

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.