IEmailDao.java
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:1k
源码类别:
Jsp/Servlet
开发平台:
Java
- package com.oa.module.email.dao;
- import java.util.List;
- import com.oa.module.email.bean.ReceiveLetterBean;
- import com.oa.module.email.form.EmailForm;
- import com.oa.module.email.mapping.Tmailinfo;
- import com.oa.util.XPage;
- /**
- * 邮件dao接口
- * @author admin
- *
- */
- public interface IEmailDao {
- //根据条件得到分页的邮件列表
- public XPage getEmailList(int currentPage, int count, ReceiveLetterBean bean);
- //根据emailid得到email
- public Tmailinfo getEmailByEmailid(String emailid);
- //修改email状态状态
- public boolean UpdateEmail(EmailForm emailForm, int i);
- //添加邮件
- public boolean addEamil(Tmailinfo mail);
- //删除邮件
- public boolean delemail(String emailid);
- //得到邮件是否已经读取的类小
- public XPage getIsReadList(int currentpage, int count, ReceiveLetterBean bean);
- //得到用户的黑名单记录
- public List getBlackListById(String uno);
- //获取用户(转发邮件)
- public List getUserList(String id);
- }