/**
* form a query page for search protein sequence. The servlet should be
- * available for users and admins only.
+ * available for users and admins only.
*
* @param model
* MVC model
}
/**
- * form a query page for statistics: Protein by job count. The servlet should be
- * available for users and admins only.
+ * form a query page for statistics: Protein by job count. The servlet
+ * should be available for users and admins only.
*
* @param model
* MVC model
* @param sequence
* protein sequence or part of sequence
* @param searchtype
- * defined whether the whole sequence or part of sequence would be searched
+ * defined whether the whole sequence or part of sequence would
+ * be searched
* @return link to the report JSP page
*/
@RequestMapping(value = "sequence/results", method = RequestMethod.GET)
final long endTime = System.currentTimeMillis();
model.put("timeExecution", (endTime - startTime));
- return "reportProteinSequences";
+ return "reports/Sequences";
}
/**
* @param model
* MVC model object
* @param counter
- *
+ *
* @return link to the report JSP page
*/
@RequestMapping(value = "counts/results", method = RequestMethod.GET)
return "query/SequenceCounts";
}
-
ReaderByCounter reader = new ReaderByCounter();
List<TotalByCounterBean> r = reader.readProteinByCounter(realcounter);
model.put("results", r);
final long endTime = System.currentTimeMillis();
model.put("timeExecution", (endTime - startTime));
model.put("counter", realcounter);
- return "reportProteinSequencesCounter";
+ return "reports/SequencesStatistics";
}
}