dekoh.portal.syndication.aggregator.core
Class XmlBasedPersistentSubscriptionList
java.lang.Object
dekoh.portal.syndication.aggregator.core.PersistentSubscriptionList
dekoh.portal.syndication.aggregator.core.XmlBasedPersistentSubscriptionList
- All Implemented Interfaces:
- SubscriptionList
public class XmlBasedPersistentSubscriptionList
- extends PersistentSubscriptionList
- Since:
- Oct 8, 2007
| Methods inherited from class dekoh.portal.syndication.aggregator.core.PersistentSubscriptionList |
add, add, addAll, addListener, getAuthor, getDescripton, getId, getProperty, getSubscribedItems, getTitle, remove, remove, removeAll, removeListener, setAuthor, setDescripton, setId, setProperty, setTitle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlBasedPersistentSubscriptionList
public XmlBasedPersistentSubscriptionList(File xmlFile)
XmlBasedPersistentSubscriptionList
public XmlBasedPersistentSubscriptionList(File xmlFile,
PasswordStore passwordStore)
getXmlFile
public File getXmlFile()
load
public void load()
throws PersistentSubscriptionListOperationsException,
NoSuchSubscriptionListException,
InvalidKeyException
- Specified by:
load in class PersistentSubscriptionList
- Throws:
PersistentSubscriptionListOperationsException - wrapping problems in reading the persistent store and recreating elements of this
list.
NoSuchSubscriptionListException - no record of this list in the persistent storage. For a file based persistent store,
this exception may be wrapping a FileNotFoundExcepion
InvalidKeyException - if any of the encrypted password keys saved to persistent store, could not be
decrypted using the password store instance provided to this list
save
public void save()
throws PersistentSubscriptionListOperationsException
- Specified by:
save in class PersistentSubscriptionList
- Throws:
PersistentSubscriptionListOperationsException
delete
public void delete()
throws PersistentSubscriptionListOperationsException
- Specified by:
delete in class PersistentSubscriptionList
- Throws:
PersistentSubscriptionListOperationsException
lastModifiedTime
public long lastModifiedTime()
- Description copied from interface:
SubscriptionList
- Gets the last updated time for subscription list
- Specified by:
lastModifiedTime in interface SubscriptionList- Overrides:
lastModifiedTime in class PersistentSubscriptionList
- Returns:
- last updated time
© 2009 Pramati Technologies - Dekoh - Portal for Developers