Enum DocumentLevelPermission
- java.lang.Object
-
- java.lang.Enum<DocumentLevelPermission>
-
- com.adobe.pdfservices.operation.pdfjobs.params.electronicseal.DocumentLevelPermission
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentLevelPermission>
public enum DocumentLevelPermission extends Enum<DocumentLevelPermission>
A mapping of Document Level Permission used inPDFElectronicSealParams
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORM_FILLING
Represents FORM_FILLING document level permission.FORM_FILLING_AND_ANNOTATIONS
Represents FORM_FILLING_AND_ANNOTATIONS document level permission.NO_CHANGES_ALLOWED
Represents NO_CHANGES_ALLOWED document level permission.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
Returns the string representation of the document level permission.static DocumentLevelPermission
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentLevelPermission[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CHANGES_ALLOWED
public static final DocumentLevelPermission NO_CHANGES_ALLOWED
Represents NO_CHANGES_ALLOWED document level permission. No changes to the output document are permitted.
-
FORM_FILLING
public static final DocumentLevelPermission FORM_FILLING
Represents FORM_FILLING document level permission. Allowed changes in output document are filling in forms, instantiating page templates, and performing approval signatures.
-
FORM_FILLING_AND_ANNOTATIONS
public static final DocumentLevelPermission FORM_FILLING_AND_ANNOTATIONS
Represents FORM_FILLING_AND_ANNOTATIONS document level permission. In addition to changes allowed in FORM_FILLING, annotation creation, deletion, and modification are also allowed.
-
-
Method Detail
-
values
public static DocumentLevelPermission[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DocumentLevelPermission c : DocumentLevelPermission.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentLevelPermission valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
Returns the string representation of the document level permission.- Returns:
- String representation of the document level permission
-
-