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 CannotRemoveDocumentRoleException

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

All Implemented Interfaces:
Serializable

public class CannotRemoveDocumentRoleException
extends Object
implements Serializable

Cannot Remove Document Role exception information. A document role cannot be deleted is there are rights assigned to the role. The document role can only be deleted once all rights have been unassigned. This is restriction stops a role deletion affecting user's rights.

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
CannotRemoveDocumentRoleException()
          Default constructor.
CannotRemoveDocumentRoleException(DocumentRoleRef documentRole)
          Constructor.

 

Method Summary
 DocumentRoleRef getDocumentRole()
          The document role that cannot be deleted.
 void setDocumentRole(DocumentRoleRef value)
          The document role that cannot be deleted.

 

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

 

Constructor Detail

CannotRemoveDocumentRoleException

public CannotRemoveDocumentRoleException()
Default constructor.

CannotRemoveDocumentRoleException

public CannotRemoveDocumentRoleException(DocumentRoleRef documentRole)
Constructor.

Method Detail

getDocumentRole

public DocumentRoleRef getDocumentRole()
The document role that cannot be deleted.
Returns:
the value of the property.

setDocumentRole

public void setDocumentRole(DocumentRoleRef value)
The document role that cannot be deleted.
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.