Пример #1
0
 public List<Ad> getAdsFor(User user, int num) throws SQLException {
   return (adDao.getAdsFor(user, num));
 }
Пример #2
0
 public List<Ad> getSearchAds(List<SearchResult> results, int num) throws SQLException {
   return (adDao.getSearchAds(results, num));
 }
Пример #3
0
 public List<Ad> getAdsFor(RecentStats context, int num) throws SQLException {
   return (adDao.getAdsFor(context, num));
 }
Пример #4
0
 public void save(Ad ad) throws SQLException {
   adDao.save(ad);
 }
Пример #5
0
 public List<Ad> getAdsFor(List<RatedPage> context, int num) throws SQLException {
   return (adDao.getAdsFor(context, num));
 }
Пример #6
0
 public List<Ad> listAllAds(String filter, int max) throws SQLException {
   return (adDao.listAllAds(filter, max));
 }
Пример #7
0
 public List<Ad> listAds(Long advertiserId) throws SQLException {
   return (adDao.listAds(advertiserId));
 }
Пример #8
0
 public Ad findById(Long advertiserId, Long adId) throws SQLException {
   return (adDao.findById(advertiserId, adId));
 }
Пример #9
0
 public void delete(Ad ad) throws SQLException {
   adDao.delete(ad);
 }
Пример #10
0
 public Ad create(Long id, String title, String description)
     throws AlreadyExistsException, SQLException {
   return (adDao.create(id, title, description));
 }