Package org.eclipse.emf.cdo.spi.server
Klasse ObjectWriteAccessHandler
java.lang.Object
org.eclipse.emf.cdo.spi.server.ObjectWriteAccessHandler
- Alle implementierten Schnittstellen:
- IRepository.Handler,- IRepository.WriteAccessHandler
If the meaning of this type isn't clear, there really should be more of a description here...
- Seit:
- 4.0
- Autor:
- Eike Stepper
- 
Verschachtelte Klassen - ÜbersichtVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.server.IRepository.WriteAccessHandlerIRepository.WriteAccessHandler.TransactionValidationException
- 
KonstruktorübersichtKonstruktorenKonstruktorBeschreibungObjectWriteAccessHandler(boolean legacyModeEnabled) Veraltet.As of 4.2 the legacy mode is always enabled.
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungprotected final IStoreAccessor.CommitContextprotected final EObject[]protected final EObject[]protected final ITransactionprotected final CDOViewgetView()final voidhandleTransactionAfterCommitted(ITransaction transaction, IStoreAccessor.CommitContext commitContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Provides a way to handle transactions after they have been committed to the backend store.protected voidhandleTransactionAfterCommitted(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) final voidhandleTransactionBeforeCommitting(ITransaction transaction, IStoreAccessor.CommitContext commitContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Provides a way to handle transactions that are to be committed to the backend store.protected voidhandleTransactionBeforeCommitting(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) final booleanVeraltet.As of 4.2 the legacy mode is always enabled.
- 
Konstruktordetails- 
ObjectWriteAccessHandlerpublic ObjectWriteAccessHandler()
- 
ObjectWriteAccessHandlerVeraltet.As of 4.2 the legacy mode is always enabled.
 
- 
- 
Methodendetails- 
isLegacyModeEnabledVeraltet.As of 4.2 the legacy mode is always enabled.
- 
getCommitContext
- 
getTransaction
- 
getView
- 
getNewObjects
- 
getDirtyObjects
- 
handleTransactionBeforeCommittingpublic final void handleTransactionBeforeCommitting(ITransaction transaction, IStoreAccessor.CommitContext commitContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws RuntimeException Beschreibung aus Schnittstelle kopiert:IRepository.WriteAccessHandlerProvides a way to handle transactions that are to be committed to the backend store.- Angegeben von:
- handleTransactionBeforeCommittingin Schnittstelle- IRepository.WriteAccessHandler
- Parameter:
- transaction- The transaction that is going to be committed.
- commitContext- The context of the commit operation that is to be executed against the backend store. The context can be used to introspect all aspects of the current commit operation. Note that you must call- commitContext.modify()if you plan to alter the internal state of the commit context!
- monitor- A monitor that should be used by the implementor to avoid timeouts.
- Löst aus:
- RuntimeException- to indicate that the commit operation must not be executed against the backend store. This exception will be visible at the client side!
 
- 
handleTransactionAfterCommittedpublic final void handleTransactionAfterCommitted(ITransaction transaction, IStoreAccessor.CommitContext commitContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Beschreibung aus Schnittstelle kopiert:IRepository.WriteAccessHandlerProvides a way to handle transactions after they have been committed to the backend store.- Angegeben von:
- handleTransactionAfterCommittedin Schnittstelle- IRepository.WriteAccessHandler
- Parameter:
- transaction- The transaction that has been committed.
- commitContext- The context of the commit operation that was executed against the backend store. The context can be used to introspect all aspects of the current commit operation. Note that you must not alter the internal state of the commit context in any way!
- monitor- A monitor that should be used by the implementor to avoid timeouts.
 
- 
handleTransactionBeforeCommittingprotected void handleTransactionBeforeCommitting(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws RuntimeException - Löst aus:
- RuntimeException
 
- 
handleTransactionAfterCommittedprotected void handleTransactionAfterCommitted(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) 
 
-