public class XmlHandleTransactionImpl<T> extends Object implements XmlHandleTransaction<T>
| Constructor and Description |
|---|
XmlHandleTransactionImpl(XmlRootHandle<T> root,
DynamicChangeInfo changeInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
abandon()
Abandons this transaction and will release the write lock
|
void |
commit()
Attempts to commit all the changes in this
transaction and will release the write lock
|
XmlRootHandle<T> |
getRootHandle()
Gets the root handle that started this transaction
|
String |
toString() |
public XmlHandleTransactionImpl(XmlRootHandle<T> root, DynamicChangeInfo changeInfo)
public XmlRootHandle<T> getRootHandle()
XmlHandleTransactiongetRootHandle in interface XmlHandleTransaction<T>public void commit()
throws MultiException
XmlHandleTransactioncommit in interface XmlHandleTransaction<T>MultiException - if there was an error when committing
the transaction (normally because some validator or
PropertyVetoListener failed)public void abandon()
XmlHandleTransactionabandon in interface XmlHandleTransaction<T>Copyright © 2009–2019 Oracle Corporation. All rights reserved.