|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.dss.thin.beans.BaseThinBeanUI
|
+--oracle.dss.thin.beans.persistence.Explorer
|
+--oracle.dss.thin.beans.persistence.ExplorerTree
The ExplorerTree thin bean. ExplorerTree is used to display contents of the BI Beans Catalog in a hierarhical tree form.
To set up the ExplorerTree, application developer needs to set an implementation of the oracle.dss.bicontext.BIContext interface onto it. For more details, see BIContext. ExplorerTree fires ExplorerEvents to notify the registered ExplorerListeners when a tree node is selected. For more details, see ExplorerListener, ExplorerEvent.
The ExplorerTree generates the following events:
BIConstants.GOTO_ROW_EVENT -- generated by row navigation in ExplorerDetail/ExplorerSearchBIConstants.SELECT_OBJECT_EVENT -- generated when a BI Beans Catalog item was selected in any of the Explorer beansBIConstants.SELECT_FOLDER_EVENT -- generated when a BI Beans Catalog folder was selected in any of the Explorer beansBIConstants.FILTER_EVENT -- generated by filtering the object types displayed by the Explorer beansBIConstants.SEARCH_EVENT -- generated from the ExplorerTree search area, and from the ExplorerSearchBIConstants.EXPAND_FOLDER_EVENT -- generated when ExplorerTree folder is expandedBIConstants.COLLAPSE_FOLDER_EVENT -- generated when ExplorerTree folder is collapsedThe ExplorerTree handles the following events:
BIConstants.GOTO_ROW_EVENT -- generated by row navigation in ExplorerDetail/ExplorerSearchBIConstants.SELECT_OBJECT_EVENT -- generated when a BI Beans Catalog item was selected in any of the Explorer beansBIConstants.SELECT_FOLDER_EVENT -- generated when a BI Beans Catalog folder was selected in any of the Explorer beansBIConstants.FILTER_EVENT -- generated by filtering the object types displayed by the Explorer beansBIConstants.SEARCH_EVENT -- generated from the ExplorerTree search area, and from the ExplorerSearchBIConstants.EXPAND_FOLDER_EVENT -- generated when ExplorerTree folder is expandedBIConstants.COLLAPSE_FOLDER_EVENT -- generated when ExplorerTree folder is collapsedFor more information about using the ExplorerTree, see the "Explorer Tree" topic in the BI Beans Help system.
Explorer, ExplorerDetail, ExplorerSearch, ExplorerListener, ExplorerEvent, SaveAs| Fields inherited from interface oracle.dss.thin.beans.ThinBeanUI |
EVENT_HANDLED, EVENT_NOT_HANDLED, EVENT_RESPONSE_DONE |
| Constructor Summary | |
ExplorerTree()Constructor. | |
| Method Summary | |
boolean |
expandPath(java.lang.String path)Expands the given path in the tree |
java.lang.String[] |
getObjectTypeNames()Retrieves the names of types displayed in the object type filter |
java.lang.String |
getTitle()Retrieves the title to be displayed above the tree |
int |
handleEvent(QueryParameterProvider provider)An application's servlet must call handleEvent, when a ThinBean event triggered the servlet request. |
boolean |
isFoldersSelectable()Indicates whether the ExplorerTree allows folder selection |
void |
setExplorerDetail(ExplorerDetail explorerDetail)Sets the ExplorerDetail on the ExplorerTree |
void |
setFoldersSelectable(boolean selectable)Specifies whether the ExplorerTree allows folder selection |
void |
setSelectedPath(java.lang.String path)Specifies the selected path. |
void |
setTitle(java.lang.String title)Specifies the title to be displayed above the tree |
| Methods inherited from class oracle.dss.thin.beans.BaseThinBeanUI |
addErrorHandler, generateOnClickSubmit, getEventTarget, getLocale, getThinBeanName, removeErrorHandler, setEventTarget, setLocale, setThinBeanName |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExplorerTree()
| Method Detail |
public int handleEvent(QueryParameterProvider provider)
throws ThinException
ThinBean event triggered the servlet request. To determine the correct ThinBean to call handleEvent() on, the application should check the "source" query parameter, which will be the ThinBeanName of the ThinBean that rendered the URL/Form in HTML and which also needs to handle the event. The application can also choose to call handleEvent on all of its ThinBeanUI components and check the return value of handleEvent() to determine which component has handled the event. Each ThinBeanUI component needs to check the source parameter to make sure that it matches their ThinBeanName. If it does not match, then the event should not be processed.handleEvent in class Explorerprovider - An instance of a QueryParameterProvider that returns decoded and unescaped query parameter values from HTTPServletRequestsThinBeanUI.EVENT_NOT_HANDLED, ThinBeanUI.EVENT_HANDLED, ThinBeanUI.EVENT_RESPONSE_DONE
public void setExplorerDetail(ExplorerDetail explorerDetail)
throws javax.naming.NamingException
explorerDetail - the ExplorerDetail thin beanjavax.naming.NamingException - if the ExplorerDetail could not be updated with the contents of ExplorerTree's current folderpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title -
public void setSelectedPath(java.lang.String path)
throws javax.naming.NamingException
setSelectedPath in class Explorerpath - the path that is to appear as selected in the ExplorerTreejavax.naming.NamingException - if the path could not be selected
public boolean expandPath(java.lang.String path)
throws javax.naming.NamingException
path - the String path to be expandedjavax.naming.NamingException - if the path could not be expandedpublic java.lang.String[] getObjectTypeNames()
getObjectTypeNames in class Explorerpublic boolean isFoldersSelectable()
ExplorerTree allows folder selectionpublic void setFoldersSelectable(boolean selectable)
ExplorerTree allows folder selectiontrue - if the folders can be selected
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||