Package org.xwiki.whatsnew
Interface NewsSourceItem
-
- All Superinterfaces:
Comparable<NewsSourceItem>
@Unstable public interface NewsSourceItem extends Comparable<NewsSourceItem>
Data for a source item.- Since:
- 15.1RC1
- Version:
- $Id: d733de60437f8d0244fc9f061bf3e3b626344b93 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<String>
getAuthor()
Set<NewsCategory>
getCategories()
Optional<NewsContent>
getDescription()
Optional<String>
getOriginURL()
Optional<Date>
getPublishedDate()
Optional<String>
getTitle()
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getDescription
Optional<NewsContent> getDescription()
- Returns:
- the news item content (cleaned and safe to be rendered)
-
getCategories
Set<NewsCategory> getCategories()
- Returns:
- the news item categories
-
-