Class FeedResource
java.lang.Object
fr.paris.lutece.portal.business.rss.FeedResource
- All Implemented Interfaces:
IFeedResource
FeedResource -
IFeedResource implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Gets the item publishing dateGets the feed descriptiongetImage()Gets the imagegetItems()Gets the feed itemsGets the feed languagegetLink()Gets the feed link - usually the site url.getTitle()Gets the feed titlevoidSet the item publishing datevoidsetDescription(String description) Sets the descriptionvoidsetImage(IFeedResourceImage image) Sets the imagevoidsetItems(List<IFeedResourceItem> listItems) Sets the itemsvoidsetLanguage(String strLanguage) Sets the languagevoidSets the linkvoidSets the feed title
-
Constructor Details
-
FeedResource
public FeedResource()
-
-
Method Details
-
getDescription
Gets the feed description- Specified by:
getDescriptionin interfaceIFeedResource- Returns:
- the description
-
setDescription
Sets the description- Specified by:
setDescriptionin interfaceIFeedResource- Parameters:
description- the description
-
getTitle
Gets the feed title- Specified by:
getTitlein interfaceIFeedResource- Returns:
- the title
-
setTitle
Sets the feed title- Specified by:
setTitlein interfaceIFeedResource- Parameters:
title- the title
-
getImage
Gets the image- Specified by:
getImagein interfaceIFeedResource- Returns:
- the image
-
setImage
Sets the image- Specified by:
setImagein interfaceIFeedResource- Parameters:
image- the image
-
getItems
Gets the feed items- Specified by:
getItemsin interfaceIFeedResource- Returns:
- the items
-
setItems
Sets the items- Specified by:
setItemsin interfaceIFeedResource- Parameters:
listItems- the items
-
getLanguage
Gets the feed language- Specified by:
getLanguagein interfaceIFeedResource- Returns:
- the language
-
setLanguage
Sets the language- Specified by:
setLanguagein interfaceIFeedResource- Parameters:
strLanguage- the language
-
getLink
Gets the feed link - usually the site url.- Specified by:
getLinkin interfaceIFeedResource- Returns:
- the link
-
setLink
Sets the link- Specified by:
setLinkin interfaceIFeedResource- Parameters:
strLink- the link
-
getDate
Gets the item publishing date- Specified by:
getDatein interfaceIFeedResource- Returns:
- the date
-
setDate
Set the item publishing date- Specified by:
setDatein interfaceIFeedResource- Parameters:
date- the date
-