|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdekoh.portal.syndication.aggregator.core.InMemorySubscriptionList
public class InMemorySubscriptionList
| Field Summary | |
|---|---|
static PLogger |
logger
|
protected Set |
subscriptionItems
|
| Constructor Summary | |
|---|---|
InMemorySubscriptionList()
|
|
InMemorySubscriptionList(String title)
|
|
| Method Summary | |
|---|---|
SubscriptionItem |
add(SubscriptionItem subscriptionItem)
|
void |
add(URI feedUri)
Add the given Feed item to the subscription List. |
void |
addAll(List subscriptionItems)
|
boolean |
addListener(SubscriptionListListener subscriptionListListener)
|
String |
getAuthor()
|
String |
getDescripton()
|
protected Properties |
getProperties()
|
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)
Remove an item with specified id from the 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 |
|---|
public static final PLogger logger
protected Set subscriptionItems
| Constructor Detail |
|---|
public InMemorySubscriptionList()
public InMemorySubscriptionList(String title)
| Method Detail |
|---|
public String getTitle()
SubscriptionList
getTitle in interface SubscriptionListpublic String getAuthor()
getAuthor in interface SubscriptionListpublic String getDescripton()
getDescripton in interface SubscriptionListpublic void setAuthor(String author)
setAuthor in interface SubscriptionListpublic String getProperty(String name)
getProperty in interface SubscriptionList
public void setProperty(String name,
String value)
setProperty in interface SubscriptionListpublic void setDescripton(String description)
setDescripton in interface SubscriptionListpublic void setTitle(String title)
setTitle in interface SubscriptionList
public void add(URI feedUri)
throws MalformedURLException
add in interface SubscriptionListfeedUri - Feed URI
MalformedURLExceptionpublic SubscriptionItem add(SubscriptionItem subscriptionItem)
add in interface SubscriptionListpublic void addAll(List subscriptionItems)
addAll in interface SubscriptionListpublic boolean remove(URI feedURI)
remove in interface SubscriptionListpublic boolean remove(SubscriptionItem subscriptionItem)
remove in interface SubscriptionListpublic void removeAll(List subscriptionItems)
removeAll in interface SubscriptionListpublic Set getSubscribedItems()
SubscriptionList
getSubscribedItems in interface SubscriptionListpublic long lastModifiedTime()
SubscriptionList
lastModifiedTime in interface SubscriptionListpublic boolean addListener(SubscriptionListListener subscriptionListListener)
addListener in interface SubscriptionListsubscriptionListListener - to be added cannot be null
public boolean removeListener(SubscriptionListListener subscriptionListListener)
removeListener in interface SubscriptionListprotected Properties getProperties()
|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
© 2009 Pramati Technologies - Dekoh - Portal for Developers