public final class RssGeneratedFileDAO extends Object implements IRssGeneratedFileDAO
| Constructor and Description |
|---|
RssGeneratedFileDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkExistPushrssByPortlet(int nPortletId)
Checks if a rssFile file exist for this portlet identifier
|
boolean |
checkRssFileFileName(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
|
Collection |
selectAllRssPortlets()
Returns a collection of all portlets
|
List |
selectDocumentsByPortlet(int nPortletId)
Returns all the documents of a portlet whose identifier is specified in
parameter
|
List<RssGeneratedFile> |
selectRssFileList()
Returns the list of the rss_generation files
|
String |
selectRssFilePortletName(int nPortletId)
Reads the portlet's name
|
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
|
public void insert(RssGeneratedFile rssFile)
insert in interface IRssGeneratedFileDAOrssFile - The Instance of the object RssFilepublic void delete(int nRssFileId)
delete in interface IRssGeneratedFileDAOnRssFileId - The identifier of the rssFile objectpublic void store(RssGeneratedFile rssFile)
store in interface IRssGeneratedFileDAOrssFile - The Instance of the object rssFilepublic void updateState(RssGeneratedFile rssFile)
updateState in interface IRssGeneratedFileDAOrssFile - The Instance of the object rssFilepublic RssGeneratedFile load(int nRssFileId)
load in interface IRssGeneratedFileDAOnRssFileId - The identifier of the rssFile filepublic boolean checkExistPushrssByPortlet(int nPortletId)
checkExistPushrssByPortlet in interface IRssGeneratedFileDAOnPortletId - The identifier of the portletpublic boolean checkRssFileFileName(String strRssFileName)
checkRssFileFileName in interface IRssGeneratedFileDAOstrRssFileName - The push RSS file's namepublic List<RssGeneratedFile> selectRssFileList()
selectRssFileList in interface IRssGeneratedFileDAOpublic Collection selectRssPortlets()
selectRssPortlets in interface IRssGeneratedFileDAOpublic Collection selectAllRssPortlets()
selectAllRssPortlets in interface IRssGeneratedFileDAOpublic String selectRssFilePortletName(int nPortletId)
selectRssFilePortletName in interface IRssGeneratedFileDAOnPortletId - the identifier of the portletpublic boolean checkRssFilePortlet(int nPortletId)
checkRssFilePortlet in interface IRssGeneratedFileDAOnPortletId - The portlet identifier for this RSS filepublic List selectDocumentsByPortlet(int nPortletId)
selectDocumentsByPortlet in interface IRssGeneratedFileDAOnPortletId - the identifier of the portletpublic fr.paris.lutece.portal.business.stylesheet.StyleSheet selectXslFile(int nStyleSheetId)
selectXslFile in interface IRssGeneratedFileDAOnStyleSheetId - the identifier of the StylesheetCopyright © 2018 City of Paris. All rights reserved.