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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
