org.benjp.portlet.chat
Class ChatApplication
java.lang.Object
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 |
createEvent(String space,
String summary,
String startDate,
String startTime,
String endDate,
String endTime)
|
juzu.Response.Content |
createTask(String username,
String dueDate,
String task)
|
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)
|
juzu.Response.Content |
saveWiki(String targetFullname,
String content)
|
protected void |
setAsAdmin(String username,
boolean isAdmin)
|
juzu.Response.Content |
upload(String room,
String targetUser,
String targetFullname,
org.apache.commons.fileupload.FileItem userfile,
juzu.request.ResourceContext resourceContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChatApplication
@Inject
public ChatApplication(org.exoplatform.services.organization.OrganizationService organizationService,
org.exoplatform.social.core.space.spi.SpaceService spaceService)
index
public juzu.Response.Content index(juzu.request.RenderContext renderContext)
maintainSession
public juzu.Response.Content maintainSession()
initChatProfile
public juzu.Response.Content initChatProfile()
upload
public juzu.Response.Content upload(String room,
String targetUser,
String targetFullname,
org.apache.commons.fileupload.FileItem userfile,
juzu.request.ResourceContext resourceContext)
createTask
public juzu.Response.Content createTask(String username,
String dueDate,
String task)
createEvent
public juzu.Response.Content createEvent(String space,
String summary,
String startDate,
String startTime,
String endDate,
String endTime)
saveWiki
public juzu.Response.Content saveWiki(String targetFullname,
String content)
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.