public static interface DocumentMetadataHandle.DocumentPermissions extends Map<String,Set<DocumentMetadataHandle.Capability>>
| Modifier and Type | Method and Description |
|---|---|
void |
add(String role,
DocumentMetadataHandle.Capability... capabilities)
Adds a role with one or more capabilities to the metadata that can be written
for the document.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesvoid add(String role, DocumentMetadataHandle.Capability... capabilities)
role - the role for users permitted to access the documentcapabilities - the permissions to be granted to users with the roleCopyright © 2013-2016 MarkLogic Corporation.