checkCommandAccessibility(COMMAND_READ);
}
ReportgenQuery query = findEntity(ReportgenQuery.class, id);
try {
ReportQuery report = ReportFactory.fromString(id, query.getQuery(), this);
rootQuery = new QueryExecuter(id, report, query.getTitle(), query.getDescription());
return executeQuery(rootQuery);
} catch (Exception reportException) {
throw new ClipsServerException("При обработке отчета произошла ошибка", reportException);
}
}