|
||||||||||
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(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 |
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 void insert(RssFeed rssFeed)
insert
in interface IRssFeedDAO
rssFeed
- The rssFeed objectpublic RssFeed load(int nRssFeedId)
load
in interface IRssFeedDAO
nRssFeedId
- The identifier of RssFeed
public void delete(int nId)
delete
in interface IRssFeedDAO
nId
- Delete the rss feedpublic void store(RssFeed rssFeed)
store
in interface IRssFeedDAO
rssFeed
- The reference of rssFeedpublic void storeLastFetchInfos(RssFeed rssFeed)
storeLastFetchInfos
in interface IRssFeedDAO
rssFeed
- The reference of rssFeedpublic java.util.List<RssFeed> selectRssFeeds()
selectRssFeeds
in interface IRssFeedDAO
public boolean checkUrlNotUsed(java.lang.String strUrl)
checkUrlNotUsed
in interface IRssFeedDAO
strUrl
- The url to be tested
public fr.paris.lutece.util.ReferenceList selectRssFeedReferenceList()
selectRssFeedReferenceList
in interface IRssFeedDAO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |