james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Quynh Nguyen (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1947) Implement ApplicableFlags on the mailboxManager layer
Date Wed, 22 Feb 2017 08:08:44 GMT
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


Mime
View raw message