|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.rss.service.RssGeneratorService
public final class RssGeneratorService
This class provides utilities to create RSS documents.
| Field Summary | |
|---|---|
static String |
PROPERTY_RSS_STORAGE_FOLDER_PATH
The path which points the rss files are stored |
static String |
PROPERTY_STORAGE_DIRECTORY_NAME
|
| Method Summary | |
|---|---|
static void |
createFileRss(String strRssFileName,
String strRssDocument)
Creates the pushrss file in the directory |
static String |
createRssDocument(int nIdPortlet,
String strRssFileDescription,
String strEncoding,
String strFeedType,
int nMaxItems)
Creates the push RSS document corresponding to the given portlet |
static String |
createRssDocument(int nIdPortlet,
String strRssFileDescription,
String strEncoding,
String strFeedType,
int nMaxItems,
javax.servlet.http.HttpServletRequest request)
Creates the push RSS document corresponding to the given portlet |
static String |
createRssDocument(List listRssItem,
String strRssFileDescription)
Creates the push RSS document corresponding to the given portlet |
static void |
deleteFileRss(String strRssFileName,
String strPluginName)
Deletes the pushrss file in the directory |
static String |
generateAllRss()
Regenerate all Rss files in the file system |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_RSS_STORAGE_FOLDER_PATH
public static final String PROPERTY_STORAGE_DIRECTORY_NAME
| Method Detail |
|---|
public static String createRssDocument(int nIdPortlet,
String strRssFileDescription,
String strEncoding,
String strFeedType,
int nMaxItems)
nIdPortlet - the portlet id for wich the file is createdstrRssFileDescription - the DescriptionstrEncoding - encodingstrFeedType - feed typenMaxItems - max items
public static String createRssDocument(int nIdPortlet,
String strRssFileDescription,
String strEncoding,
String strFeedType,
int nMaxItems,
javax.servlet.http.HttpServletRequest request)
nIdPortlet - the portlet id for wich the file is createdstrRssFileDescription - the DescriptionstrEncoding - encodingstrFeedType - feed typenMaxItems - max itemsrequest - The HTTP request
public static String createRssDocument(List listRssItem,
String strRssFileDescription)
listRssItem - The RSS ListstrRssFileDescription - the Description
public static void createFileRss(String strRssFileName,
String strRssDocument)
strRssFileName - The file's name that must be deletedstrRssDocument - The content of the new RSS file
public static void deleteFileRss(String strRssFileName,
String strPluginName)
strRssFileName - The name of the RSS filestrPluginName - The plugin's namepublic static String generateAllRss()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||