java.util.Map<java.lang.String,java.util.Set<Capability>>
public interface GraphPermissions extends java.util.Map<java.lang.String,java.util.Set<Capability>>
A Map of permissions for a graph, where the keys are roles and
the values are the Set of capabilities available to that role (one
of READ, UPDATE, or EXECUTE). See usage examples in javadocs for
GraphManager
and SPARQLQueryManager
.
For details about RDF, SPARQL, and semantics in MarkLogic see Semantics Developer's Guide
Modifier and Type | Method | Description |
---|---|---|
GraphPermissions |
permission(java.lang.String role,
Capability... capabilities) |
Add the specified role and capabilities to this
GraphPermissions object.
|
clear, compute, computeIfAbsent, computeIfPresent,
containsKey, containsValue, entry, entrySet, equals, forEach, get,
getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of,
of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent,
remove, remove, replace, replace, replaceAll, size,
values
GraphPermissions permission(java.lang.String role, Capability... capabilities)
role
- the name of the role receiving these
capabilitiescapabilities
- the capabilities (READ, UPDATE, or
EXECUTE) granted to this roleCopyright © 2013-2019 MarkLogic Corporation.