FTTransactionManager


Abstract

The transaction manager is a global object used to globally manage transactions



Methods

-commitTransaction:
Commits the given transaction
-createTransactionForSession:
opens and returns a new transaction for the specified session.
-currentTransactionForSession:
Returns the current transaction for the given session

commitTransaction:


Commits the given transaction

- (BOOL) commitTransaction: (id <FTTransaction>) transactionToCommit 
Parameter Descriptions
transactionToCommit
method result
YES if transaction has successfully been commited
Discussion

On successful commitment it removes the transaction from the stack of transaction of the corresponding session.


createTransactionForSession:


opens and returns a new transaction for the specified session.

- (id <FTTransaction>) createTransactionForSession: (id <FTSession> ) session;
method result
new transaction
Discussion

If there is another transaction already being open then the the new one will be regarded as a nested one of the already opened transaction


currentTransactionForSession:


Returns the current transaction for the given session

- (id <FTTransaction>) currentTransactionForSession: (id <FTSession>) session;
method result
the current transaction for the given session

(Last Updated August 27, 2006)