Package com.gnizr.db.dao.link

Examples of com.gnizr.db.dao.link.LinkDBDao


    assertFalse(bmDao.deleteBookmark(bm.getId()));
    assertNull(bmDao.getBookmark(bm.getId()));
  }
 
  public void testCreateBookmark() throws Exception{
    LinkDBDao linkDao = new LinkDBDao(getDataSource());
    Link link = linkDao.getLink((202));
    assertNotNull(link);
   
    UserDBDao userDao = new UserDBDao(getDataSource());
    User user = userDao.getUser((1));
    assertNotNull(user);
View Full Code Here


  public static final GnizrDao getInstance(DataSource datasource){
    if(gnizrDao == null){
      gnizrDao = new GnizrDao();
      gnizrDao.setBookmarkDao(new BookmarkDBDao(datasource));
      gnizrDao.setUserDao(new UserDBDao(datasource));
      gnizrDao.setLinkDao(new LinkDBDao(datasource));
      gnizrDao.setTagDao(new TagDBDao(datasource));
      gnizrDao.setFeedSubscriptionDao(new FeedSubscriptionDBDao(datasource));
      gnizrDao.setForUserDao(new ForUserDBDao(datasource));
      gnizrDao.setTagAssertionDao(new TagAssertionDBDao(datasource));
      gnizrDao.setTagPropertyDao(new TagPropertyDBDao(datasource));
View Full Code Here

    }
   
    gnizrDBDao = new GnizrDao();
    gnizrDBDao.setBookmarkDao(new BookmarkDBDao(dataSource));
    gnizrDBDao.setUserDao(new UserDBDao(dataSource));
    gnizrDBDao.setLinkDao(new LinkDBDao(dataSource));
    gnizrDBDao.setTagDao(new TagDBDao(dataSource));
    gnizrDBDao.setTagPropertyDao(new TagPropertyDBDao(dataSource));
    gnizrDBDao.setTagAssertionDao(new TagAssertionDBDao(dataSource));
    gnizrDBDao.setFeedSubscriptionDao(new FeedSubscriptionDBDao(dataSource));
    gnizrDBDao.setForUserDao(new ForUserDBDao(dataSource));
View Full Code Here

TOP

Related Classes of com.gnizr.db.dao.link.LinkDBDao

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.