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)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
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)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
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)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
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)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
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,
ApplicationContext applicationContext)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
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,
ApplicationContext applicationContext)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
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,
ApplicationContext applicationContext)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
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,
ApplicationContext applicationContext)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
DiskUsage2I(ACLVoter aclVoter,
Roles securityRoles,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Set<Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
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,
ApplicationContext applicationContext)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
FindChildrenI(ACLVoter aclVoter,
Roles securityRoles,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Set<Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy)
Deprecated.
from OMERO 5.4 the systemTypes argument is no longer included
|
FindParentsI(ACLVoter aclVoter,
Roles securityRoles,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Set<Class<? extends IObject>> targetClasses,
GraphPolicy graphPolicy)
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.