Skip navigation links

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

E12907-03


oracle.irm.engine.types.rights.context
Class ImmutableDocumentRoleException

java.lang.Object
  extended by oracle.irm.engine.types.rights.context.ImmutableDocumentRoleException

All Implemented Interfaces:
Serializable

public class ImmutableDocumentRoleException
extends Object
implements Serializable

Immutable Document Role exception information. If a role has been assigned to a user or group the role item constraints cannot be changed. Changing item constraints for an assigned role would change the semantics of the assigned role, changing item locks into item exclusions (or vice-versa).

This class is used to store the state of an EJB exception and the fault data in a Web Service exception.

See Also:
Serialized Form

Constructor Summary
ImmutableDocumentRoleException()
          Default constructor.
ImmutableDocumentRoleException(DocumentRoleRef role)
          Constructor.

 

Method Summary
 DocumentRoleRef getRole()
          The document role.
 void setRole(DocumentRoleRef value)
          The document role.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ImmutableDocumentRoleException

public ImmutableDocumentRoleException()
Default constructor.

ImmutableDocumentRoleException

public ImmutableDocumentRoleException(DocumentRoleRef role)
Constructor.

Method Detail

getRole

public DocumentRoleRef getRole()
The document role.
Returns:
the value of the property.

setRole

public void setRole(DocumentRoleRef value)
The document role.
Parameters:
value - the new value for the property.

Skip navigation links

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

E12907-03


Copyright © 2011, Oracle. All rights reserved.