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:
getEntriesin interfaceDbNewsHandler- Throws:
SQLException
-
getEntries
public final DbNewsEntry[] getEntries(Connection c, long feedId) throws SQLException
- Specified by:
getEntriesin interfaceDbNewsHandler- Throws:
SQLException
-
getEntries
public abstract DbNewsEntry[] getEntries(Connection c, long[] feedIds) throws SQLException
- Specified by:
getEntriesin interfaceDbNewsHandler- Throws:
SQLException
-
getEntry
public abstract DbNewsEntry getEntry(Connection c, long feedId, String uri) throws SQLException
- Specified by:
getEntryin interfaceDbNewsHandler- Throws:
SQLException
-
getEntryIds
public final long[] getEntryIds(Connection c) throws SQLException
- Specified by:
getEntryIdsin interfaceDbNewsHandler- Throws:
SQLException
-
getEntryIds
public final long[] getEntryIds(Connection c, long feedId) throws SQLException
- Specified by:
getEntryIdsin interfaceDbNewsHandler- Throws:
SQLException
-
getEntryIds
public abstract long[] getEntryIds(Connection c, long[] feedIds) throws SQLException
- Specified by:
getEntryIdsin interfaceDbNewsHandler- Throws:
SQLException
-
getFeed
public final DbNewsFeed getFeed(Connection c, long id) throws SQLException
- Specified by:
getFeedin interfaceDbNewsHandler- Throws:
SQLException
-
getFeeds
public final DbNewsFeed[] getFeeds(Connection c) throws SQLException
- Specified by:
getFeedsin interfaceDbNewsHandler- Throws:
SQLException
-
getFeeds
public abstract DbNewsFeed[] getFeeds(Connection c, long[] ids) throws SQLException
- Specified by:
getFeedsin interfaceDbNewsHandler- Throws:
SQLException
-
getFeeds
public abstract DbNewsFeed[] getFeeds(Connection c, Boolean updateEnabled) throws SQLException
- Specified by:
getFeedsin interfaceDbNewsHandler- Throws:
SQLException
-
getFeedIds
public final long[] getFeedIds(Connection c) throws SQLException
- Specified by:
getFeedIdsin interfaceDbNewsHandler- Throws:
SQLException
-
getFeedIds
public abstract long[] getFeedIds(Connection c, Boolean enabled) throws SQLException
- Specified by:
getFeedIdsin interfaceDbNewsHandler- Throws:
SQLException
-
removeEntry
public final void removeEntry(Connection c, long id) throws SQLException
- Specified by:
removeEntryin interfaceDbNewsHandler- Throws:
SQLException
-
removeEntries
public abstract void removeEntries(Connection c, long[] ids) throws SQLException
- Specified by:
removeEntriesin interfaceDbNewsHandler- Throws:
SQLException
-
removeFeed
public final void removeFeed(Connection c, long id) throws SQLException
- Specified by:
removeFeedin interfaceDbNewsHandler- Throws:
SQLException
-
removeFeeds
public abstract void removeFeeds(Connection c, long[] ids) throws SQLException
- Specified by:
removeFeedsin interfaceDbNewsHandler- Throws:
SQLException
-
removeFeedEntries
public final void removeFeedEntries(Connection c, long feedId) throws SQLException
- Specified by:
removeFeedEntriesin interfaceDbNewsHandler- Throws:
SQLException
-
removeFeedEntries
public final void removeFeedEntries(Connection c, long[] feedIds) throws SQLException
- Specified by:
removeFeedEntriesin interfaceDbNewsHandler- Throws:
SQLException
-
saveEntry
public abstract void saveEntry(Connection c, DbNewsEntry entry) throws SQLException
- Specified by:
saveEntryin interfaceDbNewsHandler- Throws:
SQLException
-
saveFeed
public abstract void saveFeed(Connection c, DbNewsFeed feed) throws SQLException
- Specified by:
saveFeedin interfaceDbNewsHandler- Throws:
SQLException
-
-