com.bea.security.entitlements.admin.beans
Interface Transactable

All Known Implementing Classes:
SessionState

public interface Transactable

Interface to be implemented by the session state object Mandates transaction contract for the EUI functionality, so that the JSP or the external clients to invoke transaction functionality. Changes stored in the current session for a given transaction is persited or rolleback based on the user operations.


Method Summary
 boolean commitTransaction()
          Commits transaction for the current cotnext.
 boolean isTransactionStarted()
          Check for status of current transaction flag
 boolean rollbackTransaction()
          Rollback current transaction for current context
 void setTransactionStarted(boolean transactionStarted)
          Set or reset current transaction flag
 boolean startTransaction()
          Starts transaction for the current RBAC Context if not started.
 

Method Detail

commitTransaction

public boolean commitTransaction()
Commits transaction for the current cotnext.

Returns:
true on success, false otherwise

isTransactionStarted

public boolean isTransactionStarted()
Check for status of current transaction flag

Returns:
transaction status of true if started, false otherwise

rollbackTransaction

public boolean rollbackTransaction()
Rollback current transaction for current context

Returns:
true on success, false otherwise

setTransactionStarted

public void setTransactionStarted(boolean transactionStarted)
Set or reset current transaction flag

Parameters:
transactionStarted -

startTransaction

public boolean startTransaction()
Starts transaction for the current RBAC Context if not started.

Returns:
true on start, false otherwise


Copyright © 2007 BEA Systems Inc. All Rights Reserved.