com.bea.security.entitlements.admin.beans
Class SessionContext

java.lang.Object
  extended bycom.bea.security.entitlements.admin.beans.SessionContext

public class SessionContext
extends java.lang.Object

This class is used as the exposed bean for customer to extend EUI. The interfaces provided in this class is a wrapper of EUI bean layer functionality. This bean is configured as a session scope managed bean in JSF, with name "sessionContext".


Constructor Summary
SessionContext()
           
 
Method Summary
 com.bea.ales.management.RBAC_Context getManagementContext()
          Get the context instance of management API, which is associated with current session.
 java.lang.Object getSelectedNode()
          Get the object that is selected in the navigation tree, which can be Role, Resource,Directory or some kind of MetaObject.
 void startModification()
          This method will active the "save change" and "revert change" buttons, meanwhile, if transaction is supported and not started, it will start transaction.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionContext

public SessionContext()
Method Detail

getManagementContext

public com.bea.ales.management.RBAC_Context getManagementContext()
Get the context instance of management API, which is associated with current session. This context instance can be used as entry for calling other management API.

Returns:
The context instance associated with current session.

getSelectedNode

public java.lang.Object getSelectedNode()
Get the object that is selected in the navigation tree, which can be Role, Resource,Directory or some kind of MetaObject.

Returns:
The selected Role/Resource/IdentityDirectory/MetaObject, otherwise null;

startModification

public void startModification()
This method will active the "save change" and "revert change" buttons, meanwhile, if transaction is supported and not started, it will start transaction.



Copyright © 2007 BEA Systems Inc. All Rights Reserved.