Enum DocumentLevelPermission

    • 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 name
        NullPointerException - 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