public class MessagesServiceImpl extends de.novanic.eventservice.service.RemoteEventServiceServlet implements MessagesService
| Constructor and Description |
|---|
MessagesServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUserToConversation(List<UsersChat> userList,
long idRoom) |
int |
addUserToList(UsersChat user) |
long |
createRoom() |
void |
deleteUserFromList(long idRoom) |
String |
getDevelopmentUser() |
ChatMessages |
getMessage(long idMessage,
long idRoomSelected) |
List<ChatMessages> |
getMessagesFromRoom(long idRoom) |
List<ChatRoom> |
getRoomFromOwner(long idUser) |
List<ChatRoom> |
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() |
addEvent, addEventUserSpecific, checkPermutationStrongName, getEventFilter, getRequest, isUserRegistered, isUserRegistered, removeEventFilter, setEventFilterdoGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String TEST_USER
public String getDevelopmentUser()
public UsersChat getUser() throws IllegalArgumentException
getUser in interface MessagesServiceIllegalArgumentExceptionpublic int addUserToList(UsersChat user) throws IllegalArgumentException
addUserToList in interface MessagesServiceIllegalArgumentExceptionpublic void removeUserFromList(int index)
throws IllegalArgumentException
removeUserFromList in interface MessagesServiceIllegalArgumentExceptionpublic List<UsersChat> getUsersFromList() throws IllegalArgumentException
getUsersFromList in interface MessagesServiceIllegalArgumentExceptionpublic List<UsersChat> userList() throws IllegalArgumentException
userList in interface MessagesServiceIllegalArgumentExceptionpublic long createRoom()
throws IllegalArgumentException
createRoom in interface MessagesServiceIllegalArgumentExceptionpublic List<ChatRoom> getRoomFromOwner(long idUser) throws IllegalArgumentException
getRoomFromOwner in interface MessagesServiceIllegalArgumentExceptionpublic List<ChatRoom> getRoomsFromGuest(long idUser) throws IllegalArgumentException
getRoomsFromGuest in interface MessagesServiceIllegalArgumentExceptionpublic List<ChatMessages> getMessagesFromRoom(long idRoom) throws IllegalArgumentException
getMessagesFromRoom in interface MessagesServiceIllegalArgumentExceptionpublic String sendMsg(long idRoom, String message, String uplodaFileName, String contentType) throws IllegalArgumentException
sendMsg in interface MessagesServiceIllegalArgumentExceptionpublic ChatMessages getMessage(long idMessage, long idRoomSelected) throws IllegalArgumentException
getMessage in interface MessagesServiceIllegalArgumentExceptionpublic void deleteUserFromList(long idRoom)
throws IllegalArgumentException
deleteUserFromList in interface MessagesServiceIllegalArgumentExceptionpublic void addUserToConversation(List<UsersChat> userList, long idRoom) throws IllegalArgumentException
addUserToConversation in interface MessagesServiceIllegalArgumentExceptionpublic List<ChatMessages> searchMessage(long idRoom, String string) throws IllegalArgumentException
searchMessage in interface MessagesServiceIllegalArgumentExceptionCopyright © 2016. All Rights Reserved.