org.prevayler
Interface SureTransactionWithQuery<P,R>

Type Parameters:
P - The type or any supertype of the Prevalent System you intend to perform the transaction and query upon.
R - The type of object which should be returned.
All Superinterfaces:
Serializable, TransactionWithQuery<P,R>

public interface SureTransactionWithQuery<P,R>
extends TransactionWithQuery<P,R>

The same as TransactionWithQuery except it does not throw Exception when executed.

See Also:
TransactionWithQuery

Method Summary
 R executeAndQuery(P prevalentSystem, Date executionTime)
          The same as TransactionWithQuery.executeAndQuery(P, Date) except it does not throw Exception when executed.
 

Method Detail

executeAndQuery

R executeAndQuery(P prevalentSystem,
                  Date executionTime)
The same as TransactionWithQuery.executeAndQuery(P, Date) except it does not throw Exception when executed.

Specified by:
executeAndQuery in interface TransactionWithQuery<P,R>
Parameters:
prevalentSystem - The system on which this TransactionWithQuery will execute.
executionTime - The time at which this TransactionWithQuery is being executed. Every Transaction executes completely within a single moment in time. Logically, a Prevalent System's time does not pass during the execution of a Transaction.
See Also:
TransactionWithQuery.executeAndQuery(Object, Date)


Copyright © 2001-2013. All Rights Reserved.