Class 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 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