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 - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.server.IRepository.WriteAccessHandler
IRepository.WriteAccessHandler.TransactionValidationException
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungObjectWriteAccessHandler
(boolean legacyModeEnabled) Veraltet.As of 4.2 the legacy mode is always enabled. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected final IStoreAccessor.CommitContext
protected final EObject[]
protected final EObject[]
protected final ITransaction
protected final CDOView
getView()
final void
handleTransactionAfterCommitted
(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 void
handleTransactionAfterCommitted
(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) final void
handleTransactionBeforeCommitting
(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 void
handleTransactionBeforeCommitting
(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) final boolean
Veraltet.As of 4.2 the legacy mode is always enabled.
-
Konstruktordetails
-
ObjectWriteAccessHandler
public ObjectWriteAccessHandler() -
ObjectWriteAccessHandler
Veraltet.As of 4.2 the legacy mode is always enabled.
-
-
Methodendetails
-
isLegacyModeEnabled
Veraltet.As of 4.2 the legacy mode is always enabled. -
getCommitContext
-
getTransaction
-
getView
-
getNewObjects
-
getDirtyObjects
-
handleTransactionBeforeCommitting
public final void handleTransactionBeforeCommitting(ITransaction transaction, IStoreAccessor.CommitContext commitContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws RuntimeException Beschreibung aus Schnittstelle kopiert:IRepository.WriteAccessHandler
Provides a way to handle transactions that are to be committed to the backend store.- Angegeben von:
handleTransactionBeforeCommitting
in SchnittstelleIRepository.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 callcommitContext.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!
-
handleTransactionAfterCommitted
public final void handleTransactionAfterCommitted(ITransaction transaction, IStoreAccessor.CommitContext commitContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Beschreibung aus Schnittstelle kopiert:IRepository.WriteAccessHandler
Provides a way to handle transactions after they have been committed to the backend store.- Angegeben von:
handleTransactionAfterCommitted
in SchnittstelleIRepository.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.
-
handleTransactionBeforeCommitting
protected void handleTransactionBeforeCommitting(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws RuntimeException - Löst aus:
RuntimeException
-
handleTransactionAfterCommitted
protected void handleTransactionAfterCommitted(org.eclipse.net4j.util.om.monitor.OMMonitor monitor)
-