package org.fanli.facade.user.service.invite.msg;
|
|
import java.util.List;
|
|
import org.fanli.facade.user.entity.invite.ThreeSale;
|
import org.fanli.facade.user.entity.invite.msg.MsgInviteDetail;
|
import org.fanli.facade.user.exception.invite.msg.MsgInviteDetailException;
|
|
public interface MsgInviteDetailService {
|
/**
|
* 添加到邀请消息
|
*
|
* @param detail
|
* @throws MsgInviteDetailException
|
*/
|
public void addMsgInviteDetail(MsgInviteDetail detail) throws MsgInviteDetailException;
|
|
/**
|
* 账户消息列表
|
*
|
* @param uid
|
* @param page
|
* @return
|
*/
|
public List<MsgInviteDetail> listMsgInviteDetail(Long uid, int page);
|
|
/**
|
* 账户消息数
|
*
|
* @param uid
|
* @return
|
*/
|
public long countMsgInviteDetail(Long uid);
|
|
/**
|
* 设置所有消息已读
|
*
|
* @param uid
|
*/
|
public void readMsgByUid(Long uid);
|
|
/**
|
* 根据邀请关系ID删除
|
*
|
* @param sale
|
*/
|
public void deleteByThreeSale(ThreeSale sale);
|
}
|