refreshParams(context);
List<Object> entities = new ArrayList<Object>();
WorkflowItem[] workflowItems = ContentHelper.findAllWorkflow(context, reviewer, submitter, fields, status, _start, _limit, _sort.replaceAll("_", " "));
for (WorkflowItem wfi : workflowItems) {
entities.add(new WorkflowEntity(wfi, context));
}
return entities;
} catch (SQLException ex) {
throw new EntityException("Internal server error", "SQL error", 500);