[ 
https://issues.apache.org/jira/browse/WOOKIE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051729#comment-13051729
 ] 

Scott Wilson commented on WOOKIE-66:
------------------------------------

One way we could do this is to add an API method that would allow the connector 
to set the host/owner which we then store somewhere. 

Another is to add an optional "isOwner" or "isHost" property for Participant. 
So potentially all the Participants in a shared data context may be 
owners/hosts.

> Implement getHost() method of Wave feature
> ------------------------------------------
>
>                 Key: WOOKIE-66
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-66
>             Project: Wookie
>          Issue Type: Task
>          Components: Server
>            Reporter: Scott Wilson
>             Fix For: 0.9.1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to