oracle.ifs.common
Interface Transaction

All Superinterfaces:
java.io.Serializable

public interface Transaction
extends java.io.Serializable

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


isWriteable


public boolean isWriteable()
Gets whether this Transaction is writeable.

Creating, altering, or removing LibraryObjects in a non-writeable transaction throws an exception.

Returns:
whether it is writeable

isCompleteable


public boolean isCompleteable()
Gets whether this Transaction is completeable.

Invoking LibrarySession.completeTransaction on an uncompleteable transaction throws an exception.

Returns:
whether it is completeable

isAbortable


public boolean isAbortable()
Gets whether this Transaction is abortable.

Invoking LibrarySession.abortTransaction on an unabortable transaction throws an exception.

Returns:
whether it is abortable