public interface Transaction extends Serializable
LibrarySession.beginTransaction that can be passed to
LibrarySession.completeTransaction or
LibrarySession.abortTransaction.| Modifier and Type | Method and Description |
|---|---|
boolean |
isAbortable()
Gets whether this Transaction is abortable.
|
boolean |
isCompleteable()
Gets whether this Transaction is completeable.
|
boolean |
isWriteable()
Gets whether this Transaction is writeable.
|
boolean isWriteable()
Creating, altering, or removing LibraryObjects in a non-writeable transaction throws an exception.
boolean isCompleteable()
Invoking LibrarySession.completeTransaction on an
uncompleteable transaction throws an exception.
boolean isAbortable()
Invoking LibrarySession.abortTransaction on an
unabortable transaction throws an exception.
Copyright © 2025. All rights reserved.