|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A Transaction is a token returned by
LibrarySession.beginTransaction that can be passed to
LibrarySession.completeTransaction or
LibrarySession.abortTransaction.
| Method Summary | |
boolean |
isAbortable()
Gets whether this Transaction is abortable. |
boolean |
isCompleteable()
Gets whether this Transaction is completeable. |
boolean |
isWriteable()
Gets whether this Transaction is writeable. |
| Method Detail |
public boolean isWriteable()
Creating, altering, or removing LibraryObjects in a non-writeable transaction throws an exception.
public boolean isCompleteable()
Invoking LibrarySession.completeTransaction on an
uncompleteable transaction throws an exception.
public boolean isAbortable()
Invoking LibrarySession.abortTransaction on an
unabortable transaction throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||