use of eu.bcvsolutions.idm.acc.dto.AccTreeAccountDto in project CzechIdMng by bcvsolutions.
the class TreeProvisioningExecutor method doProvisioning.
public void doProvisioning(AccAccountDto account) {
Assert.notNull(account);
AccTreeAccountFilter filter = new AccTreeAccountFilter();
filter.setAccountId(account.getId());
List<AccTreeAccountDto> treeAccoutnList = treeAccountService.find(filter, null).getContent();
if (treeAccoutnList == null) {
return;
}
treeAccoutnList.stream().filter(treeAccount -> {
return treeAccount.isOwnership();
}).forEach((treeAccount) -> {
doProvisioning(account, DtoUtils.getEmbedded(treeAccount, AccTreeAccount_.treeNode, IdmTreeNodeDto.class));
});
}
Aggregations