public interface NewsItem
NewsItem is the Interface for a Sakai News message.
The news message has header fields (from, date) and a body (text). Each message also has an id, unique within the channel. All fields are read only.
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Access the description (or body) of the NewsItem.
|
String |
getLink()
Access the URL where the complete story can be found.
|
String |
getPubdate()
Access the time when the NewsItem was updated.
|
Date |
getPubdateInDateFormat() |
String |
getTitle()
Access the title of the NewsItem.
|
void |
setDescription(String description)
Set the description of the NewsItem.
|
void |
setLink(String link)
Set the URL where the complete story can be found.
|
void |
setPubdate(String pubdate)
Set the time when the NewsItem was updated.
|
void |
setTitle(String title)
Set the title of the NewsItem.
|
String getTitle()
String getDescription()
String getPubdate()
Date getPubdateInDateFormat()
String getLink()
void setTitle(String title)
title - The title of the NewsItem.void setDescription(String description)
description - The description of the NewsItem.void setPubdate(String pubdate)
pubdate - The time when the NewsItem was updated.void setLink(String link)
Copyright © 2003-2014 The Sakai Foundation. All Rights Reserved.