| java.lang.Object org.sakaiproject.news.impl.BasicNewsItem
BasicNewsItem | public class BasicNewsItem implements NewsItem(Code) | | NewsItem implementation
|
m_description | protected String m_description(Code) | | The description (or body) of the news item
|
m_enclosures | protected List m_enclosures(Code) | | The list of NewsItemEnclosures for this item.
|
m_link | protected String m_link(Code) | | The URL for the complete story.
|
m_pubdate | protected String m_pubdate(Code) | | The publication date of the NewsItem.
|
m_title | protected String m_title(Code) | | The title of this NewsItem.
|
BasicNewsItem | public BasicNewsItem(String title, String description, String link, String pubdate, List enclosures)(Code) | | Construct.
Parameters: title - The headline of the item Parameters: description - The body of the item Parameters: link - The URL for a longer version of the item Parameters: pubdate - The date/time at which the item was published Parameters: enclosure - The list of NewsItemEnclosures for this item |
BasicNewsItem | public BasicNewsItem(String title, String description, String link, String pubdate)(Code) | | Construct.
Parameters: title - The headline of the item Parameters: description - The body of the item Parameters: link - The URL for a longer version of the item Parameters: pubdate - The date/time at which the item was published |
getDescription | public String getDescription()(Code) | | Access the description (or body) of the NewsItem.
The description (or body) of the NewsItem. |
getEnclosures | public List getEnclosures()(Code) | | Access the List of Enclosures for the item
the List of Enclosures for the item |
getLink | public String getLink()(Code) | | Access the URL where the complete story can be found.
The URL where the complete story can be found. |
getPubdate | public String getPubdate()(Code) | | Access the time when the NewsItem was updated.
The time when the NewsItem was updated. |
getTitle | public String getTitle()(Code) | | Access the title of the NewsItem.
The title of the NewsItem. |
setDescription | public void setDescription(String description)(Code) | | Set the description (or body) of the NewsItem.
Parameters: description - The description (or body) of the NewsItem. |
setLink | public void setLink(String link)(Code) | | Set the URL where the complete story can be found.
Parameters: link - The URL where the complete story can be found. |
setPubdate | public void setPubdate(String pubdate)(Code) | | Set the time when the NewsItem was updated.
Parameters: pubdate - The time when the NewsItem was updated. |
setTitle | public void setTitle(String title)(Code) | | Set the title of the NewsItem.
Parameters: title - The title of the NewsItem. |
|
|