Revision 83ec5bc6
Added by Katja Luther almost 13 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IIdentifiableEntityService.java | ||
---|---|---|
124 | 124 |
*/ |
125 | 125 |
public Pager<T> findByTitle(Class<? extends T> clazz, String queryString,MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths); |
126 | 126 |
|
127 |
/** |
|
128 |
* Return an Integer of how many objects matching the given query string, optionally filtered by class, optionally with a particular MatchMode |
|
129 |
* |
|
130 |
* @param clazz filter by class - can be null to include all instances of type T |
|
131 |
* @param queryString the query string to filter by |
|
132 |
* @param matchmode use a particular type of matching (can be null - defaults to exact matching) |
|
133 |
* @param criteria additional criteria to filter by |
|
134 |
* @param propertyPaths properties to initialize - see {@link BeanInitializer#initialize(Object, List)} |
|
135 |
* @return |
|
136 |
*/ |
|
137 |
public Integer countByTitle(Class<? extends T> clazz, String queryString,MatchMode matchmode, List<Criterion> criteria, List<String> propertyPaths); |
|
138 |
|
|
127 | 139 |
/** |
128 | 140 |
* Return a List of objects matching the given query string, optionally filtered by class, optionally with a particular MatchMode |
129 | 141 |
* |
Also available in: Unified diff
countByTitle() method for IIdentifiableService