|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAutoCommitVersionHandler
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 ArcSdeVersionHandler |
---|
NONVERSIONED_HANDLER |
Constructor Summary | |
---|---|
AutoCommitVersionHandler(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 Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoCommitVersionHandler(String versionName) throws IOException
IOException
Method Detail |
---|
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)
fails
editOperationFailed
in interface ArcSdeVersionHandler
IOException
public void commitEditState() throws IOException
editOperationFailed(SeStreamOp)
instead, as
this is a handler for auto commit mode
commitEditState
in interface ArcSdeVersionHandler
UnsupportedOperationException
IOException
ArcSdeVersionHandler#rollbackEditState()}
public void rollbackEditState() throws IOException
editOperationWritten(SeStreamOp)
instead, as
this is a handler for auto commit mode
rollbackEditState
in interface ArcSdeVersionHandler
UnsupportedOperationException
IOException
ArcSdeVersionHandler#rollbackEditState()}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |