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: [email protected]
For additional commands, e-mail: [email protected]