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,
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.
|
Constructor and Description |
---|
GraphTraversal(org.hibernate.Session session,
EventContext eventContext,
ACLVoter aclVoter,
GraphPathBean graphPathBean,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.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,
java.util.Collection<ChildOptionI> childOptions,
java.util.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 |
IgnoreTypePolicy.getIgnoreTypePolicy(GraphPolicy graphPolicyToAdjust,
java.util.Collection<java.lang.Class<? extends IObject>> typesToIgnore)
Deprecated.
Adjust an existing graph traversal policy so that objects of certain types may be ignored.
|
static GraphPolicy |
SkipHeadPolicy.getSkipHeadPolicyPerform(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 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.
|
static GraphPolicy |
SkipTailPolicy.getSkipTailPolicy(GraphPolicy graphPolicy,
com.google.common.base.Predicate<java.lang.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,
java.util.Collection<ChildOptionI> childOptions,
java.util.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 |
IgnoreTypePolicy.getIgnoreTypePolicy(GraphPolicy graphPolicyToAdjust,
java.util.Collection<java.lang.Class<? extends IObject>> typesToIgnore)
Deprecated.
Adjust an existing graph traversal policy so that objects of certain types may be ignored.
|
static GraphPolicy |
SkipHeadPolicy.getSkipHeadPolicyPerform(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 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.
|
static GraphPolicy |
SkipTailPolicy.getSkipTailPolicy(GraphPolicy graphPolicy,
com.google.common.base.Predicate<java.lang.Class<? extends IObject>> isSkipClass)
Adjust an existing graph traversal policy so that processing stops at certain model object classes.
|
GraphTraversal |
GraphHelper.prepareGraphTraversal(java.util.List<omero.cmd.graphs.ChildOption> childOptions,
java.util.Set<GraphPolicy.Ability> requiredPermissions,
GraphPolicy graphPolicy,
java.lang.Iterable<com.google.common.base.Function<GraphPolicy,GraphPolicy>> graphPolicyAdjusters,
ACLVoter aclVoter,
GraphPathBean graphPathBean,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.String> unnullable,
GraphTraversal.Processor processor,
boolean dryRun)
Construct a graph traversal manager for a
GraphQuery 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(java.util.List<omero.cmd.graphs.ChildOption> childOptions,
java.util.Set<GraphPolicy.Ability> requiredPermissions,
GraphPolicy graphPolicy,
java.lang.Iterable<com.google.common.base.Function<GraphPolicy,GraphPolicy>> graphPolicyAdjusters,
ACLVoter aclVoter,
GraphPathBean graphPathBean,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.String> unnullable,
GraphTraversal.Processor processor,
boolean dryRun)
Construct a graph traversal manager for a
GraphQuery request. |
GraphTraversal |
GraphHelper.prepareGraphTraversal(java.util.List<omero.cmd.graphs.ChildOption> childOptions,
java.util.Set<GraphPolicy.Ability> requiredPermissions,
GraphPolicy graphPolicy,
java.lang.Iterable<com.google.common.base.Function<GraphPolicy,GraphPolicy>> graphPolicyAdjusters,
ACLVoter aclVoter,
GraphPathBean graphPathBean,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.String> unnullable,
GraphTraversal.Processor processor,
boolean dryRun)
Construct a graph traversal manager for a
GraphQuery request. |
Constructor and Description |
---|
BaseGraphPolicyAdjuster(GraphPolicy graphPolicy)
Construct a new graph policy adjuster.
|
Chgrp2I(ACLVoter aclVoter,
Roles securityRoles,
GraphPathBean graphPathBean,
LightAdminPrivileges adminPrivileges,
Deletion deletionInstance,
java.util.Set<java.lang.Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.String> unnullable,
org.springframework.context.ApplicationContext applicationContext)
Construct a new
chgrprequest; called from GraphRequestFactory.getRequest(Class) . |
Chmod2I(ACLVoter aclVoter,
Roles securityRoles,
GraphPathBean graphPathBean,
LightAdminPrivileges adminPrivileges,
Deletion deletionInstance,
java.util.Set<java.lang.Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.String> unnullable,
org.springframework.context.ApplicationContext applicationContext)
Construct a new
chmodrequest; called from GraphRequestFactory.getRequest(Class) . |
Chown2I(ACLVoter aclVoter,
Roles securityRoles,
GraphPathBean graphPathBean,
LightAdminPrivileges adminPrivileges,
Deletion deletionInstance,
java.util.Set<java.lang.Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.String> unnullable,
org.springframework.context.ApplicationContext applicationContext)
Construct a new
chownrequest; called from GraphRequestFactory.getRequest(Class) . |
Delete2I(ACLVoter aclVoter,
Roles securityRoles,
GraphPathBean graphPathBean,
LightAdminPrivileges adminPrivileges,
Deletion deletionInstance,
java.util.Set<java.lang.Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.String> unnullable,
org.springframework.context.ApplicationContext applicationContext)
Construct a new
deleterequest; called from GraphRequestFactory.getRequest(Class) . |
DiskUsage2I(ACLVoter aclVoter,
Roles securityRoles,
GraphPathBean graphPathBean,
LightAdminPrivileges adminPrivileges,
java.util.Set<java.lang.Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy)
Construct a new disk usage request; called from
GraphRequestFactory.getRequest(Class) . |
DuplicateI(ACLVoter aclVoter,
Roles securityRoles,
GraphPathBean graphPathBean,
LightAdminPrivileges adminPrivileges,
Deletion deletionInstance,
java.util.Set<java.lang.Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.String> unnullable,
org.springframework.context.ApplicationContext applicationContext)
Construct a new
duplicaterequest; called from GraphRequestFactory.getRequest(Class) . |
FindChildrenI(ACLVoter aclVoter,
Roles securityRoles,
GraphPathBean graphPathBean,
LightAdminPrivileges adminPrivileges,
java.util.Set<java.lang.Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy)
Construct a new
find-childrenrequest; called from GraphRequestFactory.getRequest(Class) . |
FindParentsI(ACLVoter aclVoter,
Roles securityRoles,
GraphPathBean graphPathBean,
LightAdminPrivileges adminPrivileges,
java.util.Set<java.lang.Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy)
Construct a new
find-parentsrequest; called from GraphRequestFactory.getRequest(Class) . |
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.