|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITransactionGraph
ITransactionGraph is a graph whose transactions are handled by a transaction queue. These functions are encapsulated by an enhanced TransactionHandler, an ITransactionQueueManager.
| Method Summary | |
|---|---|
boolean |
commitTransactionQueue()
Commit the transaction queue. |
ITransactionQueueManager |
getTransactionQueueManager()
Get the ITransactionQueueManager for this graph. |
boolean |
processTransactions(java.util.List<ITransaction> queue)
Process a list of transactions, most commonly from another ITransactionGraph. |
void |
redo()
Redo the last command in the current transaction. |
void |
undo()
Undo the last command in the current transaction. |
| Methods inherited from interface org.openanzo.model.INamedGraph |
|---|
add, add, add, clear, close, contains, contains, delete, delete, delete, find, getEventManager, getNamedGraphUri, getStatements, getTransactionManager, isClosed, isEmpty, setNamedGraphUri, size |
| Method Detail |
|---|
ITransactionQueueManager getTransactionQueueManager()
boolean processTransactions(java.util.List<ITransaction> queue)
queue - List of transactions to apply to local queue.
boolean commitTransactionQueue()
throws java.lang.Throwable
java.lang.Throwable
void undo()
throws AnzoException
AnzoException - if there was an error undoing last command on graph
void redo()
throws AnzoException
AnzoException - if there was an error undoing last command on graph
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||