|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMergeableChannel
Mergeable channel for merging and publishing items. This interface is an abstraction of the RSS SSE protocol for sharing item information via RSS. See Simple Sharing Extensions for RSS and OPML for a description of the RSS SSE protocol.
Method Summary | |
---|---|
boolean |
addItem(IItem item)
Add item to set managed by this channel |
boolean |
changeItem(ID itemID,
java.lang.String description)
Change the description of the item identified by the given itemID |
IChannelHeader |
getHeaderInfo()
Get the channel header info (title, link, description) for this channel |
IItemFactory |
getItemFactory()
Get the item factory for this channel for creating new items |
java.util.List |
getItems()
Get list of IItems |
void |
merge()
Merget the currrent set of items with changes made remotely |
void |
publish()
Publish local item changes (add, change, remove) previously made to this channel |
boolean |
removeItem(IItem item)
Remove item from channel |
Methods inherited from interface org.eclipse.ecf.core.identity.IIdentifiable |
---|
getID |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
java.util.List getItems()
null
. List
contents will be of type IItem.void merge() throws MergeException
MergeException
- thrown if local copy cannot be merged with remote changesboolean addItem(IItem item)
item
- the IItem to add. Should not be null
.
boolean changeItem(ID itemID, java.lang.String description)
itemID
- the itemID of the IItem to change. Should not be
null
.description
- the new description to change in the IItem. May be
null
.
boolean removeItem(IItem item)
item
- the item to remove. Should not be null
.
void publish() throws PublishException
PublishException
- if problem with publishingIItemFactory getItemFactory()
null
.IChannelHeader getHeaderInfo()
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |