com.adobe.livecycle.rightsmanagement.client.infomodel
Interface Permission


public interface Permission

The Permission interface defines the constants that represent the different types of policy permissions. The getName() method provides a way to retrieve the name of the type given the constant. PolicyEntry objects require Permission objects as parameters when adding or removing permissions to policy entries. To see this interface used in a code example, see the Creating a new policy using the Java API quick start in Programming with Adobe Experience Manager Forms.


Field Summary
static int ACCESSIBLE
          Represents the permission that enables screen reader devices for users that are visually impaired to access the text in documents.
static int CHANGES_ALL_EXCEPT_EXTRACT_CONTENT
          Represents the permission that enables users to make any change to documents except extracting pages.
static int CHANGES_COMMENTING_FORM_FILL_IN_AND_SIGNING
          Represents the permission that enables users to add comments to documents, fill in form objects, and sign documents.
static int CHANGES_FORM_FILL_IN_AND_SIGNING
          Represents the permission that enables users to fill in form objects and sign documents.
static int CHANGES_INSERT_DELETE_ROTATE_PAGES
          Represents the permission that enables users to insert, delete, and rotate the pages of documents.
static int COPY
          Represents the permission that enables users to copy the contents of documents.
static int OPEN_OFFLINE
          Represents the permission that enables users to open documents offline.
static int OPEN_ONLINE
          Represents the permission that enables users to open documents online.
static int POLICY_SWITCH
          Represents the permission that enables users to switch the policies that are protecting documents.
static int PRINT_HIGH
          Represents the permission that allows high-resolution and low-resolution printing of documents.
static int PRINT_LOW
          Represents the permission that allows only low-resolution printing of documents.
static int REVOKE
          Represents the permission that enables users to revoke documents.
 
Method Summary
 int getName()
          Retrieves the type of the permission that this Permission object represents.
 

Field Detail

OPEN_ONLINE

static final int OPEN_ONLINE
Represents the permission that enables users to open documents online.


OPEN_OFFLINE

static final int OPEN_OFFLINE
Represents the permission that enables users to open documents offline.


REVOKE

static final int REVOKE
Represents the permission that enables users to revoke documents.


POLICY_SWITCH

static final int POLICY_SWITCH
Represents the permission that enables users to switch the policies that are protecting documents.


PRINT_HIGH

static final int PRINT_HIGH
Represents the permission that allows high-resolution and low-resolution printing of documents.


PRINT_LOW

static final int PRINT_LOW
Represents the permission that allows only low-resolution printing of documents.

Permission.PRINT_HIGH also allows low-resolution printing.


CHANGES_INSERT_DELETE_ROTATE_PAGES

static final int CHANGES_INSERT_DELETE_ROTATE_PAGES
Represents the permission that enables users to insert, delete, and rotate the pages of documents.


CHANGES_FORM_FILL_IN_AND_SIGNING

static final int CHANGES_FORM_FILL_IN_AND_SIGNING
Represents the permission that enables users to fill in form objects and sign documents.


CHANGES_COMMENTING_FORM_FILL_IN_AND_SIGNING

static final int CHANGES_COMMENTING_FORM_FILL_IN_AND_SIGNING
Represents the permission that enables users to add comments to documents, fill in form objects, and sign documents.


CHANGES_ALL_EXCEPT_EXTRACT_CONTENT

static final int CHANGES_ALL_EXCEPT_EXTRACT_CONTENT
Represents the permission that enables users to make any change to documents except extracting pages.


COPY

static final int COPY
Represents the permission that enables users to copy the contents of documents.


ACCESSIBLE

static final int ACCESSIBLE
Represents the permission that enables screen reader devices for users that are visually impaired to access the text in documents.

Method Detail

getName

int getName()
Retrieves the type of the permission that this Permission object represents.

Returns:
An integer whose value represents the permission type.