|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.rss.ResourceRss
public abstract class ResourceRss
ResourceRss that provides the resources rss.
Implementations should override getFeed()
.
Constructor Summary | |
---|---|
ResourceRss()
|
Method Summary | |
---|---|
String |
createHtmlRss()
Deprecated. |
String |
getDescription()
Get Rss resource Description |
String |
getEncoding()
Gets the encoding |
IFeedResource |
getFeed()
Returns null . |
String |
getFeedType()
Gets the feed type |
int |
getId()
Get the rss id |
int |
getMaxItems()
The number of displayed item. |
String |
getName()
Get The RSS resource name |
IResourceRssType |
getResourceRssType()
Get the RSS Resource Type |
void |
setDescription(String strDescription)
Set the RSS resource description |
void |
setEncoding(String strEncoding)
Sets the encoding |
void |
setFeedType(String strFeedType)
Sets the feed type |
void |
setId(int nId)
Set the rss id |
void |
setMaxItems(int nMaxItems)
Sets the number of displayed item |
void |
setName(String strName)
Set the RSS resource name |
void |
setResourceRssType(IResourceRssType taskType)
Set the ResourceRssType object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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 |
Constructor Detail |
---|
public ResourceRss()
Method Detail |
---|
public int getId()
getId
in interface IResourceRss
public void setId(int nId)
setId
in interface IResourceRss
nId
- the rss idpublic String getDescription()
getDescription
in interface IResourceRss
public void setDescription(String strDescription)
setDescription
in interface IResourceRss
strDescription
- the descriptionpublic String getName()
getName
in interface IResourceRss
public void setName(String strName)
setName
in interface IResourceRss
strName
- the namepublic IResourceRssType getResourceRssType()
getResourceRssType
in interface IResourceRss
public void setResourceRssType(IResourceRssType taskType)
setResourceRssType
in interface IResourceRss
taskType
- the new resource rss typepublic String getFeedType()
getFeedType
in interface IResourceRss
public void setFeedType(String strFeedType)
setFeedType
in interface IResourceRss
strFeedType
- the feed typepublic String getEncoding()
getEncoding
in interface IResourceRss
public void setEncoding(String strEncoding)
setEncoding
in interface IResourceRss
strEncoding
- the encodingpublic int getMaxItems()
getMaxItems
in interface IResourceRss
public void setMaxItems(int nMaxItems)
setMaxItems
in interface IResourceRss
nMaxItems
- number of displayed itempublic IFeedResource getFeed()
null
. This method should be overriden.
getFeed
in interface IResourceRss
@Deprecated public String createHtmlRss()
null
and should be removed as soon as every plugin implement getFeed()
.
createHtmlRss
in interface IResourceRss
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |