Class SearchOperatorHelper
java.lang.Object
net.sourceforge.jbizmo.commons.search.util.SearchOperatorHelper
Helper class for search operators
Copyright 2010 (C) by Martin Ganserer
- Version:
- 1.0.0
- Author:
- Martin Ganserer
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<SearchOperatorDTO>Get all operatorsstatic SearchOperatorDTOgetOperator(String name) Get an operator by its namestatic List<SearchOperatorDTO>
-
Method Details
-
getAllOperators
Get all operators- Returns:
- a list of all operators
-
getOperator
Get an operator by its name- Parameters:
name- the name of the operator- Returns:
- the operator identified by its name
-
getOperatorsForField
- Parameters:
field-- Returns:
- a list of supported search operators for a given field
-