Ir a la consola

DigitalDocumentPermissionBuilder

public final class DigitalDocumentPermissionBuilder extends IndexableBuilder<DigitalDocumentPermissionBuilder>

Builder to construct an Indexable for a permission on a digital document.

For reference, see: //schema.org/DigitalDocumentPermission.

Constant Summary

String COMMENT_PERMISSION The permission to comment on a digital document (does not imply the permission to read or modify it).
String READ_PERMISSION The permission to read a digital document.
String WRITE_PERMISSION The permission to modify a digital document.

Public Method Summary

DigitalDocumentPermissionBuilder
setGrantee(PersonBuilder... grantees)
Sets the grantees who get the permission to access.
DigitalDocumentPermissionBuilder
setPermissionType(String type)
Sets the type of access permission.

Inherited Method Summary