Search in sources :

Example 6 with IdmAutomaticRoleAttributeRuleRequestFilter

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

the class IdmAutomaticRoleAttributeRuleRequestController method toFilter.

@Override
protected IdmAutomaticRoleAttributeRuleRequestFilter toFilter(MultiValueMap<String, Object> parameters) {
    IdmAutomaticRoleAttributeRuleRequestFilter filter = new IdmAutomaticRoleAttributeRuleRequestFilter(parameters);
    filter.setText(getParameterConverter().toString(parameters, "text"));
    filter.setRoleRequestId(getParameterConverter().toUuid(parameters, "roleRequestId"));
    filter.setRoleId(getParameterConverter().toUuid(parameters, "roleId"));
    filter.setAutomaticRoleId(getParameterConverter().toUuid(parameters, "automaticRole"));
    return filter;
}
Also used : IdmAutomaticRoleAttributeRuleRequestFilter(eu.bcvsolutions.idm.core.api.dto.filter.IdmAutomaticRoleAttributeRuleRequestFilter)

Aggregations

IdmAutomaticRoleAttributeRuleRequestFilter (eu.bcvsolutions.idm.core.api.dto.filter.IdmAutomaticRoleAttributeRuleRequestFilter)6 IdmAutomaticRoleAttributeRuleRequestDto (eu.bcvsolutions.idm.core.api.dto.IdmAutomaticRoleAttributeRuleRequestDto)4 ResultCodeException (eu.bcvsolutions.idm.core.api.exception.ResultCodeException)3 Transactional (org.springframework.transaction.annotation.Transactional)3 IdmAutomaticRoleAttributeDto (eu.bcvsolutions.idm.core.api.dto.IdmAutomaticRoleAttributeDto)2 IdmAutomaticRoleRequestDto (eu.bcvsolutions.idm.core.api.dto.IdmAutomaticRoleRequestDto)2 UUID (java.util.UUID)2 CriteriaBuilder (javax.persistence.criteria.CriteriaBuilder)2 PageRequest (org.springframework.data.domain.PageRequest)2 IdmAutomaticRoleAttributeRuleDto (eu.bcvsolutions.idm.core.api.dto.IdmAutomaticRoleAttributeRuleDto)1 IdmRoleDto (eu.bcvsolutions.idm.core.api.dto.IdmRoleDto)1 IdmRoleTreeNodeDto (eu.bcvsolutions.idm.core.api.dto.IdmRoleTreeNodeDto)1 IdmAutomaticRoleAttributeRuleFilter (eu.bcvsolutions.idm.core.api.dto.filter.IdmAutomaticRoleAttributeRuleFilter)1 IdmIdentityFilter (eu.bcvsolutions.idm.core.api.dto.filter.IdmIdentityFilter)1 DefaultEventResult (eu.bcvsolutions.idm.core.api.event.DefaultEventResult)1 AcceptedException (eu.bcvsolutions.idm.core.api.exception.AcceptedException)1 CoreException (eu.bcvsolutions.idm.core.api.exception.CoreException)1 RoleRequestException (eu.bcvsolutions.idm.core.api.exception.RoleRequestException)1 IdmAutomaticRoleRequestService (eu.bcvsolutions.idm.core.api.service.IdmAutomaticRoleRequestService)1 IdmFormValueFilter (eu.bcvsolutions.idm.core.eav.api.dto.filter.IdmFormValueFilter)1