org.bejug.javacareers.common.search
Interface SearchCriteriaService


public interface SearchCriteriaService

This class is meant to serve as interface for the implementations of all the methods supported by the SearchCriteria-class.

Version:
$Revision: 1.1 $ $Date: 2005/08/26 07:58:25 $
Author:
Bart Meyers (last modified by $Author: ge0ffrey $)

Method Summary
 int executeCountQuery(SearchCriteria searchCriteria)
          execute the countquery with the provided searchcriteria.
 java.util.List executeQuery(SearchCriteria searchCriteria)
          execute the query with the provided searchcriteria.
 java.lang.Object executeUniqueQuery(SearchCriteria searchCriteria)
          execute the uniquequery with the provided searchcriteria.
 

Method Detail

executeQuery

public java.util.List executeQuery(SearchCriteria searchCriteria)
execute the query with the provided searchcriteria.

Parameters:
searchCriteria - the criteria to meet.
Returns:
a List of resulting objects from the database.

executeCountQuery

public int executeCountQuery(SearchCriteria searchCriteria)
execute the countquery with the provided searchcriteria.

Parameters:
searchCriteria - the criteria to meet.
Returns:
an int indicating the count from the database.

executeUniqueQuery

public java.lang.Object executeUniqueQuery(SearchCriteria searchCriteria)
execute the uniquequery with the provided searchcriteria.

Parameters:
searchCriteria - the criteria to meet.
Returns:
one Object from the resultset.


Copyright © 2005-2006 BeJUG. All Rights Reserved.