|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jdeveloper.history.HistoryManager
public abstract class HistoryManager
The HistoryManager provides a mechanism for extensions to register HistoryProvider instances, which are used to retrieve a list of history entries for a URL for the history viewer.
Extensions should use the registerProvider() and unregisterProvider() methods to register a history provider with the manager.
| Field Summary | |
|---|---|
protected static java.lang.String |
JNDI_NAMEThe implementation of HistoryManager is stored in this JNDI name. |
| Constructor Summary | |
|---|---|
HistoryManager() |
|
| Method Summary | |
|---|---|
HistoryModel |
buildModel(java.net.URL url, boolean isAsynchronous, HistoryFilter filter)Retrieve a HistoryModel for the specified URL. |
HistoryModel |
buildModel(java.net.URL url, boolean isAsynchronous, HistoryFilter filter, java.util.Collection providers)Retrieve a HistoryModel for the specified URL. |
HistoryComponent |
createHistoryComponent()Create a history component with no initial model. |
HistoryComponent |
createHistoryComponent(HistoryModel model)Obtain a history component for the specified URL. |
HistoryFilter |
getAllFilter()Get the predefined filter that returns all items in the history. |
ContextMenu |
getContextMenu()Get the context menu that is displayed in the history viewer. |
CustomFilterManager |
getCustomFilterManager()Get the manager for registered custom filters. |
static HistoryManager |
getHistoryManager()Get the history manager. |
java.util.Collection |
getProviders()Get all registered providers. |
void |
registerProvider(HistoryProvider provider)Register a provider with the manager. |
abstract void |
showHistory(Context context)Request that the history be shown for the specified Context. |
abstract void |
showHistory(Node node)Request that the history be shown for the specified Node. |
void |
unregisterProvider(HistoryProvider provider)Unregister a provider from the manager. |
abstract void |
updateHistory(java.net.URL url)Request that the history for the specified URL be updated if it is currently visible via a history viewer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String JNDI_NAME
| Constructor Detail |
|---|
public HistoryManager()
| Method Detail |
|---|
public CustomFilterManager getCustomFilterManager()
public HistoryFilter getAllFilter()
public static final HistoryManager getHistoryManager()
public void registerProvider(HistoryProvider provider)
provider - an object that supplies history entries.public void unregisterProvider(HistoryProvider provider)
provider - an object previously registered via registerProvider.public java.util.Collection getProviders()
public final ContextMenu getContextMenu()
public final HistoryComponent createHistoryComponent()
public final HistoryComponent createHistoryComponent(HistoryModel model)
url - the URL to get a history component for.public abstract void showHistory(Context context)
node - the Context to display history for.public abstract void showHistory(Node node)
node - the Node to display history for.public abstract void updateHistory(java.net.URL url)
url - the url of the history to update.
public HistoryModel buildModel(java.net.URL url,
boolean isAsynchronous,
HistoryFilter filter)
url - the url to get the history for.isAsynchronous - if true, the model should be built on another thread if possible.filter - an optional filter. Can be null.
public HistoryModel buildModel(java.net.URL url,
boolean isAsynchronous,
HistoryFilter filter,
java.util.Collection providers)
url - the url to get the history for.isAsynchronous - if true, the model should be built on another thread if possible.filter - an optional filter. Can be null.providers - the list of history providers.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||