|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.arcsde.data.versioning.AutoCommitVersionHandler
public class AutoCommitVersionHandler
Handles a versioned table when in auto commit mode, meaning it sets up streams to edit directly the version indicated by the provided version name.
Field Summary |
---|
Fields inherited from interface org.geotools.arcsde.data.versioning.ArcSdeVersionHandler |
---|
NONVERSIONED_HANDLER |
Constructor Summary | |
---|---|
AutoCommitVersionHandler(java.lang.String versionName)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoCommitVersionHandler(java.lang.String versionName) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void setUpStream(ISession session, SeStreamOp streamOperation) throws java.io.IOException
ArcSdeVersionHandler
setUpStream
in interface ArcSdeVersionHandler
java.io.IOException
public void editOperationWritten(SeStreamOp editOperation) throws java.io.IOException
ArcSdeVersionHandler
editOperationWritten
in interface ArcSdeVersionHandler
java.io.IOException
public void editOperationFailed(SeStreamOp editOperation) throws java.io.IOException
ArcSdeVersionHandler
#setUpStream(SeStreamOp)
fails
editOperationFailed
in interface ArcSdeVersionHandler
java.io.IOException
public void commitEditState() throws java.io.IOException
editOperationFailed(SeStreamOp)
instead, as
this is a handler for auto commit mode
commitEditState
in interface ArcSdeVersionHandler
java.lang.UnsupportedOperationException
java.io.IOException
ArcSdeVersionHandler#rollbackEditState()}
public void rollbackEditState() throws java.io.IOException
editOperationWritten(SeStreamOp)
instead, as
this is a handler for auto commit mode
rollbackEditState
in interface ArcSdeVersionHandler
java.lang.UnsupportedOperationException
java.io.IOException
ArcSdeVersionHandler#rollbackEditState()}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |