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(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(String className,
Collection<Long> ids)
Delete the given instances.
|
void |
GraphTraversal.PlanExecutor.execute()
Perform the planned action.
|
boolean |
GraphPolicyRulePredicate.isMatch(GraphPolicy.Details object,
String parameter)
If this predicate is satisfied by the given object.
|
boolean |
GroupPredicate.isMatch(GraphPolicy.Details object,
String parameter) |
boolean |
PermissionsPredicate.isMatch(GraphPolicy.Details object,
String parameter) |
static GraphPolicy |
GraphPolicyRule.parseRules(GraphPathBean graphPathBean,
Collection<GraphPolicyRule> rules)
Convert the text-based rules as specified in the configuration metadata into a policy applicable in
model object graph traversal.
|
Map.Entry<Collection<IObject>,Collection<IObject>> |
GraphTraversal.planOperation(org.hibernate.Session session,
Collection<? extends IObject> objectInstances,
boolean include,
boolean applyRules)
Deprecated.
from OMERO 5.4 the session argument is no longer included
|
Map.Entry<com.google.common.collect.SetMultimap<String,Long>,com.google.common.collect.SetMultimap<String,Long>> |
GraphTraversal.planOperation(org.hibernate.Session session,
com.google.common.collect.SetMultimap<String,Long> objects,
boolean include,
boolean applyRules)
Deprecated.
from OMERO 5.4 the session argument is no longer included
|
void |
GraphTraversal.Processor.processInstances(String className,
Collection<Long> ids)
Process the given instances.
|
GraphTraversal.PlanExecutor |
GraphTraversal.processTargets()
Prepare to process the targeted model objects.
|
abstract Set<GraphPolicy.Details> |
GraphPolicy.review(Map<String,Set<GraphPolicy.Details>> linkedFrom,
GraphPolicy.Details rootObject,
Map<String,Set<GraphPolicy.Details>> linkedTo,
Set<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(String className,
long id,
Details details) |
void |
NullGraphTraversalProcessor.assertMayProcess(String className,
long id,
Details details) |
void |
BaseGraphTraversalProcessor.deleteInstances(String className,
Collection<Long> ids) |
static GraphPolicy |
SkipHeadPolicy.getSkipHeadPolicySkip(GraphPolicy graphPolicy,
GraphPathBean graphPathBean,
Collection<String> startFrom,
GraphPolicy.Action startAction,
com.google.common.collect.SetMultimap<String,Long> permissionsOverrides)
Adjust an existing graph traversal policy so that orphaned model objects will always or never be included,
according to their type.
|
Set<GraphPolicy.Details> |
BaseGraphPolicyAdjuster.review(Map<String,Set<GraphPolicy.Details>> linkedFrom,
GraphPolicy.Details rootObject,
Map<String,Set<GraphPolicy.Details>> linkedTo,
Set<String> notNullable,
boolean isErrorRules) |
Constructor and Description |
---|
GraphRequestFactory(ACLVoter aclVoter,
Roles securityRoles,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Deletion deletionInstance,
Map<Class<? extends omero.cmd.Request>,List<String>> allTargets,
Map<Class<? extends omero.cmd.Request>,List<GraphPolicyRule>> allRules,
List<String> unnullable,
Set<String> defaultExcludeNs)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.