use of com.axelor.meta.ActionHandler in project axelor-open-suite by axelor.
the class ActionServiceImpl method apply.
@SuppressWarnings("unchecked")
protected void apply(String actions) {
ActionHandler handler = createHandler(actions);
Object value = handler.execute();
ActionResponse response = (ActionResponse) value;
List<Map<String, Object>> dataList = (List<Map<String, Object>>) response.getData();
for (Map<String, Object> map : dataList) {
updateContext(map);
}
}
Aggregations