Package | Description |
---|---|
com.marklogic.client.document |
The package provides classes for creating, retrieving, updating, and deleting
documents in the database for the REST server.
|
com.marklogic.client.io |
The package provides the handle classes with different representations for document content
when you read documents from the database or write documents to the database.
|
Modifier and Type | Method and Description |
---|---|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.addPermission(java.lang.String role,
DocumentMetadataHandle.Capability... capabilities)
Adds a role with the specified capabilities
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replacePermission(java.lang.String role,
DocumentMetadataHandle.Capability... newCapabilities)
Replaces the existing capabilities of a role.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replacePermission(java.lang.String oldRole,
java.lang.String newRole,
DocumentMetadataHandle.Capability... newCapabilities)
Replaces an existing role with a new role.
|
Modifier and Type | Method and Description |
---|---|
static DocumentMetadataHandle.Capability |
DocumentMetadataHandle.Capability.getValueOf(java.lang.String name) |
static DocumentMetadataHandle.Capability |
DocumentMetadataHandle.Capability.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentMetadataHandle.Capability[] |
DocumentMetadataHandle.Capability.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
DocumentMetadataHandle.DocumentPermissions.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.
|
DocumentMetadataHandle |
DocumentMetadataHandle.withPermission(java.lang.String role,
DocumentMetadataHandle.Capability... capabilities)
Locally adds the role and its capabilities to the current
permissions for the document.
|
Copyright © 2013-2021 MarkLogic Corporation.