Class EntityTypeToFilterQueryService


  • public class EntityTypeToFilterQueryService
    extends Object
    This service offers a way to convert EntityType String labels to a filter query which is defined in the bean config for this service
    • Constructor Detail

      • EntityTypeToFilterQueryService

        public EntityTypeToFilterQueryService()
    • Method Detail

      • setMap

        public void setMap​(Map map)
        Standard setter for this map
        Parameters:
        map - The map that should be set in this service
      • getMap

        public Map getMap()
        Standard getter for the map
        Returns:
        the map
      • getFilterQueryForKey

        public String getFilterQueryForKey​(String key)
        Retrieves the filterQuery for the key that's given as a parameter. It looks in the map for the value
        Parameters:
        key - The key for which we'll find the value in the map
        Returns:
        The filter query representation for the given key
      • hasKey

        public boolean hasKey​(String key)
        Returns a boolean depending on whether a key is present in the map or not
        Parameters:
        key - The key to be checked for
        Returns:
        The boolean indicating whether this key is present in the map or not