|
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.ExplorerDetail
ExplorerDetail thin bean. ExplorerDetail is used to display contents of one BI Beans catalog folder.
To set up the ExplorerDetail, application developer needs to set an implementation of the oracle.dss.bicontext.BIContext interface onto it. For more details, see BIContext
.
ExplorerDetail can be used standalone or in conjunction with the ExplorerTree. To combine ExplorerDetail with ExplorerTree, use method setExplorerDetail(ExplorerDetail detail) on the ExplorerTree. For more details, see ExplorerTree
.
ExplorerDetail fires ExplorerEvents to notify the registered ExplorerListeners when an http event has occured. For more details, see ExplorerListener
, ExplorerEvent
.
The ExplorerDetail
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.DELETE_EVENT
-- generated from the Delete column of the ExplorerDetailThe ExplorerDetail
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.DELETE_EVENT
-- generated from the Delete column of the ExplorerDetailFor more information about using the ExplorerDetail, see the "Explorer Detail" topic in the BI Beans Help system.
Explorer
, ExplorerTree
, ExplorerListener
, ExplorerEvent
Fields inherited from interface oracle.dss.thin.beans.ThinBeanUI |
EVENT_HANDLED, EVENT_NOT_HANDLED, EVENT_RESPONSE_DONE |
Constructor Summary | |
ExplorerDetail() Constructor. |
Method Summary | |
void |
checkpointState() Tells the ThinBean to start tracking state changes. |
java.lang.String |
getCheckpointState() Used to retrieve the state differences from the last time that state was checkpointed. |
java.lang.String[] |
getColumnNames() Retrieves the names of columns displayed in the table header |
java.lang.String[] |
getColumns() Retrieves the columns to be displayed in the table Valid types are any attribute names as defined in PSRConstants.Attributes |
java.lang.String |
getCurrentFolder() Retrieves the current directory for the Explorer . |
java.lang.String |
getCurrentFolderName() Retrieves the display name for the current folder |
java.lang.String |
getSearchCriterion() Retrieves the criterion for performing the search |
java.lang.String |
getSearchString() Retrieves the search string |
java.lang.String |
getState() Returns a String that represents the changes in the Explorer , since the Explorer was created or since setBaseState() was called. |
int |
handleEvent(QueryParameterProvider provider) An application's servlet must call handleEvent, when a ThinBean event triggered the servlet request. |
boolean |
isBreadCrumbsVisible() Indicates whether the ExplorerDetail displays bread crumbs to the current folder |
boolean |
isDeleteEnabled() Indicates whether the ExplorerDetail displays the Delete column |
boolean |
isHeaderVisible() Indicates whether the ExplorerDetail displays a header |
void |
refreshModel() Refreshes the model to be renderered by this ExplorerDetail |
void |
setBaseState() Establishes a base state for the Explorer from which state changes that go onto the state string are tracked. |
void |
setBreadCrumbsVisible(boolean visible) Specifies whether the ExplorerDetail should display bread crumbs to the current folder. |
void |
setCheckpointState(java.lang.String state) Used to set state differences from the last time that state was checkpointed. |
void |
setColumnNames(java.lang.String[] columnNames) Specifies the names of columns displayed in the table header |
void |
setColumns(java.lang.String[] columns) Specifies which columns are displayed in the table Valid types are any attribute names as defined in PSRConstants.Attributes |
void |
setCurrentFolder(java.lang.String currentFolder) Specifies the current directory for the Explorer . |
void |
setDeleteEnabled(boolean enabled) Specifies whether the ExplorerDetail displays the Delete column |
void |
setHeaderVisible(boolean visible) Specifies whether the ExplorerDetail should display a header. |
void |
setSearchCriterion(java.lang.String searchCriterion) Specifies the criterion for performing the search |
void |
setSearchString(java.lang.String searchString) Specifies the matching string for performing the search |
void |
setSelectedPath(java.lang.String path) Specifies the selected path. |
void |
setState(java.lang.String state) Sets a state string that represents the changes on the Explorer , since the Explorer was created or since setBaseState() was called. |
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 ExplorerDetail()
Method Detail |
public void setBaseState()
Explorer
from which state changes that go onto the state string are tracked. This call will effectively clear the thin bean's current state string.setBaseState
in class Explorer
public void setState(java.lang.String state)
Explorer
, since the Explorer
was created or since setBaseState() was called. This string placed onto the URLs/Forms that an application generates, so that the application can re-establish the thin bean's state from a request's URL. This placing of an application's state onto the URL supports the ability for the application to support re-establishing application state from a bookmark.setState
in class Explorer
a
- Explorer
statepublic java.lang.String getState()
Explorer
, since the Explorer
was created or since setBaseState() was called. This string placed onto the URLs/Forms that an application generates, so that the application can re-establish the thin bean's state from a request's URL. This placing of an application's state onto the URL supports the ability for the application to support re-establishing application state from a bookmark.getState
in class Explorer
Explorer
's statepublic java.lang.String getCheckpointState()
getCheckpointState
in class Explorer
public void setCheckpointState(java.lang.String state) throws ThinException
setCheckpointState
in class Explorer
state
- the state differences from the last checkpointThinException
- if the state could not be setpublic void checkpointState()
checkpointState
in class Explorer
oracle.dss.thin.beans.CheckpointState
ThinBean.getState()
, BIStateManager
public void setSelectedPath(java.lang.String path) throws javax.naming.NamingException
setSelectedPath
in class Explorer
path
- javax.naming.NamingException
- if the path could not be selectedpublic 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 Explorer
provider
- 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 java.lang.String getCurrentFolderName()
public java.lang.String getCurrentFolder()
Explorer
.public void setCurrentFolder(java.lang.String currentFolder) throws javax.naming.NamingException
Explorer
.current
- directory String namejavax.naming.NamingException
- if there was an error searching for contents of the specified folderpublic boolean isHeaderVisible()
ExplorerDetail
displays a headerpublic void setHeaderVisible(boolean visible)
ExplorerDetail
should display a header.true
- if the header should be displayedpublic boolean isBreadCrumbsVisible()
ExplorerDetail
displays bread crumbs to the current folderpublic void setBreadCrumbsVisible(boolean visible)
ExplorerDetail
should display bread crumbs to the current folder.true
- if the bread crumbs should be displayedpublic void setColumns(java.lang.String[] columns)
the
- String array of column attributes, as registered with the BIBeans Repositorypublic java.lang.String[] getColumns()
public void setColumnNames(java.lang.String[] columnNames)
the
- String array of column names to be displayed in the UIpublic java.lang.String[] getColumnNames()
public void setSearchCriterion(java.lang.String searchCriterion)
the
- criterion attribute, as defined in PSRConstants.Attributespublic java.lang.String getSearchCriterion()
public void setSearchString(java.lang.String searchString)
the
- search stringpublic java.lang.String getSearchString()
public boolean isDeleteEnabled()
ExplorerDetail
displays the Delete columnpublic void setDeleteEnabled(boolean enabled)
ExplorerDetail
displays the Delete columnenabled
- true if the Delete column should be enabledpublic void refreshModel() throws javax.naming.NamingException
ExplorerDetail
refreshModel
in class Explorer
javax.naming.NamingException
- if the model could not be refreshed
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |