FTSessionImpl.h
Functions
- beginTransactionWithParent
- Used to begin a transaction
- beginTransactionWithParent:withSettings:
- Used to begin a transaction
- currentSession
- currentTransaction
- defaultObjectToIdMapper
- graphManager
- server
- This method is meant for derived classes
- sessionId
Used to begin a transaction
- (
id <FTTransaction>) beginTransactionWithParent: (
id <FTTransaction>) parentTransaction withSettings: (
id <FTTransactionSettings>) transactionSettings;
Parameter Descriptions
parentTransaction
- may be nil. If not then the specified
transaction will be used as parent transaction and the new transaction
will be executed as nested transaction. At present only nil values are
supported.
transactionSettings
- an instance specifying settings for this
transaction. At present, only nil values are supported.
- function result
- underlying transaction
Used to begin a transaction
- (
id <FTTransaction>) beginTransactionWithParent: (
id <FTTransaction>) parentTransaction withSettings: (
id <FTTransactionSettings>) transactionSettings;
Parameter Descriptions
parentTransaction
- may be nil. If not then the specified
transaction will be used as parent transaction and the new transaction
will be executed as nested transaction. At present only nil values are
supported.
transactionSettings
- an instance specifying settings for this
transaction. At present, only nil values are supported.
- function result
- underlying transaction
+ (
FTSessionImpl *) currentSession;
- function result
- the session associated to the currently running thread. nil, if not
attached to this thread
- (
FTTransactionImpl *) currentTransaction;
- function result
- current transaction of the given session
- (
id <FTObjectToIdMapper>) defaultObjectToIdMapper;
- function result
- return the default object to id mapper used e.g. to get id's
of graphs
- (
id <FTGraphManager>) graphManager;
- function result
- return the manager used to fetch, create etc. graphs
This method is meant for derived classes
- (
FTServerImpl *) server;
- function result
- returns the reference to the server instance
- (
id) sessionId;
- function result
- return the id of this session
(Last Updated August 27, 2006)