com.adobe.livecycle.signatures.client.types
Class MDPPermissions

java.lang.Object
  extended by java.lang.Enum
      extended by com.adobe.livecycle.signatures.client.types.MDPPermissions
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class MDPPermissions
extends java.lang.Enum

Represents the permissions that can be performed on a PDF document without invalidating the signature. To see this enumeration value used in a code example, see the Modifying a signature field using the Java API quick start in Programming with LiveCycle ES4.

See Also:
Serialized Form

Field Summary
static MDPPermissions AnnotationFormChanges
          Permitted changes are the same as those specified in FormChanges, as well as annotation creation, deletion, and modification.
static MDPPermissions FormChanges
          Permitted changes are filling in forms, instantiating page templates, and signing.
static MDPPermissions NoChanges
          No changes to the document are permitted; any change to the document invalidates the signature.
static MDPPermissions NonAuthorSignature
          When the permission value is 0, then the signature is an ordinary signature.
 
Method Summary
static MDPPermissions getValueFromString(java.lang.String id)
          Creates a MDPPermissions object by using a specific permission.
 java.lang.String toString()
           
static MDPPermissions valueOf(java.lang.String name)
           
static MDPPermissions[] values()
           
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NoChanges

public static final MDPPermissions NoChanges
No changes to the document are permitted; any change to the document invalidates the signature.


FormChanges

public static final MDPPermissions FormChanges
Permitted changes are filling in forms, instantiating page templates, and signing. Any other change invalidates the signature. This is the default permission.


AnnotationFormChanges

public static final MDPPermissions AnnotationFormChanges
Permitted changes are the same as those specified in FormChanges, as well as annotation creation, deletion, and modification. Any other change invalidates the signature.


NonAuthorSignature

public static final MDPPermissions NonAuthorSignature
When the permission value is 0, then the signature is an ordinary signature. Only signing is allowed to be performed on the PDF document and certifying is not allowed.

Method Detail

values

public static MDPPermissions[] values()

valueOf

public static MDPPermissions valueOf(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum

getValueFromString

public static MDPPermissions getValueFromString(java.lang.String id)
Creates a MDPPermissions object by using a specific permission.

Parameters:
id - A specific permission.
Returns:
A MDPPermissions object.


[an error occurred while processing this directive] [an error occurred while processing this directive]