public interface IRssFeedDAO
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkUrlNotUsed(String strUrl)
Checks whether url referenced is pointed as an external feed
|
void |
delete(RssFeed rssFeed)
Delete a record from the table
|
void |
insert(RssFeed rssFeed)
Insert a new record in the table.
|
RssFeed |
load(int nRssFeedId,
boolean bActive)
Load the data of RssFeed from the table
|
int |
newPrimaryKey(boolean bActive)
Generates a new primary key either in the active feed table or in the inactive feed one
|
fr.paris.lutece.util.ReferenceList |
selectRssFeedReferenceList(boolean bActive)
Load the list of rssFeeds
|
List<RssFeed> |
selectRssFeeds(boolean bActive)
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
|
int newPrimaryKey(boolean bActive)
bActive - true for the active feed tableboolean checkUrlNotUsed(String strUrl)
strUrl - The url to be testedvoid delete(RssFeed rssFeed)
rssFeed - the feed to deletevoid insert(RssFeed rssFeed)
rssFeed - The rssFeed objectRssFeed load(int nRssFeedId, boolean bActive)
nRssFeedId - The identifier of RssFeedbActive - true if the field is activefr.paris.lutece.util.ReferenceList selectRssFeedReferenceList(boolean bActive)
bActive - true for active feedsList<RssFeed> selectRssFeeds(boolean bActive)
bActive - true if the field is activevoid store(RssFeed rssFeed)
rssFeed - The reference of rssFeedvoid storeLastFetchInfos(RssFeed rssFeed)
rssFeed - The reference of rssFeedCopyright © 2015 City of Paris. All rights reserved.