use of com.evolveum.midpoint.model.api.AssignmentCandidatesSpecification in project midpoint by Evolveum.
the class ChooseMemberPopup method loadCandidateSpecification.
private AssignmentCandidatesSpecification loadCandidateSpecification() {
OperationResult result = new OperationResult(OPERATION_LOAD_MEMBER_RELATIONS);
PrismObject obj = getAssignmentTargetRefObject().asPrismObject();
AssignmentCandidatesSpecification spec = null;
try {
spec = getPageBase().getModelInteractionService().determineAssignmentHolderSpecification(obj, result);
} catch (Throwable ex) {
result.recordPartialError(ex.getLocalizedMessage());
LOGGER.error("Couldn't load member relations list for the object {} , {}", obj.getName(), ex.getLocalizedMessage());
}
return spec;
}
Aggregations