@Override protected Filter postPopulate(Filter model) { model.setId(ID); SchedulingPolicyUnit schedulingPolicyUnit = new SchedulingPolicyUnit(); schedulingPolicyUnit.setId(ID); model.setSchedulingPolicyUnit(schedulingPolicyUnit); model.setPosition(0); return model; }
@Override protected Filter getModel(Filter filter) { filter = new Filter(); filter.setId(ID); return filter; }