james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gerhard" <alan.gerh...@gercom.com>
Subject RE: Repositories
Date Wed, 22 Dec 2004 12:45:17 GMT
Makes a lot of sense, and although OO purists' hearts my flutter, it is
better to move forward with a viable solution. Since file repositories need
to be carried forward, my feeling is that it be best to follow the path you
have already begun ...

-----Original Message-----
From: Jason Webb [mailto:jw@inovem.com]
File based repositories do not support 2 key IMAP requirements: They cannot
be renamed or destroyed (deleted). To be honest the rest of the issues are
just wiring. They're not trivial issues, but not show stoppers.

My opinion (currently) is that MailRepository must have two additional
.deleteRepository() and .renameRepository(String newname)
This mirrors the Java File() class in principal. However some people hav
expressed a feeling that this is not very OO, as a factory of some sort
should be responsible for this management. The issue I have with this is
that the Cornerstone repositories create themselves without the use of a
factory but after that have no additional management features other than
that you can add and delete items from the repository "bucket".

Related to this is that when you delete a user from James their mailbox
never gets deleted!

Does that make sense?

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

View raw message