|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChannelIF
This interface is implemented by objects representing channels in the news channel object model.
Method Summary | |
---|---|
void |
addItem(ItemIF item)
|
CloudIF |
getCloud()
|
String |
getDocs()
|
ChannelFormat |
getFormat()
Gets the syntax format used by the channel. |
String |
getGenerator()
|
ImageIF |
getImage()
Retrieves the Image associated with this feed. |
ItemIF |
getItem(long id)
Returns the news item as specified by the item identifier ( WithIdMIF.getId() ). |
Set<ItemIF> |
getItems()
|
String |
getLanguage()
|
Date |
getLastBuildDate()
|
Date |
getLastUpdated()
Returns that date and time at which the feed was parsed and the channel object was updated (or created) from feed XML content |
Date |
getPubDate()
|
String |
getPublisher()
|
String |
getRating()
|
TextInputIF |
getTextInput()
|
int |
getTtl()
|
Date |
getUpdateBase()
Accesses data provided by the Syndication module (will apply only to RSS 1.0+). |
int |
getUpdateFrequency()
Accesses data provided by the Syndication module (will apply only to RSS 1.0+). |
ChannelUpdatePeriod |
getUpdatePeriod()
Accesses data provided by the Syndication module (will apply only to RSS 1.0+). |
void |
removeItem(ItemIF item)
|
void |
setCloud(CloudIF cloud)
|
void |
setDocs(String docs)
|
void |
setFormat(ChannelFormat format)
|
void |
setGenerator(String generator)
|
void |
setImage(ImageIF image)
Sets the image for this feed |
void |
setLanguage(String language)
|
void |
setLastBuildDate(Date lastBuild)
|
void |
setLastUpdated(Date lastUpdated)
see getLastUpdated() |
void |
setPubDate(Date pubDate)
|
void |
setPublisher(String publisher)
|
void |
setRating(String rating)
|
void |
setTextInput(TextInputIF textInput)
|
void |
setTtl(int ttl)
|
void |
setUpdateBase(Date updateBase)
Sets the base time against which update times should be calculated |
void |
setUpdateFrequency(int updateFrequency)
Sets the number of times during updatePeriod that the feed
should be updated |
void |
setUpdatePeriod(ChannelUpdatePeriod updatePeriod)
Sets the update frequency for the feed. |
Methods inherited from interface de.nava.informa.core.WithIdMIF |
---|
getId, setId |
Methods inherited from interface de.nava.informa.core.WithTitleMIF |
---|
getTitle, setTitle |
Methods inherited from interface de.nava.informa.core.WithElementsAndAttributesMIF |
---|
getAttributeValue, getAttributeValues, getElementValue, getElementValues |
Methods inherited from interface de.nava.informa.core.WithLocationMIF |
---|
getLocation, setLocation |
Methods inherited from interface de.nava.informa.core.WithCreatorMIF |
---|
getCreator, setCreator |
Methods inherited from interface de.nava.informa.core.WithCategoriesMIF |
---|
addCategory, getCategories, removeCategory, setCategories |
Methods inherited from interface de.nava.informa.core.WithDescriptionMIF |
---|
getDescription, setDescription |
Methods inherited from interface de.nava.informa.core.WithSiteMIF |
---|
getCopyright, getSite, setCopyright, setSite |
Methods inherited from interface de.nava.informa.core.ChannelObservableIF |
---|
addObserver, removeObserver |
Method Detail |
---|
String getLanguage()
void setLanguage(String language)
String getPublisher()
void setPublisher(String publisher)
String getRating()
void setRating(String rating)
String getGenerator()
void setGenerator(String generator)
String getDocs()
void setDocs(String docs)
int getTtl()
void setTtl(int ttl)
ChannelFormat getFormat()
ChannelFormat
.void setFormat(ChannelFormat format)
Set<ItemIF> getItems()
ItemIF
objects.void addItem(ItemIF item)
void removeItem(ItemIF item)
ItemIF getItem(long id)
WithIdMIF.getId()
).
id
- the Item's id.
ImageIF getImage()
void setImage(ImageIF image)
image
- The imageTextInputIF getTextInput()
void setTextInput(TextInputIF textInput)
Date getLastUpdated()
void setLastUpdated(Date lastUpdated)
getLastUpdated()
Date getLastBuildDate()
void setLastBuildDate(Date lastBuild)
Date getPubDate()
void setPubDate(Date pubDate)
CloudIF getCloud()
void setCloud(CloudIF cloud)
ChannelUpdatePeriod getUpdatePeriod()
void setUpdatePeriod(ChannelUpdatePeriod updatePeriod)
updateFrequency
should be one of:
updatePeriod
- See aboveint getUpdateFrequency()
updatePeriod
that a feed should be updated
updatePeriod
to update the
feedsetUpdatePeriod(de.nava.informa.core.ChannelUpdatePeriod)
,
getUpdatePeriod()
void setUpdateFrequency(int updateFrequency)
updatePeriod
that the feed
should be updated
updateFrequency
- number of times during updatePeriod
to
update the feedDate getUpdateBase()
void setUpdateBase(Date updateBase)
updateBase
- The base date for updates
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |