public class PDDocumentAccessPermission extends Object
AccessPermission
providing convenient methods to check permissions.Modifier and Type | Method and Description |
---|---|
void |
ensureOwnerPermissions()
Ensures that owner permissions are available.
|
void |
ensurePermission(PdfAccessPermission required)
Ensures that the required permission is granted
|
public void ensureOwnerPermissions() throws TaskPermissionsException
TaskPermissionsException
- if not owner permissions are granted.public void ensurePermission(PdfAccessPermission required) throws TaskPermissionsException
required
- TaskPermissionsException
- if not granted.Copyright © 2022 sejda. All rights reserved.