|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionService
Provides the ability to bundle Collection
operations into a
transaction.
Method Summary | |
---|---|
void |
begin()
Begin the transaction |
void |
commit()
Commit the transaction |
void |
rollback()
Rollback the transaction |
Methods inherited from interface org.xmldb.api.base.Service |
---|
getName, getVersion, setCollection |
Methods inherited from interface org.xmldb.api.base.Configurable |
---|
getProperty, setProperty |
Method Detail |
---|
void begin() throws XMLDBException
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.void commit() throws XMLDBException
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.void rollback() throws XMLDBException
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |