Skip navigation links

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

E12907-02


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

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

All Implemented Interfaces:
Serializable

public class InvalidDocumentRoleException
extends Object
implements Serializable

Invalid Document Role exception information. When a role is added to a template it must belong to the same Domain. If the domains do not match, this exception will be thrown when the template is created or edited.

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
InvalidDocumentRoleException()
          Default constructor.
InvalidDocumentRoleException(DocumentRoleRef role, ContextTemplateRef template)
          Constructor.

 

Method Summary
 DocumentRoleRef getRole()
          The document role.
 ContextTemplateRef getTemplate()
          The context template.
 void setRole(DocumentRoleRef value)
          The document role.
 void setTemplate(ContextTemplateRef value)
          The context template.

 

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

 

Constructor Detail

InvalidDocumentRoleException

public InvalidDocumentRoleException()
Default constructor.

InvalidDocumentRoleException

public InvalidDocumentRoleException(DocumentRoleRef role,
                                    ContextTemplateRef template)
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.

getTemplate

public ContextTemplateRef getTemplate()
The context template.
Returns:
the value of the property.

setTemplate

public void setTemplate(ContextTemplateRef value)
The context template.
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-02


Copyright © 2010, Oracle. All rights reserved.