org.prevayler
Interface Query<P,R>
- Type Parameters:
P - The type or any supertype of the Prevalent System you intend to perform the query upon.
R - The type of object which should be returned.
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- NullQuery, ProxyQuery
public interface Query<P,R>
- extends Serializable
Represents a query that can be executed on a Prevalent System.
- See Also:
Prevayler.execute(Query)
|
Method Summary |
R |
query(P prevalentSystem,
Date executionTime)
|
query
R query(P prevalentSystem,
Date executionTime)
throws Exception
- Parameters:
prevalentSystem - The Prevalent System to be queried.executionTime - The "current" time.
- Returns:
- The result of this Query.
- Throws:
Exception - Any Exception encountered by this Query.
Copyright © 2001-2013. All Rights Reserved.