|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.rss.business.RssFeedDAO
public final class RssFeedDAO
This class provides Data Access methods for RssFeed objects
| Constructor Summary | |
|---|---|
RssFeedDAO()
|
|
| Method Summary | |
|---|---|
boolean |
checkUrlNotUsed(java.lang.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 |
java.util.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RssFeedDAO()
| Method Detail |
|---|
public int newPrimaryKey(boolean bActive)
newPrimaryKey in interface IRssFeedDAObActive - true for the active feed table
public void insert(RssFeed rssFeed)
insert in interface IRssFeedDAOrssFeed - The rssFeed object
public RssFeed load(int nRssFeedId,
boolean bActive)
load in interface IRssFeedDAOnRssFeedId - The identifier of RssFeedbActive - true if the field is active
public 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 java.util.List<RssFeed> selectRssFeeds(boolean bActive)
selectRssFeeds in interface IRssFeedDAObActive - true if the field is active
public boolean checkUrlNotUsed(java.lang.String strUrl)
checkUrlNotUsed in interface IRssFeedDAOstrUrl - The url to be tested
public fr.paris.lutece.util.ReferenceList selectRssFeedReferenceList(boolean bActive)
selectRssFeedReferenceList in interface IRssFeedDAObActive - true for active feeds
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||