Re: BasicMailboxSession (aka MessageRepository)

2006-10-29 Thread Norman Maurer
Stefano Bagnara schrieb: Joachim Draeger wrote: Am Samstag, den 28.10.2006, 18:07 +0100 schrieb Danny Angus: On 10/28/06, Joachim Draeger [EMAIL PROTECTED] wrote: Maybe we could use a logical #system name space here like #system.spam or #system.address-error. For example this could be mapped

Re: BasicMailboxSession (aka MessageRepository)

2006-10-29 Thread Joachim Draeger
Stefano Bagnara schrieb: Joachim Draeger wrote: interface MailboxService { BasicMailboxSession getBasicInboxSession(User user); /** @param user the authorized User for checking credentials @param mailboxName a logical/hierarchical mailbox name **/ BasicMailboxSession

Re: BasicMailboxSession (aka MessageRepository)

2006-10-29 Thread Joachim Draeger
Stefano Bagnara schrieb: db / dbfile / file are already logical mount points. I don't like it too much because we use this logical mountpoints for different contents (mailrepository/spoolrepository/generic db access). I think we should simply rewrite our repository store to provide a single

BasicMailboxSession (aka MessageRepository)

2006-10-28 Thread Joachim Draeger
Hi all! I guess it is wished that the API for just accessing user inboxes should stay as easy as possible. That's why I'm proposing a separate Interface that only contains core functionalities. Just like addUser has been moved from James class to UsersRepository, getUserInbox could be moved to

Re: BasicMailboxSession (aka MessageRepository)

2006-10-28 Thread Danny Angus
On 10/28/06, Joachim Draeger [EMAIL PROTECTED] wrote: Okay there is one point that is a bit more difficult: ToRepository Mailet, which accepts a url. It is used for mail that is not delivered to a user like spam or mail that can't be delivered. I guess the ability to put this repositories where

Re: BasicMailboxSession (aka MessageRepository)

2006-10-28 Thread Joachim Draeger
Am Samstag, den 28.10.2006, 18:07 +0100 schrieb Danny Angus: On 10/28/06, Joachim Draeger [EMAIL PROTECTED] wrote: Okay there is one point that is a bit more difficult: ToRepository Mailet, which accepts a url. It is used for mail that is not delivered to a user like spam or mail that

Re: BasicMailboxSession (aka MessageRepository)

2006-10-28 Thread Stefano Bagnara
Joachim Draeger wrote: Hi all! I guess it is wished that the API for just accessing user inboxes should stay as easy as possible. That's why I'm proposing a separate Interface that only contains core functionalities. Just like addUser has been moved from James class to UsersRepository,

Re: BasicMailboxSession (aka MessageRepository)

2006-10-28 Thread Stefano Bagnara
Joachim Draeger wrote: Am Samstag, den 28.10.2006, 18:07 +0100 schrieb Danny Angus: On 10/28/06, Joachim Draeger [EMAIL PROTECTED] wrote: Maybe we could use a logical #system name space here like #system.spam or #system.address-error. For example this could be mapped like: #system.* -