| |
|
| java.lang.Object org.sakaiproject.news.impl.BasicNewsChannel
BasicNewsChannel | public class BasicNewsChannel implements NewsChannel(Code) | | NewsChannel implementation
|
compareTo | public int compareTo(Object obj) throws ClassCastException(Code) | | Checks the relative ordering of the String url's of two Channels. Same
response pattern as compareTo method for Strings--negative if "this"
object is greater than parameter, zero if the objects are equal, and
positive if "this" object is less than the parameter. The parameter
can be a String reference or a NewsChannel object (otherwise method
throws ClassCastException).
A negative integer if "this" object is greater than parameter, zero if the objects are equal, and a positive integer if "this" object is less than the parameter |
equals | public boolean equals(Object obj) throws ClassCastException(Code) | | Checks whether the parameter obj refers to the same channel as "this" channel.
The parameter can be a String URL or a NewsChannel object (otherwise method
throws ClassCastException).
true if the channels are the same, false otherwise |
getImageDescription | public String getImageDescription()(Code) | | |
getNewsitems | public List getNewsitems()(Code) | | A .
the NewsItem that has the specified id. |
getNewsitems | public List getNewsitems(Filter filter)(Code) | | A .
Parameters: filter - A filtering object to accept messages, or null if no filtering is desired. a list of NewsItems objects (may be empty). |
hashCode | public int hashCode()(Code) | | Calculates a hash code for the channel object's URL.
The hash-code for the String URL to the channel. |
isUpdateAvailable | public boolean isUpdateAvailable()(Code) | | Checks whether an update is available for the rss news feed.
true if update is available, false otherwise |
setCopyright | public void setCopyright(String copyright)(Code) | | |
setDescription | public void setDescription(String description)(Code) | | |
setImageDescription | public void setImageDescription(String imageDescription)(Code) | | |
setImageHeight | public void setImageHeight(String imageHeight)(Code) | | |
setImageLink | public void setImageLink(String imageLink)(Code) | | |
setImageTitle | public void setImageTitle(String imageTitle)(Code) | | |
setImageWidth | public void setImageWidth(String imageWidth)(Code) | | |
setLastbuilddate | public void setLastbuilddate(String builddate)(Code) | | |
setNewsitems | public void setNewsitems(List items)(Code) | | |
|
|
|