?? imessengerservice.java
字號(hào):
package com.briup.run.service;
import java.util.List;
import com.briup.run.common.exception.MemberServiceException;
import com.briup.run.common.exception.MessengerServiceException;
import com.briup.run.dao.bean.BlackRecord;
import com.briup.run.dao.bean.FriendRecord;
import com.briup.run.dao.bean.MessageRecord;
public interface IMessengerService {
int findUnreadedMessagesNumber(String nickname)
throws MemberServiceException;
@SuppressWarnings("unchecked")
List findNewMessages(String nickname) throws MessengerServiceException;
@SuppressWarnings("unchecked")
List findReMessages(String nickname,int start,int end) throws MessengerServiceException;
@SuppressWarnings("unchecked")
List findSeMessages(String nickname,int start,int end) throws MessengerServiceException;
String sendMessage(MessageRecord record) throws MessengerServiceException;
void delReMessage(Long id) throws MessengerServiceException;
void delSeMessage(Long id) throws MessengerServiceException;
void addFriend(FriendRecord record) throws MessengerServiceException;
@SuppressWarnings("unchecked")
List findAllFriends(String selfname,int start,int end) throws MessengerServiceException;
void delFriendByRecordId(Long recordid) throws MessengerServiceException;
void AddBlack(BlackRecord record) throws MessengerServiceException;
@SuppressWarnings("unchecked")
List findAllBlacks(String selfname,int start,int end) throws MessengerServiceException;
void delBlackByRecordId(Long recordid) throws MessengerServiceException;
MessageRecord findMessageDetail(Long messageid)
throws MessengerServiceException;
void delFriendRecord(String selfName, String friendName)
throws MessengerServiceException;
void moveToBlackList(String selfName, String blackName)
throws MessengerServiceException;
void delBlackRecord(String selfName, String blackName)
throws MessengerServiceException;
void moveToBuddyList(String selfName, String friendName)
throws MessengerServiceException;
@SuppressWarnings("unchecked")
List findAllMember(int start, int end) throws MessengerServiceException;
Integer findReMessages(String nickname) throws MessengerServiceException;
Integer findSeMessages(String nickname) throws MessengerServiceException;
Integer getAllFriendNum(String selfName) throws MessengerServiceException;
Integer getAllBlackNum(String selfName) throws MessengerServiceException;
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -