|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.rss.business.RssGeneratedFileDAO
public final class RssGeneratedFileDAO
This class provides Data Access methods for RSS objects
Constructor Summary | |
---|---|
RssGeneratedFileDAO()
|
Method Summary | |
---|---|
boolean |
checkExistPushrssByPortlet(int nPortletId)
Checks if a rssFile file exist for this portlet identifier |
boolean |
checkRssFileFileName(java.lang.String strRssFileName)
Tests if a push rss file exist with the same name |
boolean |
checkRssFilePortlet(int nPortletId)
Tests if the portlet has not been deleted before update |
void |
delete(int nRssFileId)
Deletes a record from the table |
void |
insert(RssGeneratedFile rssFile)
Inserts a new record in the table rss_generation. |
RssGeneratedFile |
load(int nRssFileId)
Loads the data of a rssFile file from the table |
java.util.Collection |
selectAllRssPortlets()
Returns a collection of all portlets |
java.util.List |
selectDocumentsByPortlet(int nPortletId)
Returns all the documents of a portlet whose identifier is specified in parameter |
fr.paris.lutece.util.ReferenceList |
selectDocumentTypePortlets()
Returns the list of the portlets which are document portlets |
java.util.List<RssGeneratedFile> |
selectRssFileList()
Returns the list of the rss_generation files |
java.lang.String |
selectRssFilePortletName(int nPortletId)
Reads the portlet's name |
java.util.Collection |
selectRssPortlets()
Returns a collection of portlets for which there isn't any RSS files |
fr.paris.lutece.portal.business.stylesheet.StyleSheet |
selectXslFile(int nStyleSheetId)
Returns the stylesheet for RSS files |
void |
store(RssGeneratedFile rssFile)
Updates the record in the table rss_generation |
void |
updateState(RssGeneratedFile rssFile)
Updates the rssFile's state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RssGeneratedFileDAO()
Method Detail |
---|
public void insert(RssGeneratedFile rssFile)
insert
in interface IRssGeneratedFileDAO
pushRss
- The Instance of the object RssFileplugin
- The pluginpublic void delete(int nRssFileId)
delete
in interface IRssGeneratedFileDAO
nRssFileId
- The identifier of the rssFile objectpublic void store(RssGeneratedFile rssFile)
store
in interface IRssGeneratedFileDAO
rssFile
- The Instance of the object rssFilepublic void updateState(RssGeneratedFile rssFile)
updateState
in interface IRssGeneratedFileDAO
rssFile
- The Instance of the object rssFileplugin
- The pluginpublic RssGeneratedFile load(int nRssFileId)
load
in interface IRssGeneratedFileDAO
nRssFileId
- The identifier of the rssFile fileplugin
- The pluginpublic boolean checkExistPushrssByPortlet(int nPortletId)
checkExistPushrssByPortlet
in interface IRssGeneratedFileDAO
nPortletId
- The identifier of the portletplugin
- The plugin
public boolean checkRssFileFileName(java.lang.String strRssFileName)
checkRssFileFileName
in interface IRssGeneratedFileDAO
strRssFileName
- The push RSS file's nameplugin
- The plugin
public java.util.List<RssGeneratedFile> selectRssFileList()
selectRssFileList
in interface IRssGeneratedFileDAO
plugin
- The plugin
public fr.paris.lutece.util.ReferenceList selectDocumentTypePortlets()
selectDocumentTypePortlets
in interface IRssGeneratedFileDAO
plugin
- The plugin
public java.util.Collection selectRssPortlets()
selectRssPortlets
in interface IRssGeneratedFileDAO
public java.util.Collection selectAllRssPortlets()
selectAllRssPortlets
in interface IRssGeneratedFileDAO
public java.lang.String selectRssFilePortletName(int nPortletId)
selectRssFilePortletName
in interface IRssGeneratedFileDAO
nPortletId
- the identifier of the portlet
public boolean checkRssFilePortlet(int nPortletId)
checkRssFilePortlet
in interface IRssGeneratedFileDAO
nPortletId
- The portlet identifier for this RSS fileplugin
- The plugin
public java.util.List selectDocumentsByPortlet(int nPortletId)
selectDocumentsByPortlet
in interface IRssGeneratedFileDAO
nPortletId
- the identifier of the portletpluginName
- the plugin name
public fr.paris.lutece.portal.business.stylesheet.StyleSheet selectXslFile(int nStyleSheetId)
selectXslFile
in interface IRssGeneratedFileDAO
nStyleSheetId
- the identifier of the Stylesheet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |