public class HierarchyNavigator
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected ome.api.IQuery | iQueryavailable query service | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | HierarchyNavigator(ome.api.IQuery iQuery)Construct a new hierarchy navigator. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected com.google.common.collect.ImmutableSet<java.lang.Long> | doLookup(java.lang.String toType,
        java.lang.String fromType,
        java.lang.Long fromId)Look up which objects of a given type relate to the given query object. | 
| protected void | prepareLookups(java.lang.String toType,
              java.lang.String fromType,
              java.util.Collection<java.lang.Long> fromIds)Batch bulk database queries to prime the cache for  doLookup(String, String, Long). | 
protected HierarchyNavigator(ome.api.IQuery iQuery)
iQuery - the query serviceprotected void prepareLookups(java.lang.String toType,
                              java.lang.String fromType,
                              java.util.Collection<java.lang.Long> fromIds)
doLookup(String, String, Long).
 It is not necessary to call this method, but it is advised if many lookups are anticipated.toType - the type of the objects to which the query objects may be related, not nullfromType - the query object's type, not nullfromIds - the query objects' database IDs, none nullprotected com.google.common.collect.ImmutableSet<java.lang.Long> doLookup(java.lang.String toType,
                                                                          java.lang.String fromType,
                                                                          java.lang.Long fromId)
prepareLookups(String, String, Collection).toType - the type of the objects to which the query object may be related, not nullfromType - the query object's type, not nullfromId - the query object's database ID, not nullnull