1 package net.sourceforge.heracles.dao; 2 3 import java.util.List; 4 5 import javax.naming.NamingException; 6 7 import net.sourceforge.heracles.model.LdapUser; 8 import net.sourceforge.heracles.utilities.HeraclesException; 9 10 /** 11 * Title: LdapQuery.java<br> 12 * Description: Interface of dao<br> 13 * Java Version: JDK 1.5<br> 14 * 15 * @author Philipp Gantert 16 * version 1.0 17 * 18 */ 19 public interface LdapQuery { 20 21 /** 22 * 23 * @param domainName 24 * @param where 25 * @param like 26 * @return List<LdapUser> 27 * @throws NamingException 28 * @throws HeraclesException 29 */ 30 public List<LdapUser> searchInLdap(String domainName,String where,String like) throws NamingException,HeraclesException ; 31 32 33 34 }