public class QueryCriteriaUtil extends Object
| Constructor and Description |
|---|
QueryCriteriaUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List<QueryCriteria> |
getLimitingCriteria(List<QueryCriteria> criteriaList)
Return the ("purely") limiting criteria to the query.
|
static boolean |
noLimitingCriteria(List<QueryCriteria> criteriaList)
Determine if there are no ("purely") limiting criteria to the query
"Purely" limiting criteria are single criteria which apply to all results of the query.
|
static QueryCriteria |
removeLimitingCriteria(String listId,
List<QueryCriteria> criteriaList)
Remove any criteria that satisfy both of the following: The criteria must
have the same list id as the given listId string
apply to all results of the query
|
public static boolean noLimitingCriteria(List<QueryCriteria> criteriaList)
criteriaList - The list of criteria to processpublic static List<QueryCriteria> getLimitingCriteria(List<QueryCriteria> criteriaList)
criteriaList - The list of criteria to processpublic static QueryCriteria removeLimitingCriteria(String listId, List<QueryCriteria> criteriaList)
listId - The listId for the criteria to removecriteriaList - The list of QueryCriteria to processQueryParameterIdentifiers}Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.