Interface DbNewsHandler
-
- All Known Implementing Classes:
DbNewsHandlerImpl
,HSqlDbNewsHandler
public interface DbNewsHandler
DbNewsHandler.- Author:
- Andreas Rudolph
-
-
Method Summary
-
-
-
Method Detail
-
getEntries
DbNewsEntry[] getEntries(Connection c) throws SQLException
- Throws:
SQLException
-
getEntries
DbNewsEntry[] getEntries(Connection c, long feedId) throws SQLException
- Throws:
SQLException
-
getEntries
DbNewsEntry[] getEntries(Connection c, long[] feedIds) throws SQLException
- Throws:
SQLException
-
getEntry
DbNewsEntry getEntry(Connection c, long feedId, String uri) throws SQLException
- Throws:
SQLException
-
getEntryIds
long[] getEntryIds(Connection c) throws SQLException
- Throws:
SQLException
-
getEntryIds
long[] getEntryIds(Connection c, long feedId) throws SQLException
- Throws:
SQLException
-
getEntryIds
long[] getEntryIds(Connection c, long[] feedIds) throws SQLException
- Throws:
SQLException
-
getFeed
DbNewsFeed getFeed(Connection c, long id) throws SQLException
- Throws:
SQLException
-
getFeeds
DbNewsFeed[] getFeeds(Connection c) throws SQLException
- Throws:
SQLException
-
getFeeds
DbNewsFeed[] getFeeds(Connection c, long[] ids) throws SQLException
- Throws:
SQLException
-
getFeeds
DbNewsFeed[] getFeeds(Connection c, Boolean updateEnabled) throws SQLException
- Throws:
SQLException
-
getFeedIds
long[] getFeedIds(Connection c) throws SQLException
- Throws:
SQLException
-
getFeedIds
long[] getFeedIds(Connection c, Boolean enabled) throws SQLException
- Throws:
SQLException
-
removeEntry
void removeEntry(Connection c, long id) throws SQLException
- Throws:
SQLException
-
removeEntries
void removeEntries(Connection c, long[] ids) throws SQLException
- Throws:
SQLException
-
removeFeed
void removeFeed(Connection c, long id) throws SQLException
- Throws:
SQLException
-
removeFeeds
void removeFeeds(Connection c, long[] ids) throws SQLException
- Throws:
SQLException
-
removeFeedEntries
void removeFeedEntries(Connection c, long feedId) throws SQLException
- Throws:
SQLException
-
removeFeedEntries
void removeFeedEntries(Connection c, long[] feedIds) throws SQLException
- Throws:
SQLException
-
saveEntry
void saveEntry(Connection c, DbNewsEntry entry) throws SQLException
- Throws:
SQLException
-
saveFeed
void saveFeed(Connection c, DbNewsFeed feed) throws SQLException
- Throws:
SQLException
-
-