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 AccountAlreadyAssignedException

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

All Implemented Interfaces:
Serializable

public class AccountAlreadyAssignedException
extends Object
implements Serializable

Account Already Assigned exception information. This exception is raised when an account already has a role assigned with a 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
AccountAlreadyAssignedException()
          Default constructor.
AccountAlreadyAssignedException(AccountRef account, DocumentRoleRef role)
          Constructor.

 

Method Summary
 AccountRef getAccount()
          The account.
 DocumentRoleRef getRole()
          The document role.
 void setAccount(AccountRef value)
          The account.
 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

AccountAlreadyAssignedException

public AccountAlreadyAssignedException()
Default constructor.

AccountAlreadyAssignedException

public AccountAlreadyAssignedException(AccountRef account,
                                       DocumentRoleRef role)
Constructor.

Method Detail

getAccount

public AccountRef getAccount()
The account.
Returns:
the value of the property.

setAccount

public void setAccount(AccountRef value)
The account.
Parameters:
value - the new value for the property.

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-02


Copyright © 2010, Oracle. All rights reserved.