|
XML:DB API SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xmldb.api.sdk.SimpleConfigurable
org.xmldb.api.sdk.modules.SimpleTransactionService
Provides the ability to bundle Collection operations into a
transaction.
| Constructor Summary | |
SimpleTransactionService()
|
|
| Method Summary | |
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 |
| Methods inherited from class org.xmldb.api.sdk.SimpleConfigurable |
getProperty, setProperty |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xmldb.api.base.Configurable |
getProperty, setProperty |
| Constructor Detail |
public SimpleTransactionService()
| Method Detail |
public 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 value
XMLDBException - 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.
|
XML:DB API SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||