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 "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2017/02/28 03:39:45 UTC

[jira] [Resolved] (JAMES-1947) Implement ApplicableFlags on the mailboxManager layer

     [ https://issues.apache.org/jira/browse/JAMES-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tellier Benoit resolved JAMES-1947.
-----------------------------------
    Resolution: Fixed

Merged

> 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