use of com.evolveum.midpoint.xml.ns._public.common.common_3.PropertyLimitationsType in project midpoint by Evolveum.
the class LimitationsEditorDialog method savePerformed.
protected void savePerformed(AjaxRequestTarget target) {
List<PropertyLimitationsTypeDto> list = model.getObject();
List<PropertyLimitationsType> outputList = new ArrayList<>();
for (PropertyLimitationsTypeDto dto : list) {
outputList.add(dto.prepareDtoForSave());
}
inputModel.getObject().clear();
inputModel.getObject().addAll(outputList);
close(target);
}
use of com.evolveum.midpoint.xml.ns._public.common.common_3.PropertyLimitationsType in project midpoint by Evolveum.
the class LimitationsEditorDialog method addLimitationsPerformed.
private void addLimitationsPerformed(AjaxRequestTarget target) {
changeState = ChangeState.LAST;
model.getObject().add(new PropertyLimitationsTypeDto(new PropertyLimitationsType()));
target.add(getContent());
}
Aggregations