summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/services/mail_service.py
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-12-22 10:00:58 -0200
committerDuda Dornelles <ddornell@thoughtworks.com>2014-12-22 10:00:58 -0200
commit4b0cc88c96c547528dd31e37c1593eee251f250b (patch)
tree27e6cad6b7478ba9d8d1b51136ee3f7309ce59da /service/pixelated/adapter/services/mail_service.py
parent66839f191708a0725c8d9841d5266ad13af8ee81 (diff)
Removing unused code
Diffstat (limited to 'service/pixelated/adapter/services/mail_service.py')
-rw-r--r--service/pixelated/adapter/services/mail_service.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py
index 722b9a29..f4f37d77 100644
--- a/service/pixelated/adapter/services/mail_service.py
+++ b/service/pixelated/adapter/services/mail_service.py
@@ -47,24 +47,12 @@ class MailService:
self.mailboxes.drafts().remove(last_draft_ident)
return self.mailboxes.sent().add(mail)
- def thread(self, thread_id):
- raise NotImplementedError()
-
def mark_as_read(self, mail_id):
return self.mail(mail_id).mark_as_read()
def mark_as_unread(self, mail_id):
return self.mail(mail_id).mark_as_unread()
- def tags_for_thread(self, thread):
- raise NotImplementedError()
-
- def add_tag_to_thread(self, thread_id, tag):
- raise NotImplementedError()
-
- def remove_tag_from_thread(self, thread_id, tag):
- raise NotImplementedError()
-
def delete_mail(self, mail_id):
return self.mailboxes.move_to_trash(mail_id)
@@ -72,18 +60,6 @@ class MailService:
mail = self.mail(mail_id)
self.querier.remove_mail(mail)
- def save_draft(self, draft):
- raise NotImplementedError()
-
- def draft_reply_for(self, mail_id):
- raise NotImplementedError()
-
- def all_contacts(self, query):
- raise NotImplementedError()
-
- def drafts(self):
- raise NotImplementedError()
-
def reply_all_template(self, mail_id):
mail = self.mail(mail_id)
return mail.to_reply_template()