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 BooleanassistiveTechnologyBooleancommentingBooleancopyingBooleandocumentAssemblyBooleaneditingBooleanformFillingBooleanpageExtractionStringprinting
-
Constructor Summary
Constructors Constructor Description PermissionSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPrintingPermission()Returns a string specifying permission level for printing the file.BooleanhasAssistiveTechnology()Returns a boolean specifying whether the specified PDF file will be supported by a screen reader.BooleanisCommentingAllowed()Returns a boolean specifying whether adding comments in the specified PDF file is permitted.BooleanisCopyingAllowed()Returns a boolean specifying whether copying the content of the specified PDF file is permitted.BooleanisDocumentAssemblyAllowed()Returns a boolean specifying whether adding or inserting pages in the specified PDF file is permitted.BooleanisEditingAllowed()Returns a boolean specifying whether editing the content in the specified PDF file is permitted.BooleanisFormFillingAllowed()Returns a boolean specifying whether form filling is permitted in the specified PDF file.BooleanisPageExtractionAllowed()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:
trueif 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:
trueif 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:
trueif 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:
trueif 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:
trueif 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:
trueif 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:
trueif 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.
-
-