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