Class Permissions
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.protectpdf.Permissions
-
public class Permissions extends Object
Document Permissions forProtectPDFJob
-
-
Constructor Summary
Constructors Constructor Description Permissions()
Constructs a newPermissions
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPermission(Permission permission)
Adds a documentPermission
in the permissions set.Set<Permission>
getValues()
Returns the intended set of document permissions values.
-
-
-
Method Detail
-
getValues
public Set<Permission> getValues()
Returns the intended set of document permissions values.- Returns:
- the set of document permissions
-
addPermission
public void addPermission(Permission permission)
Adds a documentPermission
in the permissions set.- Parameters:
permission
- a document permission; can not be null
-
-