Class NewsFeedItem
java.lang.Object
org.jasig.portlet.newsreader.model.NewsFeedItem
- All Implemented Interfaces:
Comparable<NewsFeedItem>
NewsFeedItem class.
- Since:
- 5.1.1
- Author:
- Jen Bourey, jennifer.bourey@gmail.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(NewsFeedItem that) List<com.rometools.rome.feed.synd.SyndPerson> Getter for the fieldauthors.List<com.rometools.rome.feed.synd.SyndCategory> Getter for the fieldcategories.Getter for the fieldcontent.Getter for the fielddescription.Getter for the fieldfullStory.Getter for the fieldimageUrl.getLink()Getter for the fieldlink.Getter for the fieldpubDate.getTitle()Getter for the fieldtitle.getUri()Getter for the fielduri.Getter for the fieldvideoUrl.voidsetAuthors(List<com.rometools.rome.feed.synd.SyndPerson> authors) Setter for the fieldauthors.voidsetCategories(List<com.rometools.rome.feed.synd.SyndCategory> categories) Setter for the fieldcategories.voidsetContent(String content) Setter for the fieldcontent.voidsetDescription(String description) Setter for the fielddescription.voidsetFullStory(FullStory fullStory) Setter for the fieldfullStory.voidsetImageUrl(String imageUrl) Setter for the fieldimageUrl.voidSetter for the fieldlink.voidsetPubDate(Date pubDate) Setter for the fieldpubDate.voidSetter for the fieldtitle.voidSetter for the fielduri.voidsetVideoUrl(String videoUrl) Setter for the fieldvideoUrl.
-
Constructor Details
-
NewsFeedItem
public NewsFeedItem()
-
-
Method Details
-
getImageUrl
Getter for the field
imageUrl.- Returns:
- a
Stringobject
-
setImageUrl
Setter for the field
imageUrl.- Parameters:
imageUrl- aStringobject
-
getAuthors
Getter for the field
authors.- Returns:
- a
Listobject
-
setAuthors
Setter for the field
authors.- Parameters:
authors- aListobject
-
getDescription
Getter for the field
description.- Returns:
- a
Stringobject
-
setDescription
Setter for the field
description.- Parameters:
description- aStringobject
-
getContent
Getter for the field
content.- Returns:
- a
Stringobject
-
setContent
Setter for the field
content.- Parameters:
content- aStringobject
-
getVideoUrl
Getter for the field
videoUrl.- Returns:
- a
Stringobject
-
setVideoUrl
Setter for the field
videoUrl.- Parameters:
videoUrl- aStringobject
-
getLink
Getter for the field
link.- Returns:
- a
Stringobject
-
setLink
Setter for the field
link.- Parameters:
link- aStringobject
-
getTitle
Getter for the field
title.- Returns:
- a
Stringobject
-
setTitle
Setter for the field
title.- Parameters:
title- aStringobject
-
getUri
Getter for the field
uri.- Returns:
- a
Stringobject
-
setUri
Setter for the field
uri.- Parameters:
uri- aStringobject
-
getFullStory
Getter for the field
fullStory.- Returns:
- a
FullStoryobject
-
setFullStory
Setter for the field
fullStory.- Parameters:
fullStory- aFullStoryobject
-
getPubDate
Getter for the field
pubDate.- Returns:
- a
Dateobject
-
setPubDate
Setter for the field
pubDate.- Parameters:
pubDate- aDateobject
-
getCategories
Getter for the field
categories.- Returns:
- a
Listobject
-
setCategories
Setter for the field
categories.- Parameters:
categories- aListobject
-
compareTo
- Specified by:
compareToin interfaceComparable<NewsFeedItem>
-