|
||||||||||
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 | |
---|---|
java.lang.String |
createHtmlRss()
Deprecated. |
java.lang.String |
getDescription()
Get Rss resource Description |
java.lang.String |
getEncoding()
Gets the encoding |
IFeedResource |
getFeed()
Returns null . |
java.lang.String |
getFeedType()
Gets the feed type |
int |
getId()
Get the rss id |
int |
getMaxItems()
The number of displayed item. |
java.lang.String |
getName()
Get The RSS resource name |
IResourceRssType |
getResourceRssType()
Get the RSS Resource Type |
void |
setDescription(java.lang.String strDescription)
Set the RSS resource description |
void |
setEncoding(java.lang.String strEncoding)
Sets the encoding |
void |
setFeedType(java.lang.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(java.lang.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 java.lang.String getDescription()
getDescription
in interface IResourceRss
public void setDescription(java.lang.String strDescription)
setDescription
in interface IResourceRss
strDescription
- the descriptionpublic java.lang.String getName()
getName
in interface IResourceRss
public void setName(java.lang.String strName)
setName
in interface IResourceRss
strName
- the namepublic IResourceRssType getResourceRssType()
getResourceRssType
in interface IResourceRss
public void setResourceRssType(IResourceRssType taskType)
setResourceRssType
in interface IResourceRss
resourceRssType
- the ResourceRsstype objectpublic java.lang.String getFeedType()
getFeedType
in interface IResourceRss
public void setFeedType(java.lang.String strFeedType)
setFeedType
in interface IResourceRss
strFeedType
- the feed typepublic java.lang.String getEncoding()
getEncoding
in interface IResourceRss
public void setEncoding(java.lang.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
IFeedResource
@Deprecated public java.lang.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 |