1 package net.sourceforge.heracles.service;
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: Search.java<br>
12 * Description: Interface of the service layer<br>
13 * Java Version: JDK 1.5<br>
14 *
15 * @author Philipp Gantert version 1.0
16 *
17 */
18 public interface Search {
19
20 /**
21 *
22 * @param domainName
23 * String: in which domain
24 * @param where
25 * String: which attribute
26 * @param like
27 * String: which search statement
28 * @return List<LdapUser>
29 * @throws NamingException
30 * @throws HeraclesException
31 */
32 public List<LdapUser> searchInLdap(String domainName, String where, String like) throws NamingException, HeraclesException;
33
34 }