Description
The Wave Gadget API has a getHost() feature that returns the participant that added the gadget to the context. Currently this is not implemented; however it is a useful feature that ought to be implemented.
This could be done by:
- adding a "role" property to the Participant bean with getter and setter
- adding findHosts(WidgetInstance) static method to Participant
- updating the database scripts
In many contexts there can be multiple participants with an "owner" or certainly a "manager" role, and we should consider how we might want to expose this functionality in the future