public class HSqlDbNewsHandler extends DbNewsHandlerImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_ENTRY_AUTHOR |
static String |
FIELD_ENTRY_CONTENT |
static String |
FIELD_ENTRY_ID |
static String |
FIELD_ENTRY_LINK |
static String |
FIELD_ENTRY_NEW |
static String |
FIELD_ENTRY_STICKY |
static String |
FIELD_ENTRY_TIME |
static String |
FIELD_ENTRY_TITLE |
static String |
FIELD_ENTRY_URI |
static String |
FIELD_FEED_ARCHIVED |
static String |
FIELD_FEED_AUTH_METHOD |
static String |
FIELD_FEED_AUTH_PASS |
static String |
FIELD_FEED_AUTH_USER |
static String |
FIELD_FEED_DOWNLOADED_AT |
static String |
FIELD_FEED_ID |
static String |
FIELD_FEED_NAME |
static String |
FIELD_FEED_NOTES |
static String |
FIELD_FEED_PUBLISHED_AT |
static String |
FIELD_FEED_UPDATE_ENABLED |
static String |
FIELD_FEED_UPDATE_INTERVAL |
static String |
FIELD_FEED_URL |
static String |
PROC_REMOVE_ENTRIES |
static String |
PROC_REMOVE_FEEDS |
static String |
PROC_SAVE_ENTRIES |
static String |
PROC_SAVE_FEEDS |
static String |
TABLE_NEWS_ENTRIES |
static String |
TABLE_NEWS_FEEDS |
static String |
VIEW_ENTRIES |
static String |
VIEW_FEEDS |
| Constructor and Description |
|---|
HSqlDbNewsHandler() |
| Modifier and Type | Method and Description |
|---|---|
DbNewsEntry[] |
getEntries(Connection c,
long[] feedIds) |
DbNewsEntry |
getEntry(Connection c,
long feedId,
String uri) |
long[] |
getEntryIds(Connection c,
long[] feedIds) |
long[] |
getFeedIds(Connection c,
Boolean enabled) |
DbNewsFeed[] |
getFeeds(Connection c,
Boolean updateEnabled) |
DbNewsFeed[] |
getFeeds(Connection c,
long[] ids) |
void |
removeEntries(Connection c,
long[] ids) |
void |
removeFeeds(Connection c,
long[] ids) |
void |
saveEntry(Connection c,
DbNewsEntry entry) |
void |
saveFeed(Connection c,
DbNewsFeed feed) |
getEntries, getEntries, getEntryIds, getEntryIds, getFeed, getFeedIds, getFeeds, removeEntry, removeFeed, removeFeedEntries, removeFeedEntriespublic static final String PROC_REMOVE_FEEDS
public static final String PROC_REMOVE_ENTRIES
public static final String PROC_SAVE_FEEDS
public static final String PROC_SAVE_ENTRIES
public static final String VIEW_FEEDS
public static final String VIEW_ENTRIES
public static final String TABLE_NEWS_FEEDS
public static final String FIELD_FEED_ID
public static final String FIELD_FEED_NAME
public static final String FIELD_FEED_URL
public static final String FIELD_FEED_AUTH_METHOD
public static final String FIELD_FEED_AUTH_USER
public static final String FIELD_FEED_AUTH_PASS
public static final String FIELD_FEED_NOTES
public static final String FIELD_FEED_ARCHIVED
public static final String FIELD_FEED_UPDATE_ENABLED
public static final String FIELD_FEED_UPDATE_INTERVAL
public static final String FIELD_FEED_DOWNLOADED_AT
public static final String FIELD_FEED_PUBLISHED_AT
public static final String TABLE_NEWS_ENTRIES
public static final String FIELD_ENTRY_ID
public static final String FIELD_ENTRY_URI
public static final String FIELD_ENTRY_TITLE
public static final String FIELD_ENTRY_AUTHOR
public static final String FIELD_ENTRY_CONTENT
public static final String FIELD_ENTRY_LINK
public static final String FIELD_ENTRY_TIME
public static final String FIELD_ENTRY_NEW
public static final String FIELD_ENTRY_STICKY
public DbNewsEntry[] getEntries(Connection c, long[] feedIds) throws SQLException
getEntries in interface DbNewsHandlergetEntries in class DbNewsHandlerImplSQLExceptionpublic DbNewsEntry getEntry(Connection c, long feedId, String uri) throws SQLException
getEntry in interface DbNewsHandlergetEntry in class DbNewsHandlerImplSQLExceptionpublic long[] getEntryIds(Connection c, long[] feedIds) throws SQLException
getEntryIds in interface DbNewsHandlergetEntryIds in class DbNewsHandlerImplSQLExceptionpublic DbNewsFeed[] getFeeds(Connection c, long[] ids) throws SQLException
getFeeds in interface DbNewsHandlergetFeeds in class DbNewsHandlerImplSQLExceptionpublic DbNewsFeed[] getFeeds(Connection c, Boolean updateEnabled) throws SQLException
getFeeds in interface DbNewsHandlergetFeeds in class DbNewsHandlerImplSQLExceptionpublic long[] getFeedIds(Connection c, Boolean enabled) throws SQLException
getFeedIds in interface DbNewsHandlergetFeedIds in class DbNewsHandlerImplSQLExceptionpublic void removeEntries(Connection c, long[] ids) throws SQLException
removeEntries in interface DbNewsHandlerremoveEntries in class DbNewsHandlerImplSQLExceptionpublic void removeFeeds(Connection c, long[] ids) throws SQLException
removeFeeds in interface DbNewsHandlerremoveFeeds in class DbNewsHandlerImplSQLExceptionpublic void saveEntry(Connection c, DbNewsEntry entry) throws SQLException
saveEntry in interface DbNewsHandlersaveEntry in class DbNewsHandlerImplSQLExceptionpublic void saveFeed(Connection c, DbNewsFeed feed) throws SQLException
saveFeed in interface DbNewsHandlersaveFeed in class DbNewsHandlerImplSQLExceptionCopyright © 2015 OpenEstate. All rights reserved.