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