Remove blog as well when removing RSS feed

This also adds a confirmation dialog to the removal process.
This commit is contained in:
Torsten Grote
2017-04-10 13:39:28 -03:00
parent c7ff1ba974
commit 17de785c12
6 changed files with 51 additions and 27 deletions

View File

@@ -41,6 +41,11 @@ public interface BlogManager {
*/
void removeBlog(Blog b) throws DbException;
/**
* Removes and deletes a blog with the given {@link Transaction}.
*/
void removeBlog(Transaction txn, Blog b) throws DbException;
/**
* Stores a local blog post.
*/

View File

@@ -23,7 +23,7 @@ public interface FeedManager {
/**
* Removes an RSS feed.
*/
void removeFeed(String url) throws DbException;
void removeFeed(Feed feed) throws DbException;
/**
* Returns a list of all added RSS feeds