com.johnmunsch.rss
Class ListChannelStore

java.lang.Object
  |
  +--com.johnmunsch.rss.ListChannelStore
All Implemented Interfaces:
ChannelStore

public class ListChannelStore
extends java.lang.Object
implements ChannelStore

Author:
johnm

Constructor Summary
ListChannelStore()
          Creates new ListChannelStore
 
Method Summary
 boolean add(Channel channel)
           
 boolean add(java.util.Collection collection)
           
 void addChannelStoreListener(ChannelStoreListener l)
           
 void clear()
           
protected  void fireChannelStorePostAdd()
           
protected  void fireChannelStorePostClear()
           
protected  void fireChannelStorePostRemove()
           
protected  void fireChannelStorePostRetrieve(java.util.Collection pending)
           
protected  void fireChannelStorePreAdd(java.util.Collection pending)
           
protected  void fireChannelStorePreClear()
           
protected  void fireChannelStorePreRemove(java.util.Collection pending)
           
protected  void fireChannelStorePreRetrieve()
           
protected  void fireChannelStoreRetrieved(Channel channel, int value, int maximum)
           
 java.util.Iterator iterator()
           
 void load(java.io.File f)
           
 boolean remove(Channel channel)
           
 boolean remove(java.util.Collection collection)
           
 void removeChannelStoreListener(ChannelStoreListener l)
           
 java.util.List retrieve(boolean updateChannels)
           
 int size()
           
 void store(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListChannelStore

public ListChannelStore()
Creates new ListChannelStore

Method Detail

add

public boolean add(Channel channel)
Specified by:
add in interface ChannelStore

add

public boolean add(java.util.Collection collection)
Specified by:
add in interface ChannelStore

remove

public boolean remove(Channel channel)
Specified by:
remove in interface ChannelStore

remove

public boolean remove(java.util.Collection collection)
Specified by:
remove in interface ChannelStore

clear

public void clear()
Specified by:
clear in interface ChannelStore

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface ChannelStore

size

public int size()
Specified by:
size in interface ChannelStore

retrieve

public java.util.List retrieve(boolean updateChannels)
Specified by:
retrieve in interface ChannelStore

addChannelStoreListener

public void addChannelStoreListener(ChannelStoreListener l)
Specified by:
addChannelStoreListener in interface ChannelStore

removeChannelStoreListener

public void removeChannelStoreListener(ChannelStoreListener l)
Specified by:
removeChannelStoreListener in interface ChannelStore

fireChannelStorePreAdd

protected void fireChannelStorePreAdd(java.util.Collection pending)

fireChannelStorePostAdd

protected void fireChannelStorePostAdd()

fireChannelStorePreRemove

protected void fireChannelStorePreRemove(java.util.Collection pending)

fireChannelStorePostRemove

protected void fireChannelStorePostRemove()

fireChannelStorePreClear

protected void fireChannelStorePreClear()

fireChannelStorePostClear

protected void fireChannelStorePostClear()

fireChannelStorePreRetrieve

protected void fireChannelStorePreRetrieve()

fireChannelStoreRetrieved

protected void fireChannelStoreRetrieved(Channel channel,
                                         int value,
                                         int maximum)

fireChannelStorePostRetrieve

protected void fireChannelStorePostRetrieve(java.util.Collection pending)

load

public void load(java.io.File f)
Specified by:
load in interface ChannelStore

store

public void store(java.io.File f)
Specified by:
store in interface ChannelStore