public class LDAPQuery extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
LDAPQuery.PaginationContext |
| Constructor and Description |
|---|
LDAPQuery(LDAPStorageProvider ldapProvider) |
public LDAPQuery(LDAPStorageProvider ldapProvider)
public LDAPQuery addObjectClasses(Collection<String> objectClasses)
public LDAPQuery addReturningReadOnlyLdapAttribute(String ldapAttributeName)
public LDAPQuery addMappers(Collection<ComponentModel> mappers)
public LDAPQuery setSearchScope(int searchScope)
public String getSearchDn()
public List<ComponentModel> getMappers()
public int getSearchScope()
public int getLimit()
public int getOffset()
public LDAPQuery.PaginationContext getPaginationContext()
public List<LDAPObject> getResultList()
public LDAPObject getFirstResult()
public int getResultCount()
public LDAPQuery setOffset(int offset)
public LDAPQuery setLimit(int limit)
public LDAPQuery initPagination(LdapContext ldapContext)
public LDAPStorageProvider getLdapProvider()
public void close()
close in interface AutoCloseableCopyright © 2019 JBoss by Red Hat. All rights reserved.