java.util.Map<java.lang.String,java.util.Set<DocumentMetadataHandle.Capability>>
public static interface DocumentMetadataHandle.DocumentPermissions extends java.util.Map<java.lang.String,java.util.Set<DocumentMetadataHandle.Capability>>
Modifier and Type | Method | Description |
---|---|---|
void |
add(java.lang.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, 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
void add(java.lang.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 © 2022 MarkLogic Corporation