|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.rss.business.RssGeneratedFileHome
public final class RssGeneratedFileHome
This class provides instances management methods (create, find, ...) for rss objects.
Method Summary | |
---|---|
static boolean |
checkExistPushrssByPortlet(int nPortletId)
Checks if a pushrss object exist for this portlet identifier |
static boolean |
checkRssFileFileName(java.lang.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 java.util.Collection |
findAllArticlesPortlets()
Returns a collection of portlets for which there isn't any RSS files |
static java.util.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 java.util.List |
findDocumentsByPortlet(int nPortletId)
Returns all the documents of a portlet whose identifier is specified in parameter |
static java.lang.String |
getPortletName(int nPortletId)
Reads the portlet's name |
static java.util.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RssGeneratedFile findByPrimaryKey(int nKey)
nKey
- The identifier of the pushrss file
public 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 RssFile
public static void remove(int nRssFileId)
nRssFileId
- The identifier of the pushRss objectpublic static java.util.List<RssGeneratedFile> getRssFileList()
public static java.lang.String getPortletName(int nPortletId)
nPortletId
- the identifier of the portlet
public static fr.paris.lutece.portal.business.stylesheet.StyleSheet getRssXsl(int nStylesheetId)
nStylesheetId
- the identifier of the Stylesheet
public static java.util.Collection findArticlesPortlets()
public static java.util.Collection findAllArticlesPortlets()
public static java.util.List findDocumentsByPortlet(int nPortletId)
nPortletId
- the identifier of the portlet
public static boolean checkExistPushrssByPortlet(int nPortletId)
nPortletId
- The identifier of the portlet
public static boolean checkRssFileFileName(java.lang.String strRssFileName)
strRssFileName
- The push RSS file's name
public static boolean checkRssFilePortlet(int nPortletId)
nPortletId
- The portlet identifier for this RSS file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |