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