use of eu.bcvsolutions.idm.acc.dto.filter.SysProvisioningBreakRecipientFilter in project CzechIdMng by bcvsolutions.
the class IdentityDeleteProcessor method deleteProvisioningRecipients.
/**
* Method remove all provisioning recipient for identity id given in parameter
*
* @param identityId
*/
private void deleteProvisioningRecipients(UUID identityId) {
SysProvisioningBreakRecipientFilter filter = new SysProvisioningBreakRecipientFilter();
filter.setIdentityId(identityId);
for (SysProvisioningBreakRecipientDto recipient : provisioningBreakRecipientService.find(filter, null).getContent()) {
LOG.debug("Remove recipient from provisioning break [{}]", recipient.getId());
provisioningBreakRecipientService.delete(recipient);
}
}
use of eu.bcvsolutions.idm.acc.dto.filter.SysProvisioningBreakRecipientFilter in project CzechIdMng by bcvsolutions.
the class RoleDeleteProcessor method deleteProvisioningRecipient.
/**
* Method remove all provisioning recipient for role id given in parameter
*
* @param identityId
*/
private void deleteProvisioningRecipient(UUID roleId) {
SysProvisioningBreakRecipientFilter filter = new SysProvisioningBreakRecipientFilter();
filter.setRoleId(roleId);
for (SysProvisioningBreakRecipientDto recipient : provisioningBreakRecipientService.find(filter, null).getContent()) {
LOG.debug("Remove recipient from provisioning break [{}]", recipient.getId());
provisioningBreakRecipientService.delete(recipient);
}
}
use of eu.bcvsolutions.idm.acc.dto.filter.SysProvisioningBreakRecipientFilter in project CzechIdMng by bcvsolutions.
the class DefaultSysProvisioningBreakRecipientService method findAllByBreakConfig.
@Override
public List<SysProvisioningBreakRecipientDto> findAllByBreakConfig(UUID provisioningBreakConfig) {
SysProvisioningBreakRecipientFilter filter = new SysProvisioningBreakRecipientFilter();
filter.setBreakConfigId(provisioningBreakConfig);
//
return this.find(filter, null).getContent();
}
Aggregations