Package | Description |
---|---|
ome.services.graphs |
Server classes for handling complicated graphs of model objects.
|
omero.cmd.graphs |
Modifier and Type | Method and Description |
---|---|
void |
GraphTraversal.Processor.assertMayProcess(java.lang.String className,
long id,
Details details)
Assert that an object with the given details may be processed.
|
void |
GraphTraversal.assertNoPolicyViolations()
Check that there are no policy violations matched by
p:error policy rules. |
void |
GraphTraversal.assertNoUnlinking()
Assert that
GraphTraversal.unlinkTargets(boolean) need not be called. |
void |
GraphTraversal.Processor.deleteInstances(java.lang.String className,
java.util.Collection<java.lang.Long> ids)
Delete the given instances.
|
void |
GraphTraversal.PlanExecutor.execute()
Perform the planned action.
|
boolean |
GraphPolicyRulePredicate.isMatch(GraphPolicy.Details object,
java.lang.String parameter)
If this predicate is satisfied by the given object.
|
boolean |
GroupPredicate.isMatch(GraphPolicy.Details object,
java.lang.String parameter) |
boolean |
PermissionsPredicate.isMatch(GraphPolicy.Details object,
java.lang.String parameter) |
static GraphPolicy |
GraphPolicyRule.parseRules(GraphPathBean graphPathBean,
java.util.Collection<GraphPolicyRule> rules)
Convert the text-based rules as specified in the configuration metadata into a policy applicable in
model object graph traversal.
|
java.util.Map.Entry<java.util.Collection<IObject>,java.util.Collection<IObject>> |
GraphTraversal.planOperation(java.util.Collection<? extends IObject> objectInstances,
boolean include,
boolean applyRules)
Traverse model object graph to determine steps for the proposed operation.
|
java.util.Map.Entry<com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long>,com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long>> |
GraphTraversal.planOperation(com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> objects,
boolean include,
boolean applyRules)
Traverse model object graph to determine steps for the proposed operation.
|
void |
GraphTraversal.Processor.processInstances(java.lang.String className,
java.util.Collection<java.lang.Long> ids)
Process the given instances.
|
GraphTraversal.PlanExecutor |
GraphTraversal.processTargets()
Prepare to process the targeted model objects.
|
abstract java.util.Set<GraphPolicy.Details> |
GraphPolicy.review(java.util.Map<java.lang.String,java.util.Set<GraphPolicy.Details>> linkedFrom,
GraphPolicy.Details rootObject,
java.util.Map<java.lang.String,java.util.Set<GraphPolicy.Details>> linkedTo,
java.util.Set<java.lang.String> notNullable,
boolean isErrorRules)
The action to take about the link between the mapped objects.
|
GraphTraversal.PlanExecutor |
GraphTraversal.unlinkTargets(boolean isUnlinkIncludeFromExclude)
Prepare to remove links between the targeted model objects and the remainder of the model object graph.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseGraphTraversalProcessor.assertMayProcess(java.lang.String className,
long id,
Details details) |
void |
NullGraphTraversalProcessor.assertMayProcess(java.lang.String className,
long id,
Details details) |
void |
BaseGraphTraversalProcessor.deleteInstances(java.lang.String className,
java.util.Collection<java.lang.Long> ids) |
static GraphPolicy |
SkipHeadPolicy.getSkipHeadPolicySkip(GraphPolicy graphPolicy,
GraphPathBean graphPathBean,
java.util.Collection<java.lang.String> startFrom,
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.
|
java.util.Set<GraphPolicy.Details> |
BaseGraphPolicyAdjuster.review(java.util.Map<java.lang.String,java.util.Set<GraphPolicy.Details>> linkedFrom,
GraphPolicy.Details rootObject,
java.util.Map<java.lang.String,java.util.Set<GraphPolicy.Details>> linkedTo,
java.util.Set<java.lang.String> notNullable,
boolean isErrorRules) |
Constructor and Description |
---|
GraphRequestFactory(ACLVoter aclVoter,
Roles securityRoles,
GraphPathBean graphPathBean,
LightAdminPrivileges adminPrivileges,
Deletion deletionInstance,
java.util.Map<java.lang.Class<? extends omero.cmd.Request>,java.util.List<java.lang.String>> allTargets,
java.util.Map<java.lang.Class<? extends omero.cmd.Request>,java.util.List<GraphPolicyRule>> allRules,
java.util.List<java.lang.String> unnullable,
java.util.Set<java.lang.String> defaultExcludeNs)
Construct a new graph request factory.
|
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.