org.bejug.javacareers.common.search
Interface SearchCriteriaFactory


public interface SearchCriteriaFactory

Interface for the factory of SearchCriterias.

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

Method Summary
 SearchCriteria createSearchCriteria(java.lang.Class clazz)
          creates or gets a SearchCriteria from the cache/pool.
 SearchCriteria createSearchCriteria(java.lang.Class clazz, int maxResults)
          creates or gets a SearchCriteria from the cache/pool.
 

Method Detail

createSearchCriteria

public SearchCriteria createSearchCriteria(java.lang.Class clazz)
creates or gets a SearchCriteria from the cache/pool.

Parameters:
clazz - the Class to define this searchcriteria for.
Returns:
a SearchCriteria-object.

createSearchCriteria

public SearchCriteria createSearchCriteria(java.lang.Class clazz,
                                           int maxResults)
creates or gets a SearchCriteria from the cache/pool.

Parameters:
clazz - the Class to define this searchcriteria for.
maxResults - the max number of results wanted.
Returns:
a SearchCriteria-object.


Copyright © 2005-2006 BeJUG. All Rights Reserved.