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 UnsupportedDocumentRoleException

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

All Implemented Interfaces:
Serializable

public class UnsupportedDocumentRoleException
extends Object
implements Serializable

Unsupported Document Role exception information. When a role is assigned to an account (within a context) the context must allow the document role. This exception is thrown if the document role is not supported by the context.

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
UnsupportedDocumentRoleException()
          Default constructor.
UnsupportedDocumentRoleException(DocumentRoleRef role, ContextInstanceRef context)
          Constructor.

 

Method Summary
 ContextInstanceRef getContext()
          The context.
 DocumentRoleRef getRole()
          The invalid document role.
 void setContext(ContextInstanceRef value)
          The context.
 void setRole(DocumentRoleRef value)
          The invalid document role.

 

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

 

Constructor Detail

UnsupportedDocumentRoleException

public UnsupportedDocumentRoleException()
Default constructor.

UnsupportedDocumentRoleException

public UnsupportedDocumentRoleException(DocumentRoleRef role,
                                        ContextInstanceRef context)
Constructor.

Method Detail

getRole

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

setRole

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

getContext

public ContextInstanceRef getContext()
The context.
Returns:
the value of the property.

setContext

public void setContext(ContextInstanceRef value)
The context.
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.