Interface SubscriptionHistory
- All Known Implementing Classes:
SubscriptionHistoryImpl
public interface SubscriptionHistory
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteResults(String[] result_ids) Delete marks the result as explicitly deleted - it won't be re-discoveredintintString[]booleanlonglonglonglongintlonglongbooleanintintgetResults(boolean include_deleted) booleanbooleanbooleanvoidvoidvoidmarkResults(String[] result_ids, boolean[] read) voidremoveResults(String[] result_ids) This removes the result, it will be available for re-discovery if filters permitvoidreset()voidsetAutoDownload(boolean auto_dl) voidsetCheckFrequencyMins(int mins) voidsetDetails(boolean enabled, boolean auto_dl) voidsetDownloadNetworks(String[] nets) voidsetDownloadWithReferer(boolean b) voidsetEnabled(boolean enabled) voidsetMaxAgeSecs(long max) voidsetMaxNonDeletedResults(int max) voidsetNextScheduledUpdate(long when) voidsetNotificationPostEnabled(boolean enabled)
-
Field Details
-
DEFAULT_CHECK_INTERVAL_MINS
static final int DEFAULT_CHECK_INTERVAL_MINS- See Also:
-
-
Method Details
-
isEnabled
boolean isEnabled() -
setEnabled
void setEnabled(boolean enabled) -
isAutoDownload
boolean isAutoDownload() -
setAutoDownload
void setAutoDownload(boolean auto_dl) -
setDetails
void setDetails(boolean enabled, boolean auto_dl) -
deleteResults
Delete marks the result as explicitly deleted - it won't be re-discovered- Parameters:
result_ids-
-
deleteAllResults
void deleteAllResults() -
removeResults
This removes the result, it will be available for re-discovery if filters permit- Parameters:
result_ids-
-
markAllResultsRead
void markAllResultsRead() -
markAllResultsUnread
void markAllResultsUnread() -
markResults
-
reset
void reset() -
getLastScanTime
long getLastScanTime() -
getLastNewResultTime
long getLastNewResultTime() -
getNextScanTime
long getNextScanTime() -
getNumUnread
int getNumUnread() -
getNumRead
int getNumRead() -
getCheckFrequencyMins
int getCheckFrequencyMins() -
setCheckFrequencyMins
void setCheckFrequencyMins(int mins) -
getLastError
String getLastError() -
getLastErrorTime
long getLastErrorTime() -
setNextScheduledUpdate
void setNextScheduledUpdate(long when) -
getNextScheduledUpdate
long getNextScheduledUpdate() -
isAuthFail
boolean isAuthFail() -
getConsecFails
int getConsecFails() -
getResults
-
getResult
-
getDownloadWithReferer
boolean getDownloadWithReferer() -
setDownloadWithReferer
void setDownloadWithReferer(boolean b) -
getMaxNonDeletedResults
int getMaxNonDeletedResults() -
setMaxNonDeletedResults
void setMaxNonDeletedResults(int max) -
getDownloadNetworks
String[] getDownloadNetworks() -
setDownloadNetworks
-
getMaxAgeSecs
long getMaxAgeSecs() -
setMaxAgeSecs
void setMaxAgeSecs(long max) -
getNotificationPostEnabled
boolean getNotificationPostEnabled() -
setNotificationPostEnabled
void setNotificationPostEnabled(boolean enabled)
-