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
IOException
public void setUpStream(ISession session, SeStreamOp streamOperation) throws IOException
ArcSdeVersionHandler
setUpStream
in interface ArcSdeVersionHandler
IOException
public void editOperationWritten(SeStreamOp editOperation) throws IOException
ArcSdeVersionHandler
editOperationWritten
in interface ArcSdeVersionHandler
IOException
public void editOperationFailed(SeStreamOp editOperation) throws IOException
ArcSdeVersionHandler
#setUpStream(SeStreamOp)
failseditOperationFailed
in interface ArcSdeVersionHandler
IOException
public void commitEditState() throws IOException
editOperationFailed(SeStreamOp)
instead, as
this is a handler for auto commit modecommitEditState
in interface ArcSdeVersionHandler
UnsupportedOperationException
IOException
ArcSdeVersionHandler#rollbackEditState()}
public void rollbackEditState() throws IOException
editOperationWritten(SeStreamOp)
instead, as
this is a handler for auto commit moderollbackEditState
in interface ArcSdeVersionHandler
UnsupportedOperationException
IOException
ArcSdeVersionHandler#rollbackEditState()}
Copyright © 1996–2019 Geotools. All rights reserved.