Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-01


oracle.irm.engine.rights.context
Enum DocumentRole.ExportConstraints

java.lang.Object
  extended by java.lang.Enum<DocumentRole.ExportConstraints>
      extended by oracle.irm.engine.rights.context.DocumentRole.ExportConstraints

All Implemented Interfaces:
Serializable, Comparable<DocumentRole.ExportConstraints>
Enclosing interface:
DocumentRole

public static enum DocumentRole.ExportConstraints
extends Enum<DocumentRole.ExportConstraints>

Export constraint options. Export constraints specify what resealing and copying sealed content operations are permitted. For example, setting up a document role to be fully constrained disallows resealing and copy/paste operations within sealed content.


Enum Constant Summary
FULL
          Fully constrained.
NONE
          No constraints.
TRUSTED
          Constrained to trusted classifications.

 

Method Summary
static DocumentRole.ExportConstraints valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DocumentRole.ExportConstraints[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

FULL

public static final DocumentRole.ExportConstraints FULL
Fully constrained. Content cannot be resealing or copied. Copying within the same document is permitted.

TRUSTED

public static final DocumentRole.ExportConstraints TRUSTED
Constrained to trusted classifications. Allows content to be resealed or copied to the classifications specified in role's classification Destinations. Copying within the same document is permitted.

NONE

public static final DocumentRole.ExportConstraints NONE
No constraints. Allows content to be resealed to any classification, copied into the clear or saved in unsealed form.

Method Detail

values

public static DocumentRole.ExportConstraints[] 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 (DocumentRole.ExportConstraints c : DocumentRole.ExportConstraints.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DocumentRole.ExportConstraints 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

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-01


Copyright © 2010, Oracle. All rights reserved.