public List < Lot > doSearch ( ExtraLotInfo extras ) { ClientResource resource = new ClientResource ( Route . SEARCH . url ( ) ) ; Route . handleExtraInfo ( resource , extras , auth ) ; Route . addParameters ( resource . getReference ( ) , this . parameters ) ; try { Representation repr = resource . get ( ) ; return new ObjectMapper ( ) . readValue ( repr . getText ( ) , new TypeReference < List < Lot > > ( ) { } ) ; } catch ( IOException ex ) { LEX4JLogger . log ( Level . WARNING , "Could not retrieve search results correctly!" ) ; return null ; } }
Performs the search operation based on filters that are currently active .