Search in sources :

Example 1 with AbstractRequestDto

use of eu.bcvsolutions.idm.core.api.dto.AbstractRequestDto in project CzechIdMng by bcvsolutions.

the class AutomaticRoleRequestRealizationProcessor method process.

@Override
public EventResult<IdmAutomaticRoleRequestDto> process(EntityEvent<IdmAutomaticRoleRequestDto> event) {
    AbstractRequestDto dto = event.getContent();
    event.setContent(service.executeRequest(dto.getId()));
    return new DefaultEventResult<>(event, this);
}
Also used : DefaultEventResult(eu.bcvsolutions.idm.core.api.event.DefaultEventResult) AbstractRequestDto(eu.bcvsolutions.idm.core.api.dto.AbstractRequestDto)

Aggregations

AbstractRequestDto (eu.bcvsolutions.idm.core.api.dto.AbstractRequestDto)1 DefaultEventResult (eu.bcvsolutions.idm.core.api.event.DefaultEventResult)1