class FilterServiceImpl implements FilterService, Constants {

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

}