Class PermissionSettings
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.result.pdfproperties.PermissionSettings
-
public class PermissionSettings extends Object
This class provides information about the permission settings of the specified PDF file, such as restricting print permissions, edit permissions etc.
-
-
Field Summary
Fields Modifier and Type Field Description Boolean
assistiveTechnology
Boolean
commenting
Boolean
copying
Boolean
documentAssembly
Boolean
editing
Boolean
formFilling
Boolean
pageExtraction
String
printing
-
Constructor Summary
Constructors Constructor Description PermissionSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrintingPermission()
Returns a string specifying permission level for printing the file.Boolean
hasAssistiveTechnology()
Returns a boolean specifying whether the specified PDF file will be supported by a screen reader.Boolean
isCommentingAllowed()
Returns a boolean specifying whether adding comments in the specified PDF file is permitted.Boolean
isCopyingAllowed()
Returns a boolean specifying whether copying the content of the specified PDF file is permitted.Boolean
isDocumentAssemblyAllowed()
Returns a boolean specifying whether adding or inserting pages in the specified PDF file is permitted.Boolean
isEditingAllowed()
Returns a boolean specifying whether editing the content in the specified PDF file is permitted.Boolean
isFormFillingAllowed()
Returns a boolean specifying whether form filling is permitted in the specified PDF file.Boolean
isPageExtractionAllowed()
Returns a boolean specifying whether extracting pages of the specified PDF file is permitted.
-
-
-
Field Detail
-
assistiveTechnology
public Boolean assistiveTechnology
-
formFilling
public Boolean formFilling
-
copying
public Boolean copying
-
pageExtraction
public Boolean pageExtraction
-
documentAssembly
public Boolean documentAssembly
-
commenting
public Boolean commenting
-
printing
public String printing
-
editing
public Boolean editing
-
-
Method Detail
-
hasAssistiveTechnology
public Boolean hasAssistiveTechnology()
Returns a boolean specifying whether the specified PDF file will be supported by a screen reader.- Returns:
true
if the specified PDF file will be supported by a screen reader. False otherwise.
-
isFormFillingAllowed
public Boolean isFormFillingAllowed()
Returns a boolean specifying whether form filling is permitted in the specified PDF file.- Returns:
true
if form filling is permitted in the specified PDF file. False otherwise.
-
isCopyingAllowed
public Boolean isCopyingAllowed()
Returns a boolean specifying whether copying the content of the specified PDF file is permitted.- Returns:
true
if copying the content of the specified PDF file is permitted. False otherwise.
-
isPageExtractionAllowed
public Boolean isPageExtractionAllowed()
Returns a boolean specifying whether extracting pages of the specified PDF file is permitted.- Returns:
true
if extracting pages of the specified PDF file is permitted. False otherwise.
-
isDocumentAssemblyAllowed
public Boolean isDocumentAssemblyAllowed()
Returns a boolean specifying whether adding or inserting pages in the specified PDF file is permitted.- Returns:
true
if adding or inserting pages in the specified PDF file is permitted. False otherwise.
-
isCommentingAllowed
public Boolean isCommentingAllowed()
Returns a boolean specifying whether adding comments in the specified PDF file is permitted.- Returns:
true
if adding comments in the specified PDF file is permitted. False otherwise.
-
isEditingAllowed
public Boolean isEditingAllowed()
Returns a boolean specifying whether editing the content in the specified PDF file is permitted.- Returns:
true
if editing the content in the specified PDF file is permitted. False otherwise.
-
getPrintingPermission
public String getPrintingPermission()
Returns a string specifying permission level for printing the file.- Returns:
- A String denoting the permission level for printing the file.
-
-