fr.paris.lutece.plugins.rss.business
Interface IRssFeedDAO

All Known Implementing Classes:
RssFeedDAO

public interface IRssFeedDAO

Author:
Isabelle

Method Summary
 boolean checkUrlNotUsed(java.lang.String strUrl)
          Checks whether url referenced is pointed as an external feed
 void delete(int nId)
          Delete a record from the table
 void insert(RssFeed rssFeed)
          Insert a new record in the table.
 RssFeed load(int nRssFeedId)
          Load the data of RssFeed from the table
 fr.paris.lutece.util.ReferenceList selectRssFeedReferenceList()
          Load the list of rssFeeds
 java.util.List<RssFeed> selectRssFeeds()
          Load the list of rssFeeds
 void store(RssFeed rssFeed)
          Update the record in the table
 void storeLastFetchInfos(RssFeed rssFeed)
          Update the record in the table
 

Method Detail

checkUrlNotUsed

boolean checkUrlNotUsed(java.lang.String strUrl)
Checks whether url referenced is pointed as an external feed

Parameters:
strUrl - The url to be tested
Returns:
The boolean result

delete

void delete(int nId)
Delete a record from the table

Parameters:
nId - Delete the rss feed

insert

void insert(RssFeed rssFeed)
Insert a new record in the table.

Parameters:
rssFeed - The rssFeed object

load

RssFeed load(int nRssFeedId)
Load the data of RssFeed from the table

Parameters:
nRssFeedId - The identifier of RssFeed
Returns:
the instance of the RssFeed

selectRssFeedReferenceList

fr.paris.lutece.util.ReferenceList selectRssFeedReferenceList()
Load the list of rssFeeds

Returns:
A referenceList representing the RssFeeds

selectRssFeeds

java.util.List<RssFeed> selectRssFeeds()
Load the list of rssFeeds

Returns:
The List of the RssFeeds

store

void store(RssFeed rssFeed)
Update the record in the table

Parameters:
rssFeed - The reference of rssFeed

storeLastFetchInfos

void storeLastFetchInfos(RssFeed rssFeed)
Update the record in the table

Parameters:
rssFeed - The reference of rssFeed


Copyright © 2007 Mairie de Paris. All Rights Reserved.