Package omero.cmd.graphs
Class ChildOptionsPolicy
- java.lang.Object
-
- omero.cmd.graphs.ChildOptionsPolicy
-
public class ChildOptionsPolicy extends java.lang.Object
Adjust graph traversal policy for child objects according to their type and, if annotations, namespace.- Since:
- 5.1.0
-
-
Constructor Summary
Constructors Constructor Description ChildOptionsPolicy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ome.services.graphs.GraphPolicy
getChildOptionsPolicy(ome.services.graphs.GraphPolicy graphPolicyToAdjust, java.util.Collection<ChildOptionI> childOptions, java.util.Set<ome.services.graphs.GraphPolicy.Ability> requiredPermissions)
Adjust an existing graph traversal policy so that child objects may be included or excluded regardless of if they are truly orphans.
-
-
-
Method Detail
-
getChildOptionsPolicy
public static ome.services.graphs.GraphPolicy getChildOptionsPolicy(ome.services.graphs.GraphPolicy graphPolicyToAdjust, java.util.Collection<ChildOptionI> childOptions, java.util.Set<ome.services.graphs.GraphPolicy.Ability> requiredPermissions)
Adjust an existing graph traversal policy so that child objects may be included or excluded regardless of if they are truly orphans.- Parameters:
graphPolicyToAdjust
- the graph policy to adjustchildOptions
- the child options that the policy adjustments are to effectrequiredPermissions
- the abilities that the user must have to operate upon an object for it to be included- Returns:
- the adjusted graph policy
-
-