Package org.rssowl.core.persist.reference

Examples of org.rssowl.core.persist.reference.FeedLinkReference.resolve()


          bookmark.setFeedLinkReference(new FeedLinkReference(newFeedLink));
          entitiesToSave.add(bookmark);

          /* Check if the old reference can be deleted now */
          if (daoService.getBookMarkDAO().loadAll(oldFeedRef).size() == 1)
            DynamicDAO.delete(oldFeedRef.resolve());

          /* Delete the Favicon since the feed has changed */
          OwlUI.deleteImage(bookmark.getId());
        }

View Full Code Here


          bookmark.setFeedLinkReference(new FeedLinkReference(newFeedLink));
          entitiesToSave.add(bookmark);

          /* Check if the old reference can be deleted now */
          if (daoService.getBookMarkDAO().loadAll(oldFeedRef).size() == 1)
            DynamicDAO.delete(oldFeedRef.resolve());

          /* Delete the Favicon since the feed has changed */
          OwlUI.deleteImage(bookmark.getId());
        }

View Full Code Here

          }

          /* Check if the old reference can be deleted now */
          FeedLinkReference oldFeedRef = bookmark.getFeedLinkReference();
          if (daoService.getBookMarkDAO().loadAll(oldFeedRef).size() == 1)
            DynamicDAO.delete(oldFeedRef.resolve());

          /* Apply the new Reference */
          bookmark.setFeedLinkReference(new FeedLinkReference(newFeedLink));
          entitiesToSave.add(bookmark);

View Full Code Here

  private void removeFromParentFeed(INews news) {
    FeedLinkReference feedRef = news.getFeedReference();
    if (itemsBeingDeletedContains(feedRef))
      return;

    IFeed feed = feedRef.resolve();
    /* If the news was still within parent, update parent */
    if (feed.removeNews(news))
      fDb.ext().set(feed, 2);
}

View Full Code Here

  private void removeFromParentFeed(INews news) {
    FeedLinkReference feedRef = news.getFeedReference();
    if (itemsBeingDeletedContains(feedRef))
      return;

    IFeed feed = feedRef.resolve();
    /* If the news was still within parent, update parent */
    if (feed.removeNews(news))
      fDb.ext().store(feed, 2);
}

View Full Code Here

          }

          /* Check if the old reference can be deleted now */
          FeedLinkReference oldFeedRef = bookmark.getFeedLinkReference();
          if (daoService.getBookMarkDAO().loadAll(oldFeedRef).size() == 1)
            DynamicDAO.delete(oldFeedRef.resolve());

          /* Apply the new Reference */
          bookmark.setFeedLinkReference(new FeedLinkReference(newFeedLink));
          entitiesToSave.add(bookmark);

View Full Code Here

  private void removeFromParentFeed(INews news) {
    FeedLinkReference feedRef = news.getFeedReference();
    if (itemsBeingDeletedContains(feedRef))
      return;

    IFeed feed = feedRef.resolve();

    /* If the news was still within parent, update parent */
    if (feed.removeNews(news))
      fDb.ext().set(feed, 2);
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.