public class GraphRequestFactory extends Object
GraphPathBean
.Constructor and Description |
---|
GraphRequestFactory(ACLVoter aclVoter,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Deletion deletionInstance,
Map<Class<? extends omero.cmd.Request>,List<GraphPolicyRule>> allRules,
List<String> unnullable,
Set<String> defaultExcludeNs,
boolean isGraphsWrap)
Construct a new graph request factory.
|
Modifier and Type | Method and Description |
---|---|
omero.cmd.graphs.ChildOption |
createChildOption() |
GraphPathBean |
getGraphPathBean() |
<R extends omero.cmd.GraphModify2> |
getRequest(Class<R> requestClass)
Construct a request.
|
boolean |
isGraphsWrap() |
public GraphRequestFactory(ACLVoter aclVoter, SystemTypes systemTypes, GraphPathBean graphPathBean, Deletion deletionInstance, Map<Class<? extends omero.cmd.Request>,List<GraphPolicyRule>> allRules, List<String> unnullable, Set<String> defaultExcludeNs, boolean isGraphsWrap) throws GraphException
aclVoter
- ACL voter for permissions checkingsystemTypes
- for identifying the system typesgraphPathBean
- the graph path beandeletionInstance
- a deletion instance for deleting filesallRules
- rules for all request classes that use the graph path beanunnullable
- properties that, while nullable, may not be nulled by a graph traversal operationdefaultExcludeNs
- the default value for an unset excludeNs fieldisGraphsWrap
- if GraphModify2
requests should substitute for the requests that they replaceGraphException
- if the graph path rules could not be parsedpublic GraphPathBean getGraphPathBean()
public boolean isGraphsWrap()
GraphModify2
requests should substitute for the requests that they replacepublic <R extends omero.cmd.GraphModify2> R getRequest(Class<R> requestClass)
requestClass
- a request classpublic omero.cmd.graphs.ChildOption createChildOption()
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.