1 17 package org.apache.ldap.server.db; 18 19 20 import org.apache.ldap.common.filter.ExprNode; 21 22 import javax.naming.Name ; 23 import javax.naming.NamingEnumeration ; 24 import javax.naming.NamingException ; 25 import javax.naming.directory.SearchControls ; 26 import java.math.BigInteger ; 27 import java.util.Map ; 28 29 30 37 public interface SearchEngine 38 { 39 43 String ALIASMODE_KEY = "java.naming.ldap.derefAliases"; 44 48 String ALWAYS = "always"; 49 53 String NEVER = "never"; 54 58 String FINDING = "finding"; 59 63 String SEARCHING = "searching"; 64 65 70 Optimizer getOptimizer(); 71 72 82 NamingEnumeration search( Name base, Map env, ExprNode filter, 83 SearchControls searchCtls ) throws NamingException ; 84 85 93 boolean evaluate( ExprNode filter, BigInteger id ) throws NamingException ; 94 } | Popular Tags |