protected Map < String , String > readCompiledSources ( ) throws EFapsException { final Map < String , String > ret = new HashMap <> ( ) ; final QueryBuilder queryBldr = new QueryBuilder ( getClassName4TypeCompiled ( ) ) ; final MultiPrintQuery multi = queryBldr . getPrint ( ) ; multi . addAttribute ( CIAdminProgram . StaticCompiled . Name ) ; multi . executeWithoutAccessCheck ( ) ; while ( multi . next ( ) ) { final String name = multi . < String > getAttribute ( CIAdminProgram . StaticCompiled . Name ) ; ret . put ( name , multi . getCurrentInstance ( ) . getOid ( ) ) ; } return ret ; }
This method reads all compiled Sources from the eFaps - DataBase and returns a map with name to oid relation .