public class

AllObjectBrowserBeanImpl

extends FolderObjectExplorerBeanImpl
implements AllObjectBrowserBean
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.AbstractObjectExplorerBean
                 ↳ com.microstrategy.web.app.beans.FolderObjectExplorerBeanImpl
                   ↳ com.microstrategy.web.app.beans.AllObjectBrowserBeanImpl

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.AllObjectBrowserBean
From interface com.microstrategy.web.app.beans.AppComponent
[Expand]
Inherited Fields
From class com.microstrategy.web.app.beans.FolderObjectExplorerBeanImpl
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
Public Constructors
AllObjectBrowserBeanImpl()
Public Methods
boolean allowAllObjectBrowsing()
Specifies whether the user is allowed to browse all Objects to the project level
void doCollectData()
Extends collectData
ArrayList getAncestors()
int getBrowseFor()
String getRootFolderID()
This method returns the ID of the root folder of the editor it can be read either from the list of configured links or a plugin
String getStartingFolderID()
Specifies whether a specific report is configured to browse from a certain folder.
WebFolder getTreeRootFolder()
Get the root folder for the entire object browser tree.
String getTypeRestriction()
boolean hasDataExplorer()
Gets the information of whether to use the data explorer to render the browse contents or not NOTE: used when browsing from attributes to the elements
boolean isTargetingFilter()
Gets the information of whether in report creation or filter creation
boolean isTargetingTemplate()
void setBrowseFor(int browseFor)
Sets the browsing purpose of the explorer editor whether it's used in folder browsing or object browser (in report execution)
void setFilterTypeRestriction(String restrictions)
void setHasDataExplorer(boolean hasDataExplorer)
Sets whether to use the data explorer to render the browse contents or not
void setReportTypeRestriction(String restrictions)
Protected Methods
void doFlatState(FlatStateSerializer ser, int howMuchState, FlatStateTokenizer tok, int stateFlag)
String getFilterTypeRestriction()
String getReportTypeRestriction()
boolean hasTargetBeanChanged()
When this method is called, we have already checked the children and each of the children has returned with hasChanged() as false.
boolean isSaveStateEnabled()
void restoreTypeRestrictions(boolean restoring, FlatStateSerializer serializer, FlatStateTokenizer tokenizer)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.beans.FolderObjectExplorerBeanImpl
From class com.microstrategy.web.app.beans.AbstractObjectExplorerBean
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.AllObjectBrowserBean
From interface com.microstrategy.web.app.beans.AppComponent
From interface com.microstrategy.web.app.beans.FolderObjectExplorerBean
From interface com.microstrategy.web.app.beans.ObjectExplorerBean
From interface com.microstrategy.web.beans.RequestPersistable
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebComponent

Public Constructors

public AllObjectBrowserBeanImpl ()

Public Methods

public boolean allowAllObjectBrowsing ()

Specifies whether the user is allowed to browse all Objects to the project level

public void doCollectData ()

Extends collectData

public ArrayList getAncestors ()

See Also

public int getBrowseFor ()

public String getRootFolderID ()

This method returns the ID of the root folder of the editor it can be read either from the list of configured links or a plugin

public String getStartingFolderID ()

Specifies whether a specific report is configured to browse from a certain folder.

Returns
  • the folder ID if the report is configured with a specific browsing point.

public WebFolder getTreeRootFolder ()

Get the root folder for the entire object browser tree.

Returns
  • the root folder.

public String getTypeRestriction ()

public boolean hasDataExplorer ()

Gets the information of whether to use the data explorer to render the browse contents or not NOTE: used when browsing from attributes to the elements

public boolean isTargetingFilter ()

Gets the information of whether in report creation or filter creation

Returns
  • true if in filter creation mode

public boolean isTargetingTemplate ()

public void setBrowseFor (int browseFor)

Sets the browsing purpose of the explorer editor whether it's used in folder browsing or object browser (in report execution)

public void setFilterTypeRestriction (String restrictions)

public void setHasDataExplorer (boolean hasDataExplorer)

Sets whether to use the data explorer to render the browse contents or not

public void setReportTypeRestriction (String restrictions)

Protected Methods

protected void doFlatState (FlatStateSerializer ser, int howMuchState, FlatStateTokenizer tok, int stateFlag)

protected String getFilterTypeRestriction ()

protected String getReportTypeRestriction ()

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

protected boolean isSaveStateEnabled ()

Returns
  • boolean value indicating if the state should be saved for the current instance or not. By default it checks if the instance is marked as opened.

protected void restoreTypeRestrictions (boolean restoring, FlatStateSerializer serializer, FlatStateTokenizer tokenizer)