--- On Thu, 1/7/10, Arjun Nair <[email protected]> wrote:
> The User Contact Information REST API
> returns, amongst other things, the Gravatar URL associated
> with the user. This URL is explicitly calculated and added
> inĀ the ContactInformationResource class. XX-5552[1]
> now adds this info to the UserPhonebook REST API. Here
> again, the Gravatar URL has to be explicitly calculated and
> added in the UserPhonebookSearchResource class. I propose
> abstracting this away to the AddressBookEntry class. Add a
> string attribute m_avatar to AddressBookEntry, and anytime
> we set an user email (AddressBookEntry.setEmailAddress), we
> calculate and set the m_avatar attribute as well.
Looks like the right place to put it
George
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/