Collection logentries = (Collection) logsession.query(query,informationmemory.getViewLogQueryString(), informationmemory.getViewLogCAIdString());
Collection logentries = logsession.query(query,informationmemory.getViewLogQueryString(), informationmemory.getViewLogCAIdString());
    public LogEntryView[] filterByTime(int time, int index, int size) throws Exception {      Query query = new Query(Query.TYPE_LOGQUERY);      Date starttime = new Date( (new Date()).getTime() - (time * 60000));            query.add(starttime, new Date());              Collection logentries = (Collection) logsession.query(query,informationmemory.getViewLogQueryString(), informationmemory.getViewLogCAIdString());      logentriesview.setEntries(logentries);      return logentriesview.getEntries(index,size);            }            