Class ResourceRss
java.lang.Object
fr.paris.lutece.portal.business.rss.ResourceRss
- All Implemented Interfaces:
IResourceRss
ResourceRss that provides the resources rss. Implementations should override
getFeed().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet Rss resource DescriptionGets the encodinggetFeed()Returnsnull.Gets the feed typeintgetId()Get the rss idintThe number of displayed item.getName()Get The RSS resource nameGet the RSS Resource TypevoidsetDescription(String strDescription) Set the RSS resource descriptionvoidsetEncoding(String strEncoding) Sets the encodingvoidsetFeedType(String strFeedType) Sets the feed typevoidsetId(int nId) Set the rss idvoidsetMaxItems(int nMaxItems) Sets the number of displayed itemvoidSet the RSS resource namevoidsetResourceRssType(IResourceRssType taskType) Set the ResourceRssType object.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.portal.business.rss.IResourceRss
checkResource, contentResourceRss, deleteResourceRssConfig, doSaveConfig, doUpdateConfig, doValidateConfigForm, getDisplayCreateConfigForm, getDisplayModifyConfigForm, getParameterToApply
-
Constructor Details
-
ResourceRss
public ResourceRss()
-
-
Method Details
-
getId
public int getId()Get the rss id- Specified by:
getIdin interfaceIResourceRss- Returns:
- the rss Id
-
setId
public void setId(int nId) Set the rss id- Specified by:
setIdin interfaceIResourceRss- Parameters:
nId- the rss id
-
getDescription
Get Rss resource Description- Specified by:
getDescriptionin interfaceIResourceRss- Returns:
- the description
-
setDescription
Set the RSS resource description- Specified by:
setDescriptionin interfaceIResourceRss- Parameters:
strDescription- the description
-
getName
Get The RSS resource name- Specified by:
getNamein interfaceIResourceRss- Returns:
- the name
-
setName
Set the RSS resource name- Specified by:
setNamein interfaceIResourceRss- Parameters:
strName- the name
-
getResourceRssType
Get the RSS Resource Type- Specified by:
getResourceRssTypein interfaceIResourceRss- Returns:
- the ResourceRssType Object
-
setResourceRssType
Set the ResourceRssType object.- Specified by:
setResourceRssTypein interfaceIResourceRss- Parameters:
taskType- the new resource rss type
-
getFeedType
Gets the feed type- Specified by:
getFeedTypein interfaceIResourceRss- Returns:
- the feed type
-
setFeedType
Sets the feed type- Specified by:
setFeedTypein interfaceIResourceRss- Parameters:
strFeedType- the feed type
-
getEncoding
Gets the encoding- Specified by:
getEncodingin interfaceIResourceRss- Returns:
- the encoding
-
setEncoding
Sets the encoding- Specified by:
setEncodingin interfaceIResourceRss- Parameters:
strEncoding- the encoding
-
getMaxItems
public int getMaxItems()The number of displayed item.- Specified by:
getMaxItemsin interfaceIResourceRss- Returns:
- the number of displayed item
-
setMaxItems
public void setMaxItems(int nMaxItems) Sets the number of displayed item- Specified by:
setMaxItemsin interfaceIResourceRss- Parameters:
nMaxItems- number of displayed item
-
getFeed
Returnsnull. This method should be overriden.- Specified by:
getFeedin interfaceIResourceRss- Returns:
- the feed
-