Dekoh platform API

dekoh.portal.syndication.aggregator.core
Class SubscriptionListWrapper

java.lang.Object
  extended by dekoh.portal.syndication.aggregator.core.SubscriptionListWrapper
All Implemented Interfaces:
SubscriptionList

public class SubscriptionListWrapper
extends Object
implements SubscriptionList

Since:
Oct 23, 2007

Field Summary
protected  SubscriptionList delegate
           
 
Constructor Summary
SubscriptionListWrapper(SubscriptionList subscriptionList)
           
 
Method Summary
 SubscriptionItem add(SubscriptionItem subscriptionItem)
           
 void add(URI feedUri)
           
 void addAll(List subscriptionItems)
           
 boolean addListener(SubscriptionListListener subscriptionListListener)
           
 String getAuthor()
           
 String getDescripton()
           
 String getProperty(String name)
           
 Set getSubscribedItems()
          Gets the list Feed items from this subscription list
 String getTitle()
          Gets the current subscription list title
 long lastModifiedTime()
          Gets the last updated time for subscription list
 boolean remove(SubscriptionItem subscriptionItem)
           
 boolean remove(URI feedURI)
          Removes the given feed from the subscription List
 void removeAll(List subscriptionItems)
           
 boolean removeListener(SubscriptionListListener subscriptionListListener)
           
 void setAuthor(String author)
           
 void setDescripton(String description)
           
 void setProperty(String name, String value)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected SubscriptionList delegate
Constructor Detail

SubscriptionListWrapper

public SubscriptionListWrapper(SubscriptionList subscriptionList)
Method Detail

add

public void add(URI feedUri)
         throws MalformedURLException
Specified by:
add in interface SubscriptionList
Throws:
MalformedURLException

add

public SubscriptionItem add(SubscriptionItem subscriptionItem)
Specified by:
add in interface SubscriptionList

addAll

public void addAll(List subscriptionItems)
Specified by:
addAll in interface SubscriptionList

getAuthor

public String getAuthor()
Specified by:
getAuthor in interface SubscriptionList

getDescripton

public String getDescripton()
Specified by:
getDescripton in interface SubscriptionList

getProperty

public String getProperty(String name)
Specified by:
getProperty in interface SubscriptionList

getSubscribedItems

public Set getSubscribedItems()
Description copied from interface: SubscriptionList
Gets the list Feed items from this subscription list

Specified by:
getSubscribedItems in interface SubscriptionList
Returns:
List of subscription items

getTitle

public String getTitle()
Description copied from interface: SubscriptionList
Gets the current subscription list title

Specified by:
getTitle in interface SubscriptionList
Returns:
subscription title

lastModifiedTime

public long lastModifiedTime()
Description copied from interface: SubscriptionList
Gets the last updated time for subscription list

Specified by:
lastModifiedTime in interface SubscriptionList
Returns:
last updated time

remove

public boolean remove(URI feedURI)
Description copied from interface: SubscriptionList
Removes the given feed from the subscription List

Specified by:
remove in interface SubscriptionList

remove

public boolean remove(SubscriptionItem subscriptionItem)
Specified by:
remove in interface SubscriptionList

removeAll

public void removeAll(List subscriptionItems)
Specified by:
removeAll in interface SubscriptionList

setAuthor

public void setAuthor(String author)
Specified by:
setAuthor in interface SubscriptionList

setDescripton

public void setDescripton(String description)
Specified by:
setDescripton in interface SubscriptionList

setProperty

public void setProperty(String name,
                        String value)
Specified by:
setProperty in interface SubscriptionList

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface SubscriptionList

addListener

public boolean addListener(SubscriptionListListener subscriptionListListener)
Specified by:
addListener in interface SubscriptionList
Parameters:
subscriptionListListener - to be added cannot be null
Returns:
true of add was successful

removeListener

public boolean removeListener(SubscriptionListListener subscriptionListListener)
Specified by:
removeListener in interface SubscriptionList

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers