Removed unused method in chatservice
This commit is contained in:
parent
7ff31c45ee
commit
d9bcb7f76f
@ -6,14 +6,21 @@ import java.util.List;
|
|||||||
import org.ros.chatto.dto.ChatMessageDTO;
|
import org.ros.chatto.dto.ChatMessageDTO;
|
||||||
import org.ros.chatto.dto.MessageCipherDTO;
|
import org.ros.chatto.dto.MessageCipherDTO;
|
||||||
import org.ros.chatto.dto.ReencryptionDTO;
|
import org.ros.chatto.dto.ReencryptionDTO;
|
||||||
import org.springframework.data.domain.PageRequest;
|
|
||||||
|
|
||||||
public interface ChatService {
|
public interface ChatService {
|
||||||
public ChatMessageDTO createMessage(String fromUser, String toUser, MessageCipherDTO messageCipherDTO);
|
public ChatMessageDTO createMessage(String fromUser, String toUser,
|
||||||
|
MessageCipherDTO messageCipherDTO);
|
||||||
|
|
||||||
public List<ChatMessageDTO> getAllMessages(String fromUser, String toUser);
|
public List<ChatMessageDTO> getAllMessages(String fromUser, String toUser);
|
||||||
public List<ChatMessageDTO> getMessagePage(String fromUser, String toUser, int page, int size);
|
|
||||||
public List<ChatMessageDTO> getNewMessages(String fromUser, String toUser, Date lastMessageTime);
|
public List<ChatMessageDTO> getMessagePage(String fromUser, String toUser,
|
||||||
|
int page, int size);
|
||||||
|
|
||||||
|
public List<ChatMessageDTO> getNewMessages(String fromUser, String toUser,
|
||||||
|
Date lastMessageTime);
|
||||||
|
|
||||||
public void reencryptMessages(List<ReencryptionDTO> reencryptionDTOs);
|
public void reencryptMessages(List<ReencryptionDTO> reencryptionDTOs);
|
||||||
public List<ReencryptionDTO> getAllMessagesForReencryption(String fromUser, String toUser);
|
|
||||||
public List<ChatMessageDTO> getAllMessages(String name, String userName, PageRequest pageRequest);
|
public List<ReencryptionDTO> getAllMessagesForReencryption(String fromUser,
|
||||||
|
String toUser);
|
||||||
}
|
}
|
||||||
|
@ -102,10 +102,4 @@ public class ChatServiceImpl implements ChatService {
|
|||||||
messageCipherRepository.saveAll(messageCiphers);
|
messageCipherRepository.saveAll(messageCiphers);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<ChatMessageDTO> getAllMessages(final String name,
|
|
||||||
final String userName, final PageRequest pageRequest) {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user