Package | Description |
---|---|
ome.services.delete |
Implementations of the ome.api.IDelete service.
|
ome.services.graphs |
Server classes for handling complicated graphs of model objects.
|
omero.cmd.graphs |
Modifier and Type | Class and Description |
---|---|
class |
DeleteException
Deprecated.
will be removed in OMERO 5.3
|
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)
Traverse model object graph to determine steps for the proposed operation.
|
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)
Traverse model object graph to determine steps for the proposed operation.
|
void |
GraphTraversal.Processor.processInstances(String className,
Collection<Long> ids)
Process the given instances.
|
GraphTraversal.PlanExecutor |
GraphTraversal.processTargets()
Prepare to process the targeted model objects.
|
void |
GraphOpts.push(GraphOpts.Op op,
boolean modified,
EventContext ec)
Deprecated.
Adds the given operation to the current list if the user
has permissions to do so.
|
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 |
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)
Construct a new graph request factory.
|
Version: 5.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.