Class Callback_IContainer_findContainerHierarchies
- java.lang.Object
-
- IceInternal.CallbackBase
-
- IceInternal.TwowayCallback
-
- omero.api.Callback_IContainer_findContainerHierarchies
-
- All Implemented Interfaces:
Ice.TwowayCallback
,Ice.TwowayCallbackArg1<java.util.List<IObject>>
,Ice.TwowayCallbackArg1UE<java.util.List<IObject>>
public abstract class Callback_IContainer_findContainerHierarchies extends IceInternal.TwowayCallback implements Ice.TwowayCallbackArg1UE<java.util.List<IObject>>
Retrieves hierarchy trees in various hierarchies that contain the specified Images.This method will look for all the containers containing the specified Images and then for all containers containing those containers and on up the container hierarchy.
This method returns a
Set
with all root nodes that were found. Every root node is linked to the found objects and so on until the leaf nodes, which areImage
objects. Note that the type of any root node in the returned set can be the given rootNodeType, any of its containees or anImage
.For example, say that you pass in the ids of six Images:
i1, i2, i3, i4, i5, i6
. If the P/D/I hierarchy in the DB looks like this:| __p1__ | / \ | _d1_ _d2_ d3 | / \ / \ | | i1 i2 i3 i4 i5 i6
Then the returned set will contain
p1, d3, i5, i6
. All objects will be properly linked up.Finally, this method will only retrieve the nodes that are connected in a tree to the specified leaf image nodes. Back to the previous example, if
d1
contained imageimg500
, then the returned object would not containimg500
. In a similar way, ifp1
containedds300
and this dataset weren't linked to any of thei1, i2, i3, i4, i5, i6
images, thends300
would not be part of the returned tree rooted byp1
.
-
-
Constructor Summary
Constructors Constructor Description Callback_IContainer_findContainerHierarchies()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
__completed(Ice.AsyncResult __result)
-