org.benjp.portlet.chat
Class ChatApplication

java.lang.Object
  extended by org.benjp.portlet.chat.ChatApplication

public class ChatApplication
extends Object


Constructor Summary
ChatApplication(org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.social.core.space.spi.SpaceService spaceService)
           
 
Method Summary
protected  void addUser(String remoteUser, String token)
           
 juzu.Response.Content createDemoUser(String fullname, String email, String isPublic)
           
 juzu.Response.Content index(juzu.request.RenderContext renderContext)
           
 juzu.Response.Content initChatProfile()
           
 juzu.Response.Content maintainSession()
           
protected  void saveDemoSpace(String username)
           
protected  String saveFullNameAndEmail(String username)
           
protected  void saveSpaces(String username)
           
protected  void setAsAdmin(String username, boolean isAdmin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatApplication

@Inject
public ChatApplication(org.exoplatform.services.organization.OrganizationService organizationService,
                              org.exoplatform.social.core.space.spi.SpaceService spaceService)
Method Detail

index

public juzu.Response.Content index(juzu.request.RenderContext renderContext)

maintainSession

public juzu.Response.Content maintainSession()

initChatProfile

public juzu.Response.Content initChatProfile()

createDemoUser

public juzu.Response.Content createDemoUser(String fullname,
                                            String email,
                                            String isPublic)

addUser

protected void addUser(String remoteUser,
                       String token)

saveFullNameAndEmail

protected String saveFullNameAndEmail(String username)

setAsAdmin

protected void setAsAdmin(String username,
                          boolean isAdmin)

saveSpaces

protected void saveSpaces(String username)

saveDemoSpace

protected void saveDemoSpace(String username)


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.