Package | Description |
---|---|
ome.services.graphs |
Server classes for handling complicated graphs of model objects.
|
omero.cmd.graphs |
Modifier and Type | Method and Description |
---|---|
abstract GraphPolicy |
GraphPolicy.getCleanInstance()
Create a clone of this graph policy that has fresh state.
|
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.
|
Constructor and Description |
---|
GraphTraversal(org.hibernate.Session session,
EventContext eventContext,
ACLVoter aclVoter,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
com.google.common.collect.SetMultimap<String,String> unnullable,
GraphPolicy policy,
GraphTraversal.Processor processor)
Construct a new instance of a graph traversal manager.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseGraphPolicyAdjuster
The base class assists adjustment of an existing graph traversal policy.
|
Modifier and Type | Method and Description |
---|---|
static GraphPolicy |
ChildOptionsPolicy.getChildOptionsPolicy(GraphPolicy graphPolicyToAdjust,
Collection<ChildOptionI> childOptions,
Set<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.
|
GraphPolicy |
BaseGraphPolicyAdjuster.getCleanInstance() |
static GraphPolicy |
SkipHeadPolicy.getSkipHeadPolicyPerform(GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<String,Long> permissionsOverrides)
Adjust an existing graph traversal policy so that for specific model objects permissions are not checked.
|
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.
|
static GraphPolicy |
SkipTailPolicy.getSkipTailPolicy(GraphPolicy graphPolicy,
com.google.common.base.Predicate<Class<? extends IObject>> isSkipClass)
Adjust an existing graph traversal policy so that processing stops at certain model object classes.
|
Modifier and Type | Method and Description |
---|---|
static GraphPolicy |
ChildOptionsPolicy.getChildOptionsPolicy(GraphPolicy graphPolicyToAdjust,
Collection<ChildOptionI> childOptions,
Set<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.
|
static GraphPolicy |
SkipHeadPolicy.getSkipHeadPolicyPerform(GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<String,Long> permissionsOverrides)
Adjust an existing graph traversal policy so that for specific model objects permissions are not checked.
|
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.
|
static GraphPolicy |
SkipTailPolicy.getSkipTailPolicy(GraphPolicy graphPolicy,
com.google.common.base.Predicate<Class<? extends IObject>> isSkipClass)
Adjust an existing graph traversal policy so that processing stops at certain model object classes.
|
GraphTraversal |
GraphHelper.prepareGraphTraversal(List<omero.cmd.graphs.ChildOption> childOptions,
Set<GraphPolicy.Ability> requiredPermissions,
GraphPolicy graphPolicy,
Iterable<com.google.common.base.Function<GraphPolicy,GraphPolicy>> graphPolicyAdjusters,
ACLVoter aclVoter,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
com.google.common.collect.SetMultimap<String,String> unnullable,
GraphTraversal.Processor processor,
boolean dryRun)
Construct a graph traversal manager for a
GraphModify2 request. |
Modifier and Type | Method and Description |
---|---|
void |
Chgrp2I.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster) |
void |
Chgrp2I.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster) |
void |
Chmod2I.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster) |
void |
Chmod2I.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster) |
void |
Chown2I.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster) |
void |
Chown2I.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster) |
void |
Delete2I.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster) |
void |
Delete2I.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster) |
void |
DuplicateI.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster) |
void |
DuplicateI.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster) |
void |
WrappableRequest.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster)
Transform the currently applicable graph policy for this request by the given function.
|
void |
WrappableRequest.adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster)
Transform the currently applicable graph policy for this request by the given function.
|
GraphTraversal |
GraphHelper.prepareGraphTraversal(List<omero.cmd.graphs.ChildOption> childOptions,
Set<GraphPolicy.Ability> requiredPermissions,
GraphPolicy graphPolicy,
Iterable<com.google.common.base.Function<GraphPolicy,GraphPolicy>> graphPolicyAdjusters,
ACLVoter aclVoter,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
com.google.common.collect.SetMultimap<String,String> unnullable,
GraphTraversal.Processor processor,
boolean dryRun)
Construct a graph traversal manager for a
GraphModify2 request. |
GraphTraversal |
GraphHelper.prepareGraphTraversal(List<omero.cmd.graphs.ChildOption> childOptions,
Set<GraphPolicy.Ability> requiredPermissions,
GraphPolicy graphPolicy,
Iterable<com.google.common.base.Function<GraphPolicy,GraphPolicy>> graphPolicyAdjusters,
ACLVoter aclVoter,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
com.google.common.collect.SetMultimap<String,String> unnullable,
GraphTraversal.Processor processor,
boolean dryRun)
Construct a graph traversal manager for a
GraphModify2 request. |
Constructor and Description |
---|
BaseGraphPolicyAdjuster(GraphPolicy graphPolicy)
Construct a new graph policy adjuster.
|
Chgrp2I(ACLVoter aclVoter,
Roles securityRoles,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Deletion deletionInstance,
Set<Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<String,String> unnullable)
Construct a new
chgrprequest; called from GraphRequestFactory.getRequest(Class) . |
Chmod2I(ACLVoter aclVoter,
Roles securityRoles,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Deletion deletionInstance,
Set<Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<String,String> unnullable)
Construct a new
chmodrequest; called from GraphRequestFactory.getRequest(Class) . |
Chown2I(ACLVoter aclVoter,
Roles securityRoles,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Deletion deletionInstance,
Set<Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<String,String> unnullable)
Construct a new
chownrequest; called from GraphRequestFactory.getRequest(Class) . |
Delete2I(ACLVoter aclVoter,
Roles securityRoles,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Deletion deletionInstance,
Set<Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<String,String> unnullable)
Construct a new
deleterequest; called from GraphRequestFactory.getRequest(Class) . |
DuplicateI(ACLVoter aclVoter,
Roles securityRoles,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Deletion deletionInstance,
Set<Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<String,String> unnullable)
Construct a new
duplicaterequest; called from GraphRequestFactory.getRequest(Class) . |
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.