public class GraphRequestFactory
extends java.lang.Object
GraphPathBean.| Constructor and Description |
|---|
GraphRequestFactory(ome.security.ACLVoter aclVoter,
ome.system.Roles securityRoles,
ome.security.SystemTypes systemTypes,
ome.services.graphs.GraphPathBean graphPathBean,
ome.services.delete.Deletion deletionInstance,
java.util.Map<java.lang.Class<? extends omero.cmd.Request>,java.util.List<java.lang.String>> allTargets,
java.util.Map<java.lang.Class<? extends omero.cmd.Request>,java.util.List<ome.services.graphs.GraphPolicyRule>> allRules,
java.util.List<java.lang.String> unnullable,
java.util.Set<java.lang.String> defaultExcludeNs,
boolean isGraphsWrap)
Construct a new graph request factory.
|
| Modifier and Type | Method and Description |
|---|---|
omero.cmd.graphs.ChildOption |
createChildOption() |
ome.services.graphs.GraphPathBean |
getGraphPathBean() |
<R extends omero.cmd.GraphModify2> |
getRequest(java.lang.Class<R> requestClass)
Construct a request.
|
boolean |
isGraphsWrap() |
public GraphRequestFactory(ome.security.ACLVoter aclVoter,
ome.system.Roles securityRoles,
ome.security.SystemTypes systemTypes,
ome.services.graphs.GraphPathBean graphPathBean,
ome.services.delete.Deletion deletionInstance,
java.util.Map<java.lang.Class<? extends omero.cmd.Request>,java.util.List<java.lang.String>> allTargets,
java.util.Map<java.lang.Class<? extends omero.cmd.Request>,java.util.List<ome.services.graphs.GraphPolicyRule>> allRules,
java.util.List<java.lang.String> unnullable,
java.util.Set<java.lang.String> defaultExcludeNs,
boolean isGraphsWrap)
throws ome.services.graphs.GraphException
aclVoter - ACL voter for permissions checkingsecurityRoles - the security rolessystemTypes - for identifying the system typesgraphPathBean - the graph path beandeletionInstance - a deletion instance for deleting filesallTargets - legal target object classes for all request classes that use the graph path beanallRules - 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 replaceome.services.graphs.GraphException - if the graph path rules could not be parsedpublic ome.services.graphs.GraphPathBean getGraphPathBean()
public boolean isGraphsWrap()
GraphModify2 requests should substitute for the requests that they replacepublic <R extends omero.cmd.GraphModify2> R getRequest(java.lang.Class<R> requestClass)
requestClass - a request classpublic omero.cmd.graphs.ChildOption createChildOption()