@RemoteServiceRelativePath(value="message")
public interface MessagesService
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
void |
addUserToConversation(List<UsersChat> userList,
long idRoom) |
int |
addUserToList(UsersChat user) |
long |
createRoom() |
void |
deleteUserFromList(long idRoom) |
ChatMessages |
getMessage(long idMessage,
long idRoom) |
List<ChatMessages> |
getMessagesFromRoom(long idRoom) |
List |
getRoomFromOwner(long idUser) |
List |
getRoomsFromGuest(long idUser) |
UsersChat |
getUser() |
List<UsersChat> |
getUsersFromList() |
void |
removeUserFromList(int index) |
List<ChatMessages> |
searchMessage(long idRoom,
String string) |
String |
sendMsg(long idRoom,
String message,
String uplodaFileName,
String contentType) |
List<UsersChat> |
userList() |
int addUserToList(UsersChat user) throws IllegalArgumentException
IllegalArgumentExceptionvoid removeUserFromList(int index)
throws IllegalArgumentException
IllegalArgumentExceptionList<UsersChat> getUsersFromList() throws IllegalArgumentException
IllegalArgumentExceptionList<UsersChat> userList() throws IllegalArgumentException
IllegalArgumentExceptionlong createRoom()
throws IllegalArgumentException
IllegalArgumentExceptionList getRoomFromOwner(long idUser) throws IllegalArgumentException
IllegalArgumentExceptionList getRoomsFromGuest(long idUser) throws IllegalArgumentException
IllegalArgumentExceptionUsersChat getUser() throws IllegalArgumentException
IllegalArgumentExceptionList<ChatMessages> getMessagesFromRoom(long idRoom) throws IllegalArgumentException
IllegalArgumentExceptionString sendMsg(long idRoom, String message, String uplodaFileName, String contentType) throws IllegalArgumentException
IllegalArgumentExceptionChatMessages getMessage(long idMessage, long idRoom) throws IllegalArgumentException
IllegalArgumentExceptionvoid deleteUserFromList(long idRoom)
throws IllegalArgumentException
IllegalArgumentExceptionvoid addUserToConversation(List<UsersChat> userList, long idRoom) throws IllegalArgumentException
IllegalArgumentExceptionList<ChatMessages> searchMessage(long idRoom, String string) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2016. All Rights Reserved.