class KewTypeBoServiceImpl implements KewTypeRepositoryService {

    @Override
    public KewTypeDefinition getTypeById(final String id) {
        if (StringUtils.isBlank(id)) {
            throw new RiceIllegalArgumentException("id is blank");
        }

        KewTypeBo kewTypeBo = dataObjectService.find(KewTypeBo.class, id);

        return KewTypeBo.to(kewTypeBo);
    }

}