net.sourceforge.java.feednread.backend.model.newstable
Class ArchivedNewsFeed

java.lang.Object
  extended bynet.sourceforge.java.feednread.backend.model.newstable.NewsFeed
      extended bynet.sourceforge.java.feednread.backend.model.newstable.ArchivedNewsFeed
All Implemented Interfaces:
Comparable, IArchivable, INewsFeedStatus, Serializable

public class ArchivedNewsFeed
extends NewsFeed

Extends NewsFeed to merge and prepare NewsFeedEntries for adding and synchronization with a NewsFeedArchive.

Author:
Sebastian Machhausen
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           The serialVersionUID of this class
 
Fields inherited from class net.sourceforge.java.feednread.backend.model.newstable.NewsFeed
newsFeedEntries, originalFeed, url
 
Constructor Summary
ArchivedNewsFeed(String url)
           Creates a new ArchivedNewsFeed for the newsfeed at the specified url.
 
Method Summary
 void addEntries(List entries)
           Adds the list of NewsFeedEntry feed entries to this ArchivedNewsFeed.
 void addEntry(NewsFeedEntry entry)
           Adds the specified NewsFeedEntry to this ArchivedNewsFeed.
 
Methods inherited from class net.sourceforge.java.feednread.backend.model.newstable.NewsFeed
addToArchive, compareTo, equals, getAuthors, getCopyright, getDescription, getEncoding, getEntries, getFeedType, getImage, getLanguage, getLink, getOriginalEntries, getOriginalFeed, getPublishedDate, getReadCount, getReadNews, getTitle, getUnreadCount, getUnreadNews, getUrl, hashCode, isUnread, markAllRead, markAllUnread, setAuthors, setCopyright, setDescription, setEncoding, setEntries, setFeedType, setImage, setLanguage, setLink, setOriginalEntries, setPublishedDate, setTitle, setUrl, synchronizeWithArchive
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID

The serialVersionUID of this class

See Also:
Constant Field Values
Constructor Detail

ArchivedNewsFeed

public ArchivedNewsFeed(String url)

Creates a new ArchivedNewsFeed for the newsfeed at the specified url.

Parameters:
url - the url of this NewsFeed
Method Detail

addEntries

public void addEntries(List entries)

Adds the list of NewsFeedEntry feed entries to this ArchivedNewsFeed.

Parameters:
entries - the list of NewsFeedEntry elements with the feed entries to add

addEntry

public void addEntry(NewsFeedEntry entry)

Adds the specified NewsFeedEntry to this ArchivedNewsFeed.

Parameters:
entry - the NewsFeedEntry to add