Package org.rssowl.contrib.podcast.model

Examples of org.rssowl.contrib.podcast.model.IPersonalBookMark


  public Object[] getElements(Object inputElement) {

    if (inputElement instanceof ModelPreparator) {
      mPreparator = (ModelPreparator) inputElement;
      IPersonalBookMark lFeed = mPreparator.getPersonalBookMark();
      if (mShowItems) {
        mElements = lFeed.getFeedLinkReference().resolve().getNews()
            .toArray();
      } else {
        mElements = lFeed.getAttachments().toArray();
      }
      return mElements;
    } else {
      if (inputElement == null) {
        return new Object[0];
View Full Code Here


// ********************* CB TODO
// We force an inspection on the bookmark first.
        if (o instanceof IBookMark) {
          IBookMark lBookMark = (IBookMark) o;
          IPersonalBookMark lPBookMark = PersonalCache.getInstance()
              .getPersonalBookMark(lBookMark);
          mMediaController.setMediaView(lPBookMark);
          // Invoke a codelet sequence for inspection.
          InstructionService.getInstance().inspectInstruction(this, lPBookMark);
        }
View Full Code Here

    Collection<IFeed> mFeeds = Model.getInstance().getFeeds();
    for (IFeed lFeed : mFeeds) {

      mLog.info(Messages.getString("sequenceControl.start"));
      IBookMark lBookMark = Model.getInstance().getBookMark(lFeed);
      IPersonalBookMark lPBookMark = PersonalCache.getInstance()
          .getPersonalBookMark(lBookMark);

      // Creating the personal bookmark here.

      try {

        URI lUri = lPBookMark.getFeedLinkReference().resolve()
            .getLink();
        if (lPBookMark.isSubscribed() && lUri != null) {
          lScanned++;
          mLog.info("Scanning the feeds"
              + lPBookMark.getFeedLinkReference().resolve()
                  .getLink().getHost());

// CB TODO migrate instruction handling
//          lPBookMark.setInstruction(new Instruction(pSrc, true, true,
//              true, true, download, true));
View Full Code Here

TOP

Related Classes of org.rssowl.contrib.podcast.model.IPersonalBookMark

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.