private Filter getFilter ( String layerFilter , String [ ] featureIds ) throws GeomajasException { Filter filter = null ; if ( null != layerFilter ) { filter = filterService . parseFilter ( layerFilter ) ; } if ( null != featureIds ) { Filter fidFilter = filterService . createFidFilter ( featureIds ) ; if ( null == filter ) { filter = fidFilter ; } else { filter = filterService . createAndFilter ( filter , fidFilter ) ; } } return filter ; }
Build filter for the request .