public class AutoCommitVersionHandler extends Object implements ArcSdeVersionHandler
NONVERSIONED_HANDLER| Constructor and Description |
|---|
AutoCommitVersionHandler(String versionName) |
| Modifier and Type | Method and Description |
|---|---|
void |
commitEditState()
This method should not be called, but
editOperationFailed(SeStreamOp) instead, as
this is a handler for auto commit mode |
void |
editOperationFailed(SeStreamOp editOperation)
Called when a single edit operation that was settled up with
#setUpStream(SeStreamOp)
fails |
void |
editOperationWritten(SeStreamOp editOperation)
Called after successful execution of any single edit (SeInsert, SeUpdate, SeDelete)
operation.
|
void |
rollbackEditState()
This method should not be called, but
editOperationWritten(SeStreamOp) instead, as
this is a handler for auto commit mode |
void |
setUpStream(ISession session,
SeStreamOp streamOperation)
Sets up the stream to work over the version/state needed
|
public AutoCommitVersionHandler(String versionName) throws IOException
IOExceptionpublic void setUpStream(ISession session, SeStreamOp streamOperation) throws IOException
ArcSdeVersionHandlersetUpStream in interface ArcSdeVersionHandlerIOExceptionpublic void editOperationWritten(SeStreamOp editOperation)
throws IOException
ArcSdeVersionHandlereditOperationWritten in interface ArcSdeVersionHandlerIOExceptionpublic void editOperationFailed(SeStreamOp editOperation)
throws IOException
ArcSdeVersionHandler#setUpStream(SeStreamOp)
failseditOperationFailed in interface ArcSdeVersionHandlerIOExceptionpublic void commitEditState()
throws IOException
editOperationFailed(SeStreamOp) instead, as
this is a handler for auto commit modecommitEditState in interface ArcSdeVersionHandlerUnsupportedOperationExceptionIOExceptionArcSdeVersionHandler#rollbackEditState()}public void rollbackEditState()
throws IOException
editOperationWritten(SeStreamOp) instead, as
this is a handler for auto commit moderollbackEditState in interface ArcSdeVersionHandlerUnsupportedOperationExceptionIOExceptionArcSdeVersionHandler#rollbackEditState()}Copyright © 1996–2019 Geotools. All rights reserved.