public List<Ad> getAdsFor(User user, int num) throws SQLException { return (adDao.getAdsFor(user, num)); }
public List<Ad> getSearchAds(List<SearchResult> results, int num) throws SQLException { return (adDao.getSearchAds(results, num)); }
public List<Ad> getAdsFor(RecentStats context, int num) throws SQLException { return (adDao.getAdsFor(context, num)); }
public void save(Ad ad) throws SQLException { adDao.save(ad); }
public List<Ad> getAdsFor(List<RatedPage> context, int num) throws SQLException { return (adDao.getAdsFor(context, num)); }
public List<Ad> listAllAds(String filter, int max) throws SQLException { return (adDao.listAllAds(filter, max)); }
public List<Ad> listAds(Long advertiserId) throws SQLException { return (adDao.listAds(advertiserId)); }
public Ad findById(Long advertiserId, Long adId) throws SQLException { return (adDao.findById(advertiserId, adId)); }
public void delete(Ad ad) throws SQLException { adDao.delete(ad); }
public Ad create(Long id, String title, String description) throws AlreadyExistsException, SQLException { return (adDao.create(id, title, description)); }