wt.occurrence
Class OccurrenceCache
java.lang.Object
wt.occurrence.OccurrenceCache
- public class OccurrenceCache
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contexts
private ArrayList contexts
usesOccurrences
private HashMap usesOccurrences
singleContext
private boolean singleContext
OccurrenceCache
public OccurrenceCache(boolean singleContext)
getOccurrenceCache
public static OccurrenceCache getOccurrenceCache(String cacheName)
- Given the name of an occurrence cache, retrieves it from the method context.
If a cache by that name does not exist, this method will create it and add it
to the method context.
getUsesOccurrences
public QueryResult getUsesOccurrences(OccurrenceableLink link)
throws WTException
- Throws:
WTException
updateOccurrences
protected void updateOccurrences(ObjectIdentifier contextID)
throws WTException
- Throws:
WTException
getUsesOccurrences
protected QueryResult getUsesOccurrences(ObjectIdentifier contextID)
throws WTException
- Throws:
WTException
getContextID
protected ObjectIdentifier getContextID(OccurrenceableLink link)
getLinkID
protected ObjectIdentifier getLinkID(UsesOccurrence occurrence)