JCR Storage structure uses files as imap folders hiding the structure and 
exposing the underlying storage to users (potentially)
--------------------------------------------------------------------------------------------------------------------------------

                 Key: IMAP-153
                 URL: https://issues.apache.org/jira/browse/IMAP-153
             Project: JAMES Imap
          Issue Type: Improvement
          Components: JCR Mailbox
    Affects Versions: 0.1
            Reporter: Ian Boston


Currently message and folder storage share the same single parent hierachy so 
that If I have 2 imap folders INBOX and  INBOX/test the JCR node structure is

.../INBOX/2010/05/31/message121231

.../INBOX.test/2010/05/31/message345345

Which results in the date structure being part of the folder and the imap 
folder not being represented as a folder. It also means that messages really 
are moved, when they are moved.

The proposed layout is to move the folders into their own hierarchy and have 
the messages in a sepeate hierachy, still one per user

so a message in JCR looks like this (my uid is ieb)

...ieb/store/2010/06/08/message121243
                                 - jamesMailboimapfolders = [
                                              a3de-34ed-2aef-2134-2e34,
                                              a3de-34ed-2aef-2134-2e35
                                   ]
                                 ....

and the folders like this
...ieb/INBOX
     - rep:uuid = a3de-34ed-2aef-2134-2e34
...ieb/INBOX/test
     - rep:uuid = a3de-34ed-2aef-2134-2e35

where jamesMailbox:imapfolders is a REFERENCE type in cnd
to list a folder, is a query
message121243 appears in both INBOX and INBOX/test


There would need to be some changes to the webdav classes/plugins to make this 
work in webdav.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to