public final class RssGeneratedFileHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkExistPushrssByPortlet(int nPortletId)
Checks if a pushrss object exist for this portlet identifier
|
static boolean |
checkRssFileFileName(String strRssFileName)
Tests before create if a push rss object exist with the same name
|
static boolean |
checkRssFilePortlet(int nPortletId)
Tests if the portlet has not been deleted
|
static RssGeneratedFile |
create(RssGeneratedFile pushRss)
Creates a new push RSS object in the database.
|
static Collection |
findAllArticlesPortlets()
Returns a collection of portlets for which there isn't any RSS files
|
static Collection |
findArticlesPortlets()
Returns a collection of portlets for which there isn't any RSS files
|
static RssGeneratedFile |
findByPrimaryKey(int nKey)
Loads the data of a pushrss object from the table
|
static List |
findDocumentsByPortlet(int nPortletId)
Returns all the documents of a portlet whose identifier is specified in parameter
|
static String |
getPortletName(int nPortletId)
Reads the portlet's name
|
static List<RssGeneratedFile> |
getRssFileList()
Returns the list of the RSS Files
|
static fr.paris.lutece.portal.business.stylesheet.StyleSheet |
getRssXsl(int nStylesheetId)
Returns the stylesheet for RSS files
|
static void |
remove(int nRssFileId)
Removes the push RSS object whose identifier is specified in parameter
|
static void |
update(RssGeneratedFile pushRss)
Updates the record in the rss_generation table
|
static void |
updateState(RssGeneratedFile pushRss)
Updates pushrss's state in the table and doesn't modify the update date
|
public static RssGeneratedFile findByPrimaryKey(int nKey)
nKey - The identifier of the pushrss filepublic static void update(RssGeneratedFile pushRss)
pushRss - The Instance of the object RssFilepublic static void updateState(RssGeneratedFile pushRss)
pushRss - The Instance of the object RssFilepublic static RssGeneratedFile create(RssGeneratedFile pushRss)
pushRss - The Instance of the object RssFilepublic static void remove(int nRssFileId)
nRssFileId - The identifier of the pushRss objectpublic static List<RssGeneratedFile> getRssFileList()
public static String getPortletName(int nPortletId)
nPortletId - the identifier of the portletpublic static fr.paris.lutece.portal.business.stylesheet.StyleSheet getRssXsl(int nStylesheetId)
nStylesheetId - the identifier of the Stylesheetpublic static Collection findArticlesPortlets()
public static Collection findAllArticlesPortlets()
public static List findDocumentsByPortlet(int nPortletId)
nPortletId - the identifier of the portletpublic static boolean checkExistPushrssByPortlet(int nPortletId)
nPortletId - The identifier of the portletpublic static boolean checkRssFileFileName(String strRssFileName)
strRssFileName - The push RSS file's namepublic static boolean checkRssFilePortlet(int nPortletId)
nPortletId - The portlet identifier for this RSS fileCopyright © 2015 City of Paris. All rights reserved.