Class DbNewsHandlerImpl
- java.lang.Object
-
- com.openindex.openestate.tool.news.db.DbNewsHandlerImpl
-
- All Implemented Interfaces:
DbNewsHandler
- Direct Known Subclasses:
HSqlDbNewsHandler
public abstract class DbNewsHandlerImpl extends Object implements DbNewsHandler
DbNewsHandlerImpl.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description DbNewsHandlerImpl()
-
Method Summary
-
-
-
Method Detail
-
getEntries
public final DbNewsEntry[] getEntries(Connection c) throws SQLException
- Specified by:
getEntries
in interfaceDbNewsHandler
- Throws:
SQLException
-
getEntries
public final DbNewsEntry[] getEntries(Connection c, long feedId) throws SQLException
- Specified by:
getEntries
in interfaceDbNewsHandler
- Throws:
SQLException
-
getEntries
public abstract DbNewsEntry[] getEntries(Connection c, long[] feedIds) throws SQLException
- Specified by:
getEntries
in interfaceDbNewsHandler
- Throws:
SQLException
-
getEntry
public abstract DbNewsEntry getEntry(Connection c, long feedId, String uri) throws SQLException
- Specified by:
getEntry
in interfaceDbNewsHandler
- Throws:
SQLException
-
getEntryIds
public final long[] getEntryIds(Connection c) throws SQLException
- Specified by:
getEntryIds
in interfaceDbNewsHandler
- Throws:
SQLException
-
getEntryIds
public final long[] getEntryIds(Connection c, long feedId) throws SQLException
- Specified by:
getEntryIds
in interfaceDbNewsHandler
- Throws:
SQLException
-
getEntryIds
public abstract long[] getEntryIds(Connection c, long[] feedIds) throws SQLException
- Specified by:
getEntryIds
in interfaceDbNewsHandler
- Throws:
SQLException
-
getFeed
public final DbNewsFeed getFeed(Connection c, long id) throws SQLException
- Specified by:
getFeed
in interfaceDbNewsHandler
- Throws:
SQLException
-
getFeeds
public final DbNewsFeed[] getFeeds(Connection c) throws SQLException
- Specified by:
getFeeds
in interfaceDbNewsHandler
- Throws:
SQLException
-
getFeeds
public abstract DbNewsFeed[] getFeeds(Connection c, long[] ids) throws SQLException
- Specified by:
getFeeds
in interfaceDbNewsHandler
- Throws:
SQLException
-
getFeeds
public abstract DbNewsFeed[] getFeeds(Connection c, Boolean updateEnabled) throws SQLException
- Specified by:
getFeeds
in interfaceDbNewsHandler
- Throws:
SQLException
-
getFeedIds
public final long[] getFeedIds(Connection c) throws SQLException
- Specified by:
getFeedIds
in interfaceDbNewsHandler
- Throws:
SQLException
-
getFeedIds
public abstract long[] getFeedIds(Connection c, Boolean enabled) throws SQLException
- Specified by:
getFeedIds
in interfaceDbNewsHandler
- Throws:
SQLException
-
removeEntry
public final void removeEntry(Connection c, long id) throws SQLException
- Specified by:
removeEntry
in interfaceDbNewsHandler
- Throws:
SQLException
-
removeEntries
public abstract void removeEntries(Connection c, long[] ids) throws SQLException
- Specified by:
removeEntries
in interfaceDbNewsHandler
- Throws:
SQLException
-
removeFeed
public final void removeFeed(Connection c, long id) throws SQLException
- Specified by:
removeFeed
in interfaceDbNewsHandler
- Throws:
SQLException
-
removeFeeds
public abstract void removeFeeds(Connection c, long[] ids) throws SQLException
- Specified by:
removeFeeds
in interfaceDbNewsHandler
- Throws:
SQLException
-
removeFeedEntries
public final void removeFeedEntries(Connection c, long feedId) throws SQLException
- Specified by:
removeFeedEntries
in interfaceDbNewsHandler
- Throws:
SQLException
-
removeFeedEntries
public final void removeFeedEntries(Connection c, long[] feedIds) throws SQLException
- Specified by:
removeFeedEntries
in interfaceDbNewsHandler
- Throws:
SQLException
-
saveEntry
public abstract void saveEntry(Connection c, DbNewsEntry entry) throws SQLException
- Specified by:
saveEntry
in interfaceDbNewsHandler
- Throws:
SQLException
-
saveFeed
public abstract void saveFeed(Connection c, DbNewsFeed feed) throws SQLException
- Specified by:
saveFeed
in interfaceDbNewsHandler
- Throws:
SQLException
-
-