public FinalResultEntryPerDef processQueryAndfindResults(int givenTimeoutPeriod) { // TODO: ultimately this should be fixed with inheritence or an interface (new) if (UserNode.getUserNode() == null) return null; QueryProcessor qp = new QueryProcessor(this, givenTimeoutPeriod); FinalResultEntryPerDef results = qp.analyzeAndFindResults(); return results; }