Class ResourceRss
- java.lang.Object
-
- fr.paris.lutece.portal.business.rss.ResourceRss
-
- All Implemented Interfaces:
IResourceRss
public abstract class ResourceRss extends Object implements IResourceRss
ResourceRss that provides the resources rss. Implementations should overridegetFeed().
-
-
Constructor Summary
Constructors Constructor Description ResourceRss()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Get Rss resource DescriptionStringgetEncoding()Gets the encodingIFeedResourcegetFeed()Returnsnull.StringgetFeedType()Gets the feed typeintgetId()Get the rss idintgetMaxItems()The number of displayed item.StringgetName()Get The RSS resource nameIResourceRssTypegetResourceRssType()Get 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 itemvoidsetName(String strName)Set 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, wait
-
Methods inherited from interface fr.paris.lutece.portal.business.rss.IResourceRss
checkResource, contentResourceRss, deleteResourceRssConfig, doSaveConfig, doUpdateConfig, doValidateConfigForm, getDisplayCreateConfigForm, getDisplayModifyConfigForm, getParameterToApply
-
-
-
-
Method Detail
-
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
public String getDescription()
Get Rss resource Description- Specified by:
getDescriptionin interfaceIResourceRss- Returns:
- the description
-
setDescription
public void setDescription(String strDescription)
Set the RSS resource description- Specified by:
setDescriptionin interfaceIResourceRss- Parameters:
strDescription- the description
-
getName
public String getName()
Get The RSS resource name- Specified by:
getNamein interfaceIResourceRss- Returns:
- the name
-
setName
public void setName(String strName)
Set the RSS resource name- Specified by:
setNamein interfaceIResourceRss- Parameters:
strName- the name
-
getResourceRssType
public IResourceRssType getResourceRssType()
Get the RSS Resource Type- Specified by:
getResourceRssTypein interfaceIResourceRss- Returns:
- the ResourceRssType Object
-
setResourceRssType
public void setResourceRssType(IResourceRssType taskType)
Set the ResourceRssType object.- Specified by:
setResourceRssTypein interfaceIResourceRss- Parameters:
taskType- the new resource rss type
-
getFeedType
public String getFeedType()
Gets the feed type- Specified by:
getFeedTypein interfaceIResourceRss- Returns:
- the feed type
-
setFeedType
public void setFeedType(String strFeedType)
Sets the feed type- Specified by:
setFeedTypein interfaceIResourceRss- Parameters:
strFeedType- the feed type
-
getEncoding
public String getEncoding()
Gets the encoding- Specified by:
getEncodingin interfaceIResourceRss- Returns:
- the encoding
-
setEncoding
public void setEncoding(String strEncoding)
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
public IFeedResource getFeed()
Returnsnull. This method should be overriden.- Specified by:
getFeedin interfaceIResourceRss- Returns:
- the feed
-
-