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 Jason Webb <jw...@inovem.com> on 2004/07/06 10:10:41 UTC

User attribute support and API changes

Some thoughts and notes on implementing the changes required for user
attributes.

I have added a new interface into the mailet API called AttributeSupport.
This interface defines the methods for accessing attributes that is common
to both User and Mail. Therefore User and Mail now implement
AttributeSupport.

The <file> UserRepository is simple, thanks to Avalon et al.
The <db> UserRepository is a bit more complex. I have deliberately followed
the same model as the Mail repository so that when BLOBS are referenced they
are done in isolation, so to get all the attributes I will need to do 2
selects. This is much the same way that Mail works so I'm not inclined to
change it.

-- Jason  


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