anthill.storage
Interface QueryController

All Known Implementing Classes:
ANDQueryController, ExactQueryController

public interface QueryController

Version:
$Revision: 1.4 $
Author:
Hein Meling

Method Summary
 boolean satisfies(Resource resource, Object query)
          Returns the result of matching the specified query with the given resource.
 

Method Detail

satisfies

public boolean satisfies(Resource resource,
                         Object query)
Returns the result of matching the specified query with the given resource.

Parameters:
resource - to match the query against.
query - query object match the specified resource against.
Returns:
true if the specified resource match the specified query.