org.xmldb.api.sdk.modules
public class SimpleTransactionService extends SimpleConfigurable implements TransactionService
Collection operations into a
transaction.
Note: This interface needs much better definition
| Method Summary | |
|---|---|
| void | begin()
Begin the transaction
|
| void | commit()
Commit the transaction
|
| String | getName()
Returns the name associated with the Configurable object.
|
| String | getVersion()
Gets the Version attribute of the Service object
|
| void | rollback()
Rollback the transaction
|
| void | setCollection(Collection col)
Sets the Collection attribute of the Service object
|
Throws: XMLDBException with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
Throws: XMLDBException with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
Returns: the name of the object.
Throws: XMLDBException with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
Returns: The Version value
Throws: XMLDBException with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
Throws: XMLDBException with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
Parameters: col The new Collection value
Throws: XMLDBException with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.