Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.jdeveloper.offlinedb.model
Class NodeCache

java.lang.Object
  extended by oracle.jdeveloper.offlinedb.model.NodeCache


Deprecated. - this API has been moved to OfflineDBObjectProvider. See the getObjectURL and getObjectNode methods.

@Deprecated
public abstract class NodeCache
extends java.lang.Object

A NodeCache is a cache of object IDs to URLs that every OfflineDBObjectProvider has to lookup the file representing a given object.

Since:
11.1.1.2.0

Constructor Summary
NodeCache()
          Deprecated.  

 

Method Summary
 boolean containsURL(java.net.URL url)
          Deprecated. Tests whether the given URL has an ID mapped to it in the cache
 DBObjectID findID(Locatable node)
          Deprecated. Finds the DBObject for the given node in the cache.
abstract  DBObjectID findID(java.net.URL url)
          Deprecated. Finds the DBObject from the given URL.
 Node findNode(DBObject obj)
          Deprecated. Attempts to find the node in the navigator for the given object.
 Node findNode(DBObjectID id)
          Deprecated. Attempts to find a node in the navigator for the given object.
 java.net.URL findURL(DBObject obj)
          Deprecated. Attempts to find a URL for the given object.
abstract  java.net.URL findURL(DBObjectID id)
          Deprecated. Attempts to find a URL for the given object id.
protected  java.util.logging.Logger getLogger()
          Deprecated.  

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

NodeCache

public NodeCache()
Deprecated. 

Method Detail

findNode

public final Node findNode(DBObject obj)
Deprecated. 
Attempts to find the node in the navigator for the given object. The object must have a valid ID for a URL to be found.
Parameters:
obj - an offline database object
Returns:
the node for that object's offline file (if one exists).
See Also:
findURL(DBObject)

findNode

public final Node findNode(DBObjectID id)
Deprecated. 
Attempts to find a node in the navigator for the given object.
Parameters:
id - an offline database object's id
Returns:
the node for that object's offline file (if one exists).
See Also:
findURL(DBObjectID)

findURL

public final java.net.URL findURL(DBObject obj)
Deprecated. 
Attempts to find a URL for the given object. The object must have a valid ID for a URL to be found.
Parameters:
obj - an offline database object
Returns:
the URL for that object's offline file (if one exists).

findURL

public abstract java.net.URL findURL(DBObjectID id)
Deprecated. 
Attempts to find a URL for the given object id.
Parameters:
id - an offline database object's id
Returns:
the URL for that object's offline file (if one exists).

findID

public final DBObjectID findID(Locatable node)
Deprecated. 
Finds the DBObject for the given node in the cache.
Parameters:
node - a Locatable object representing an offline database object's file
Returns:
the id for that offline database object

containsURL

public boolean containsURL(java.net.URL url)
Deprecated. 
Tests whether the given URL has an ID mapped to it in the cache
Parameters:
url - an offline database object's URL
Returns:
true if the url is in this cache

findID

public abstract DBObjectID findID(java.net.URL url)
Deprecated. 
Finds the DBObject from the given URL.

getLogger

protected java.util.logging.Logger getLogger()
Deprecated. 

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.