use of eu.bcvsolutions.idm.acc.event.ProvisioningEvent in project CzechIdMng by bcvsolutions.
the class AbstractProvisioningExecutor method doProvisioning.
@Override
public void doProvisioning(AccAccountDto account, DTO dto) {
Assert.notNull(account, "Account cannot be null!");
Assert.notNull(dto, "Dto cannot be null");
//
LOG.debug("Start provisioning for account [{}]", account.getUid());
entityEventManager.process(new ProvisioningEvent(ProvisioningEvent.ProvisioningEventType.START, account, ImmutableMap.of(ProvisioningService.DTO_PROPERTY_NAME, dto)));
}
use of eu.bcvsolutions.idm.acc.event.ProvisioningEvent in project CzechIdMng by bcvsolutions.
the class AbstractProvisioningExecutor method doProvisioning.
@Override
public EventContext<AccAccountDto> doProvisioning(AccAccountDto account, DTO dto, Map<String, Serializable> properties) {
Assert.notNull(account, "Account cannot be null!");
Assert.notNull(dto, "Dto cannot be null");
//
LOG.debug("Start provisioning for account [{}]", account.getUid());
Map<String, Serializable> fullProperties = ImmutableMap.<String, Serializable>builder().putAll(properties).put(ProvisioningService.DTO_PROPERTY_NAME, dto).build();
return entityEventManager.process(new ProvisioningEvent(ProvisioningEvent.ProvisioningEventType.START, account, fullProperties));
}
Aggregations