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 "Eric Charles (JIRA)" <ji...@apache.org> on 2011/04/29 13:34:03 UTC

[jira] [Updated] (MAILBOX-61) Merge MailboxMembership and Message interfaces and implementation

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

Eric Charles updated MAILBOX-61:
--------------------------------

    Attachment: db-schema-after-refactoring.png

Attached the relations after refactoring.

With http://svn.apache.org/viewvc?rev=1097708&view=rev, we have cascade delete for Mailbox. This means that a DELETE FROM Mailbox where mailbox_ID=... will delete all mails.

I think (not sure) that this was not the case before.

This is good if the API prevents to delete a mailbox and all its mails by error (so check if mails exists, and warn user that mailbox is not empty).


> Merge MailboxMembership and Message interfaces and implementation
> -----------------------------------------------------------------
>
>                 Key: MAILBOX-61
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-61
>             Project: James Mailbox
>          Issue Type: Task
>          Components: jcr mailbox, jpa mailbox, maildir mailbox, store
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.2
>
>         Attachments: db-schema-after-refactoring.png
>
>
> At the moment we have the MailboxMembership and the Message interfaces to represend a Message which is stored in a Mailbox. This makes things more complex as they should be without any gain. We should better merge this two interfaces and the implementations. 
> Special care need to get taken for the JPA implementation as we need some kind of "migration script" here.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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