org.eclipse.emf.cdo.server
Interface ITransaction

All Superinterfaces:
CDOProtocolView, IView

public interface ITransaction
extends IView


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.CDOProtocolView
CDOProtocolView.Type
 
Method Summary
 CDOPackageManager getPackageManager()
          Returns the temporary, transactional package manager associated with this ITransaction during the process of a commit operation.
 int getTransactionID()
          Returns the ID of this transactional view.
 
Methods inherited from interface org.eclipse.emf.cdo.server.IView
getSession
 
Methods inherited from interface org.eclipse.emf.cdo.common.CDOProtocolView
getViewID, getViewType
 

Method Detail

getTransactionID

int getTransactionID()
Returns the ID of this transactional view. Same as getViewID().


getPackageManager

CDOPackageManager getPackageManager()
Returns the temporary, transactional package manager associated with this ITransaction during the process of a commit operation. In addition to the packages registered with the session package manager this package manager also contains the new packages that are part of the commit operation.

Returns:
a temporary, transactional package manager if this ITransaction is in the process of a commit operation, null otherwise.

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.