Package org.apache.wookie.beans

Examples of org.apache.wookie.beans.IParticipant


        persistenceManager.save(widgetInstance);

        //
        // create a participant
        //
        IParticipant participant = persistenceManager.newInstance(IParticipant.class);
        //participant.setWidget(widget);
        participant.setSharedDataKey("test-shared-data-key");
        participant.setParticipantId("test");
        participant.setParticipantDisplayName("");
        participant.setParticipantThumbnailUrl("");
        persistenceManager.save(participant);

        //
        // commit and close persistence manager transaction
        //
View Full Code Here


   * @see org.apache.wookie.feature.wave.IWaveAPI#getHost(java.lang.String)
   */
  public String getHost(String id_key) {
    SharedContext sharedContext = this.getSharedContext(id_key);
    if (sharedContext != null){
      IParticipant host = sharedContext.getHost();
      if (host != null) return ParticipantHelper.createJSONParticipantDocument(host);
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.apache.wookie.beans.IParticipant

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.