Search in sources :

Example 1 with IdmCodeListItem

use of eu.bcvsolutions.idm.core.eav.entity.IdmCodeListItem in project CzechIdMng by bcvsolutions.

the class DefaultIdmCodeListItemService method getItem.

@Override
public IdmCodeListItemDto getItem(UUID codeListId, String itemCode, BasePermission... permission) {
    IdmCodeListItem item = repository.findOneByCodeList_IdAndCode(codeListId, itemCode);
    // 
    checkAccess(item, permission);
    // 
    return toDto(item);
}
Also used : IdmCodeListItem(eu.bcvsolutions.idm.core.eav.entity.IdmCodeListItem)

Aggregations

IdmCodeListItem (eu.bcvsolutions.idm.core.eav.entity.IdmCodeListItem)1