public class SkipHeadPolicy
extends java.lang.Object
| Constructor and Description |
|---|
SkipHeadPolicy() |
| Modifier and Type | Method and Description |
|---|---|
static ome.services.graphs.GraphPolicy |
getSkipHeadPolicyPerform(ome.services.graphs.GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> permissionsOverrides)
Adjust an existing graph traversal policy so that for specific model objects permissions are not checked.
|
static ome.services.graphs.GraphPolicy |
getSkipHeadPolicySkip(ome.services.graphs.GraphPolicy graphPolicy,
ome.services.graphs.GraphPathBean graphPathBean,
java.util.Collection<java.lang.String> startFrom,
ome.services.graphs.GraphPolicy.Action startAction,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> permissionsOverrides)
Adjust an existing graph traversal policy so that orphaned model objects will always or never be included,
according to their type.
|
public static ome.services.graphs.GraphPolicy getSkipHeadPolicySkip(ome.services.graphs.GraphPolicy graphPolicy,
ome.services.graphs.GraphPathBean graphPathBean,
java.util.Collection<java.lang.String> startFrom,
ome.services.graphs.GraphPolicy.Action startAction,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> permissionsOverrides)
throws ome.services.graphs.GraphException
graphPolicy - the graph policy to adjustgraphPathBean - the graph path bean, for converting class names to the actual classesstartFrom - the model object types to from which to start inclusion, may not be empty or nullstartAction - the action associated with nodes qualifying as start objectspermissionsOverrides - where to note for which startFrom objects permissions are not to be checkedome.services.graphs.GraphException - if no start classes are namedpublic static ome.services.graphs.GraphPolicy getSkipHeadPolicyPerform(ome.services.graphs.GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> permissionsOverrides)
graphPolicy - the graph policy to adjustpermissionsOverrides - for which model objects permissions are not to be checked