You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Quynh Nguyen (JIRA)" <se...@james.apache.org> on 2017/02/22 08:08:44 UTC
[jira] [Created] (JAMES-1947) Implement ApplicableFlags on the
mailboxManager layer
Quynh Nguyen created JAMES-1947:
-----------------------------------
Summary: Implement ApplicableFlags on the mailboxManager layer
Key: JAMES-1947
URL: https://issues.apache.org/jira/browse/JAMES-1947
Project: James Server
Issue Type: Improvement
Reporter: Quynh Nguyen
Add a method to get ApplicableFlags on MessageManager.
Provide a default implementation that fetches all messages in the mailbox to compute them.
Then implement a shortcut with Cassandra. You will need one table : (MailboxId) <-> (SystemFlags (booleans), unerFlags (Set of String)) You will update tis table upon succeeded flags update and append.
But what are applicableFlags ? It's the union of the flags of the message stored in the mailbox.
You will of course add tests for :
Your DAO
On the MessageManager layer (append and setFlags should update applicable flags)
And on combination with MessageManager (setInMailboxes and setFlags should update applicable flags)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org