9d2ed52e4af5b71b6d998b054cb14d6284ea3f29.svn-base 1.1 KB
package com.espeed.service;

import java.util.List;

import com.espeed.pojo.YxySendFilterAddress;
import com.espeed.vo.PageBean;

public interface YxySendFilterAddressService {

	/**条件查询过滤地址*/
	public List<YxySendFilterAddress> findByCondition(String loginid,String domain,int condition,String conditionvalue,PageBean pb)throws Exception;
	
	/**根据类别ID查询过滤地址对象*/
	public List<YxySendFilterAddress> findByTypeId(int typeid)throws Exception;
	
	/**根据类别ID查询过滤地址*/
	public List<Object> findByTypeidAddress(int typeid)throws Exception;
	
	/**查询已存在的地址*/
	public List<Object> findIsExits(String loginid,String domain)throws Exception;
	
	/**循环插入过滤地址*/
	public void addFilterAddressPi(List<YxySendFilterAddress> list)throws Exception;
	
	/**删除所选过滤地址*/
	public void delFilterAddress(String addressstr)throws Exception;
	
	/**过滤地址是否存在*/
	public int findIsExits(String loginid, String domain,String address)throws Exception;
	
	/**编辑过滤地址*/
	public void updateFilterAddress(YxySendFilterAddress o)throws Exception;
}