public class

VisualizationsEditorBeanImpl

extends AbstractViewBeanParserBean
implements VisualizationsEditorBean
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.VisualizationsEditorBeanImpl
Known Direct Subclasses

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
VisualizationsEditorBeanImpl()
Public Methods
boolean areVisualizationsEnabled()
String getActiveLayoutID()
The ID of the layout whose visualization is being set.
VisualizationList getAndroidTabletVisualizations()
VisualizationList getAndroidVisualizations()
VisualizationList getAvailableVisualizations()
VisualizationList getIPadVisualizations()
VisualizationList getIPhoneVisualizations()
int getScope()
String getSelectedAndroidTabletVisualization()
String getSelectedAndroidVisualization()
String getSelectedIPadVisualization()
String getSelectedIPadVisualizations()
This method is deprecated. use getSelectedIPadVisualization()
String getSelectedIPhoneVisualization()
String getSelectedIPhoneVisualizations()
String getSelectedSecondaryDataSourceKeys()
VisualizationList getSelectedVisualizations()
HashList<String, String> getVisProps()
boolean haveSecondarySourcesChanged()
boolean isEditor()
Indicates whether the instance most be considered editor.
boolean isEnabled()
Indicates whether a ReportFrameElement is Enabled.
void setScope(int scope)
Whether this editor applies to a Report (SCOPE_REPORT), a Grid in a Document (SCOPE_RW_GRID) or a Document (SCOPE_RW)
Protected Methods
boolean hasTargetBeanChanged()
When this method is called, we have already checked the children and each of the children has returned with hasChanged() as false.
[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.FrameElement
From interface com.microstrategy.web.app.beans.ReportFrameElement
From interface com.microstrategy.web.app.beans.ViewBeanParserBean
From interface com.microstrategy.web.app.beans.VisualizationsEditorBean
From interface com.microstrategy.web.beans.RequestPersistable
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebComponent

Public Constructors

public VisualizationsEditorBeanImpl ()

Public Methods

public boolean areVisualizationsEnabled ()

Returns
  • whether visualizations are enabled for the current report or document.

public String getActiveLayoutID ()

The ID of the layout whose visualization is being set.
Note: only relevant when the scope is (SCOPE_RW_LAYOUT)

public VisualizationList getAndroidTabletVisualizations ()

public VisualizationList getAndroidVisualizations ()

public VisualizationList getAvailableVisualizations ()

Returns
  • the list of available visualizations with the scope set on the editor

public VisualizationList getIPadVisualizations ()

public VisualizationList getIPhoneVisualizations ()

public int getScope ()

See Also

public String getSelectedAndroidTabletVisualization ()

public String getSelectedAndroidVisualization ()

public String getSelectedIPadVisualization ()

public String getSelectedIPadVisualizations ()

This method is deprecated.
use getSelectedIPadVisualization()

public String getSelectedIPhoneVisualization ()

public String getSelectedIPhoneVisualizations ()

public String getSelectedSecondaryDataSourceKeys ()

public VisualizationList getSelectedVisualizations ()

Returns
  • the list of visualizations available for the current report or document.

public HashList<String, String> getVisProps ()

public boolean haveSecondarySourcesChanged ()

public boolean isEditor ()

Indicates whether the instance most be considered editor.

Returns
  • True.

public boolean isEnabled ()

Indicates whether a ReportFrameElement is Enabled. Each bean checks its own features and other settings to determine whether it is enabled or not.

Returns
  • true
See Also

public void setScope (int scope)

Whether this editor applies to a Report (SCOPE_REPORT), a Grid in a Document (SCOPE_RW_GRID) or a Document (SCOPE_RW)

Parameters
scope int
See Also

Protected Methods

protected boolean hasTargetBeanChanged ()

When this method is called, we have already checked the children and each of the children has returned with hasChanged() as false. If #compareChildsTargetWithCurrent method returns true, then we check if any of the child's target bean is same as this object's target bean and return true if this is the case. If you want to check the targetbean of this component, then override compareChildsTargetWithCurrent to return true