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.
|
void 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-2015 MarkLogic Corporation.