private static List<CoordinatorActionBean> getActionsFromDateRange(String jobId, Date start, Date end,
boolean active) throws XException {
List<CoordinatorActionBean> list;
JPAService jpaService = Services.get().get(JPAService.class);
if (!active) {
list = jpaService.execute(new CoordJobGetActionsForDatesJPAExecutor(jobId, start, end));
}
else {
list = jpaService.execute(new CoordJobGetActionsByDatesForKillJPAExecutor(jobId, start, end));
}
return list;