wt.epm.clients.relateditems
Class RelatedItemsProcessor.ObjectInfoCache

java.lang.Object
  extended bywt.epm.clients.relateditems.RelatedItemsProcessor.ObjectInfoCache
Enclosing class:
RelatedItemsProcessor

protected static class RelatedItemsProcessor.ObjectInfoCache
extends Object


Field Summary
private  Map cache
           
 
Constructor Summary
protected RelatedItemsProcessor.ObjectInfoCache()
           
 
Method Summary
 void add(Collection objects, RelatedItemsSelector.IncludeType includeType)
          Adds the objects in the given collection to the cache.
private  void add(Collection objects, String lineage)
           
private  void add(Persistable object, String lineage)
           
 void add(RelatedItemsProcessor.ObjectGroup group)
          Adds the objects in the given group to the cache.
 void addAll(List groups)
          Adds the objects from all of the given groups to the cache.
 RelatedObjectInfo get(Persistable object)
          Gets the information stored in the cache about the object.
 List getAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache

private Map cache
Constructor Detail

RelatedItemsProcessor.ObjectInfoCache

protected RelatedItemsProcessor.ObjectInfoCache()
Method Detail

add

public void add(Collection objects,
                RelatedItemsSelector.IncludeType includeType)
Adds the objects in the given collection to the cache.


add

public void add(RelatedItemsProcessor.ObjectGroup group)
Adds the objects in the given group to the cache.


addAll

public void addAll(List groups)
Adds the objects from all of the given groups to the cache.


get

public RelatedObjectInfo get(Persistable object)
Gets the information stored in the cache about the object.


getAll

public List getAll()

add

private void add(Collection objects,
                 String lineage)

add

private void add(Persistable object,
                 String lineage)