public Offices getOfficesByTypeLevel ( String officeTypeId , String officeLevelId ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "Office.getOfficesByTypeLevel" , new ArgMap ( "officeTypeId" , officeTypeId , "officeLevelId" , officeLevelId ) , Offices . class ) ; }
This method dumps offices we keep track of according to type and level .