throw new IllegalQueryException();
}
List<LogEntryData> logEntryDataList = LogEntryData.findByCustomQueryAndPrivileges(entityManager, query.getQueryString(), capriviledges, viewlogprivileges, maxResults+1);
List<LogEntry> returnval = new ArrayList<LogEntry>();
for (LogEntryData logEntryData : logEntryDataList) {
LogEntry logEntry = logEntryData.getLogEntry();
returnval.add(logEntry);
}
return returnval;
}