public final class RssFeedDAO extends Object implements IRssFeedDAO
| Constructor and Description |
|---|
RssFeedDAO() |
| 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
|
public int newPrimaryKey(boolean bActive)
newPrimaryKey in interface IRssFeedDAObActive - true for the active feed tablepublic void insert(RssFeed rssFeed)
insert in interface IRssFeedDAOrssFeed - The rssFeed objectpublic RssFeed load(int nRssFeedId, boolean bActive)
load in interface IRssFeedDAOnRssFeedId - The identifier of RssFeedbActive - true if the field is activepublic void delete(RssFeed rssFeed)
delete in interface IRssFeedDAOrssFeed - the feed to deletepublic void store(RssFeed rssFeed)
store in interface IRssFeedDAOrssFeed - The reference of rssFeedpublic void storeLastFetchInfos(RssFeed rssFeed)
storeLastFetchInfos in interface IRssFeedDAOrssFeed - The reference of rssFeedpublic List<RssFeed> selectRssFeeds(boolean bActive)
selectRssFeeds in interface IRssFeedDAObActive - true if the field is activepublic boolean checkUrlNotUsed(String strUrl)
checkUrlNotUsed in interface IRssFeedDAOstrUrl - The url to be testedpublic fr.paris.lutece.util.ReferenceList selectRssFeedReferenceList(boolean bActive)
selectRssFeedReferenceList in interface IRssFeedDAObActive - true for active feedsCopyright © 2018 City of Paris. All rights reserved.