public class TransactionServiceImpl extends SimpleConfigurable implements TransactionService
Collection operations into a
transaction.
Note: This interface needs much better definition| Constructor and Description |
|---|
TransactionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Begin the transaction
|
void |
commit()
Commit the transaction
|
java.lang.String |
getName()
Returns the name associated with the Configurable object.
|
java.lang.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
|
getProperty, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperty, setPropertypublic java.lang.String getName()
throws XMLDBException
getName in interface ServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.public java.lang.String getVersion()
throws XMLDBException
getVersion in interface ServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.public void setCollection(Collection col) throws XMLDBException
setCollection in interface Servicecol - The new Collection valueXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.public void begin()
throws XMLDBException
begin in interface TransactionServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.public void commit()
throws XMLDBException
commit in interface TransactionServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.public void rollback()
throws XMLDBException
rollback in interface TransactionServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.