class FilterServiceImpl implements FilterService, Constants {

    public List<Map<String, Object>> getTargetTypesForAssetGroup(
            String assetGroup, String domain) throws ServiceException {
        AssetCountDTO[] assetCountByResourceTypes;
        try{
            assetCountByResourceTypes= repository
                .getListOfTargetTypes(assetGroup, domain);
        noDataFoundCheck(assetCountByResourceTypes, emptyList);
        }catch(DataException e){
            throw new ServiceException(e);
        }
        return getAssetCountByType(assetCountByResourceTypes);
    }

}