9fa501c9b1178b5c1f42de3debb1d97d8006a851.svn-base 2.6 KB
package com.espeed.dao;

import java.util.List;
import com.espeed.pojo.YxySendFilterAddress;
import com.espeed.vo.PageBean;

/**
 * 程序名称:    	EspeedMail_时速邮箱
 * 程序版本:    	V1.0
 * 作    者:    	深圳市科飞时速网络技术有限公司(0755-88843776)
 * 版权所有:    	深圳市科飞时速网络技术有限公司
 * 技术支持:    	Tech@21gmail.com
 * 单元名称:     发送过滤分组地址DAO接口
 * 开始时间:    	2013.12.09
 * 程 序 员:    	谢勇
 * 最后修改:    
 * 备    注:		如需修改请通知程序员    
 */
public interface YxySendFilterAddressDao {

	/**实体插入*/
	public int addPojo(YxySendFilterAddress o)throws Exception;
	/**实体批量插入*/
	public void addPojoPi(List<YxySendFilterAddress> o)throws Exception;
	/**实体编辑*/
	public void updatePojo(YxySendFilterAddress o)throws Exception;
	/**HQL查询*/
	public List<YxySendFilterAddress> findByHql(String hql)throws Exception;
	/**HQL查询分页*/
	public List<YxySendFilterAddress> findByHqlPage(String hql,String hqlcount,PageBean pb)throws Exception;
	/**SQL查询*/
	public List<Object> findBySqlQuery(String sql)throws Exception;
	/**HQL更新*/
	public void updateByHql(String hql)throws Exception;
	
//	/**根据分类查询分组地址*/
//	public List<YxySendFilterAddress> findFilterAddressAll(int filterID,String loginid,String domain,int isready,PageBean pageBean)throws Exception;
//	
//	/**批量添加分组地址*/
//	public void addFilterAddress(List<YxySendFilterAddress> o)throws Exception;
//	
//	/**查询所有地址*/
//	public List<YxySendFilterAddress> findFilterAddress(String loginid,String domain)throws Exception;
//	/**模糊查询地址*/
//	public List<YxySendFilterAddress> findFilterAddressLike(String loginid,String domain,String value)throws Exception;
//	/**多ID删除地址*/
//	public void delFilterAddressID(String loginid,String domain,String id)throws Exception;
//	
//	/**根据地址查询*/
//	public List<YxySendFilterAddress> findFilterAddressByAddr(String loginid,String domain,String address)throws Exception;
//	/**更新地址*/
//	public void updateFilterAddress(YxySendFilterAddress o)throws Exception;
//	
//	/**查询所有分类下的地址*/
//	public List<YxySendFilterAddress> findFilterByFilterID(String loginid,String domain,String filterID)throws Exception;
//	
//	/**HQL更新与删除*/
//	public void delOrUpdateByHQL(String hql)throws Exception;
//	
//	/**根据id查询过滤地址*/
//	public List<YxySendFilterAddress> findAddressById(String loginid,String domain,String addrssID) throws Exception;
}