Class FeedResource
- java.lang.Object
-
- fr.paris.lutece.portal.business.rss.FeedResource
-
- All Implemented Interfaces:
IFeedResource
public class FeedResource extends Object implements IFeedResource
FeedResource -IFeedResourceimplementation.
-
-
Constructor Summary
Constructors Constructor Description FeedResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetDate()Gets the item publishing dateStringgetDescription()Gets the feed descriptionIFeedResourceImagegetImage()Gets the imageList<IFeedResourceItem>getItems()Gets the feed itemsStringgetLanguage()Gets the feed languageStringgetLink()Gets the feed link - usually the site url.StringgetTitle()Gets the feed titlevoidsetDate(Date date)Set the item publishing datevoidsetDescription(String description)Sets the descriptionvoidsetImage(IFeedResourceImage image)Sets the imagevoidsetItems(List<IFeedResourceItem> listItems)Sets the itemsvoidsetLanguage(String strLanguage)Sets the languagevoidsetLink(String strLink)Sets the linkvoidsetTitle(String title)Sets the feed title
-
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the feed description- Specified by:
getDescriptionin interfaceIFeedResource- Returns:
- the description
-
setDescription
public void setDescription(String description)
Sets the description- Specified by:
setDescriptionin interfaceIFeedResource- Parameters:
description- the description
-
getTitle
public String getTitle()
Gets the feed title- Specified by:
getTitlein interfaceIFeedResource- Returns:
- the title
-
setTitle
public void setTitle(String title)
Sets the feed title- Specified by:
setTitlein interfaceIFeedResource- Parameters:
title- the title
-
getImage
public IFeedResourceImage getImage()
Gets the image- Specified by:
getImagein interfaceIFeedResource- Returns:
- the image
-
setImage
public void setImage(IFeedResourceImage image)
Sets the image- Specified by:
setImagein interfaceIFeedResource- Parameters:
image- the image
-
getItems
public List<IFeedResourceItem> getItems()
Gets the feed items- Specified by:
getItemsin interfaceIFeedResource- Returns:
- the items
-
setItems
public void setItems(List<IFeedResourceItem> listItems)
Sets the items- Specified by:
setItemsin interfaceIFeedResource- Parameters:
listItems- the items
-
getLanguage
public String getLanguage()
Gets the feed language- Specified by:
getLanguagein interfaceIFeedResource- Returns:
- the language
-
setLanguage
public void setLanguage(String strLanguage)
Sets the language- Specified by:
setLanguagein interfaceIFeedResource- Parameters:
strLanguage- the language
-
getLink
public String getLink()
Gets the feed link - usually the site url.- Specified by:
getLinkin interfaceIFeedResource- Returns:
- the link
-
setLink
public void setLink(String strLink)
Sets the link- Specified by:
setLinkin interfaceIFeedResource- Parameters:
strLink- the link
-
getDate
public Date getDate()
Gets the item publishing date- Specified by:
getDatein interfaceIFeedResource- Returns:
- the date
-
setDate
public void setDate(Date date)
Set the item publishing date- Specified by:
setDatein interfaceIFeedResource- Parameters:
date- the date
-
-