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