public class ChildOptionsPolicy
extends java.lang.Object
Constructor and Description |
---|
ChildOptionsPolicy() |
Modifier and Type | Method and 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.
|
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)
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