package org.fanli.facade.user.service.account.msg;
|
|
import java.util.List;
|
|
import org.fanli.facade.user.entity.account.msg.MsgAccountDetail;
|
import org.fanli.facade.user.exception.account.msg.MsgAccountDetailException;
|
|
public interface MsgAccountDetailService {
|
|
/**
|
* 添加到账户消息
|
*
|
* @param detail
|
* @throws MsgAccountDetailException
|
*/
|
public void addMsgAccountDetail(MsgAccountDetail detail) throws MsgAccountDetailException;
|
|
/**
|
* 账户消息列表
|
*
|
* @param uid
|
* @param page
|
* @return
|
*/
|
public List<MsgAccountDetail> listMsgAccountDetail(Long uid, int page);
|
|
/**
|
* 账户消息数
|
*
|
* @param uid
|
* @return
|
*/
|
public long countMsgAccountDetail(Long uid);
|
|
/**
|
* 设置所有消息已读
|
*
|
* @param uid
|
*/
|
public void readMsgByUid(Long uid);
|
|
}
|