org.benjp.server
Class ChatServer
java.lang.Object
org.benjp.server.ChatServer
@ApplicationScoped
public class ChatServer
- extends Object
|
Method Summary |
juzu.Response.Content |
delete(String user,
String token,
String room,
String messageId)
|
juzu.Response.Content |
edit(String user,
String token,
String room,
String messageId,
String message)
|
juzu.Response.Content |
getCreator(String user,
String token,
String room)
|
juzu.Response.Content |
getMeetingNotes(String user,
String token,
String room,
String fromTimestamp,
String toTimestamp,
String serverBase)
|
juzu.Response.Content |
getRoom(String user,
String token,
String targetUser,
String isAdmin)
|
juzu.Response.Content |
getStatistics()
|
juzu.Response.Content |
getStatus(String user,
String token,
String targetUser)
|
juzu.Response.Content |
getUsers(String user,
String token,
String room,
String filter)
|
void |
index()
|
juzu.Response.Content |
notification(String user,
String token,
String event)
|
juzu.Response.Content |
read(String user,
String token,
String room,
String fromTimestamp,
String isTextOnly)
|
juzu.Response.Content |
saveTeamRoom(String user,
String token,
String teamName,
String room,
String users)
|
juzu.Response.Content |
send(String user,
String token,
String targetUser,
String message,
String room,
String isSystem,
String options)
|
void |
sendMailWithAuth(String senderFullname,
List<String> toList,
String htmlBody,
String subject)
|
juzu.Response.Content |
sendMeetingNotes(String user,
String token,
String room,
String fromTimestamp,
String toTimestamp)
|
juzu.Response.Content |
setStatus(String user,
String token,
String status)
|
juzu.Response.Content |
toggleFavorite(String user,
String token,
String targetUser)
|
juzu.Response.Content |
updateUnreadMessages(String room,
String user,
String token)
|
juzu.Response.Content |
whoIsOnline(String user,
String token,
String filter,
String withUsers,
String withSpaces,
String withPublic,
String withOffline,
String isAdmin)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChatServer
public ChatServer()
index
public void index()
throws IOException
- Throws:
IOException
whoIsOnline
public juzu.Response.Content whoIsOnline(String user,
String token,
String filter,
String withUsers,
String withSpaces,
String withPublic,
String withOffline,
String isAdmin)
send
public juzu.Response.Content send(String user,
String token,
String targetUser,
String message,
String room,
String isSystem,
String options)
throws IOException
- Throws:
IOException
read
public juzu.Response.Content read(String user,
String token,
String room,
String fromTimestamp,
String isTextOnly)
throws IOException
- Throws:
IOException
sendMeetingNotes
public juzu.Response.Content sendMeetingNotes(String user,
String token,
String room,
String fromTimestamp,
String toTimestamp)
throws IOException
- Throws:
IOException
getMeetingNotes
public juzu.Response.Content getMeetingNotes(String user,
String token,
String room,
String fromTimestamp,
String toTimestamp,
String serverBase)
throws IOException
- Throws:
IOException
delete
public juzu.Response.Content delete(String user,
String token,
String room,
String messageId)
throws IOException
- Throws:
IOException
edit
public juzu.Response.Content edit(String user,
String token,
String room,
String messageId,
String message)
throws IOException
- Throws:
IOException
toggleFavorite
public juzu.Response.Content toggleFavorite(String user,
String token,
String targetUser)
getRoom
public juzu.Response.Content getRoom(String user,
String token,
String targetUser,
String isAdmin)
saveTeamRoom
public juzu.Response.Content saveTeamRoom(String user,
String token,
String teamName,
String room,
String users)
updateUnreadMessages
public juzu.Response.Content updateUnreadMessages(String room,
String user,
String token)
notification
public juzu.Response.Content notification(String user,
String token,
String event)
throws IOException
- Throws:
IOException
getStatus
public juzu.Response.Content getStatus(String user,
String token,
String targetUser)
setStatus
public juzu.Response.Content setStatus(String user,
String token,
String status)
getCreator
public juzu.Response.Content getCreator(String user,
String token,
String room)
getUsers
public juzu.Response.Content getUsers(String user,
String token,
String room,
String filter)
getStatistics
public juzu.Response.Content getStatistics()
sendMailWithAuth
public void sendMailWithAuth(String senderFullname,
List<String> toList,
String htmlBody,
String subject)
throws Exception
- Throws:
Exception
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.