| Package | Description | 
|---|---|
| ome.services.graphs | Server classes for handling complicated graphs of model objects. | 
| omero.cmd.graphs | 
| Modifier and Type | Method and Description | 
|---|---|
| GraphPolicy | GraphPolicy. getCleanInstance()A stateful graph policy must override this method to provide a clone 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  | BaseGraphPolicyAdjusterThe 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. | 
| 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. | 
| 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. | 
| 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 | 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. | 
| Constructor and Description | 
|---|
| BaseGraphPolicyAdjuster(GraphPolicy graphPolicy)Construct a new graph policy adjuster. | 
| Chgrp2I(ACLVoter aclVoter,
       SystemTypes systemTypes,
       GraphPathBean graphPathBean,
       Deletion deletionInstance,
       GraphPolicy graphPolicy,
       com.google.common.collect.SetMultimap<String,String> unnullable)Construct a new  chgrprequest; called from GraphRequestFactory.getRequest(Class). | 
| Chmod2I(ACLVoter aclVoter,
       SystemTypes systemTypes,
       GraphPathBean graphPathBean,
       Deletion deletionInstance,
       GraphPolicy graphPolicy,
       com.google.common.collect.SetMultimap<String,String> unnullable)Construct a new  chmodrequest; called from GraphRequestFactory.getRequest(Class). | 
| Chown2I(ACLVoter aclVoter,
       SystemTypes systemTypes,
       GraphPathBean graphPathBean,
       Deletion deletionInstance,
       GraphPolicy graphPolicy,
       com.google.common.collect.SetMultimap<String,String> unnullable)Construct a new  chownrequest; called from GraphRequestFactory.getRequest(Class). | 
| Delete2I(ACLVoter aclVoter,
        SystemTypes systemTypes,
        GraphPathBean graphPathBean,
        Deletion deletionInstance,
        GraphPolicy graphPolicy,
        com.google.common.collect.SetMultimap<String,String> unnullable)Construct a new  deleterequest; called from GraphRequestFactory.getRequest(Class). | 
                
                
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.