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