public class LDAPQuery extends Object implements AutoCloseable
static class
LDAPQuery.PaginationContext
LDAPQuery(LDAPStorageProvider ldapProvider)
LDAPQuery
addMappers(Collection<ComponentModel> mappers)
addObjectClasses(Collection<String> objectClasses)
addReturningLdapAttribute(String ldapAttributeName)
addReturningReadOnlyLdapAttribute(String ldapAttributeName)
addWhereCondition(Condition... condition)
void
close()
Set<Condition>
getConditions()
LDAPObject
getFirstResult()
LDAPStorageProvider
getLdapProvider()
int
getLimit()
List<ComponentModel>
getMappers()
Set<String>
getObjectClasses()
getOffset()
getPaginationContext()
getResultCount()
List<LDAPObject>
getResultList()
getReturningLdapAttributes()
getReturningReadOnlyLdapAttributes()
String
getSearchDn()
getSearchScope()
Set<Sort>
getSorting()
initPagination()
setLimit(int limit)
setOffset(int offset)
setSearchDn(String searchDn)
setSearchScope(int searchScope)
sortBy(Sort... sorts)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public LDAPQuery(LDAPStorageProvider ldapProvider)
public LDAPQuery addWhereCondition(Condition... condition)
public LDAPQuery sortBy(Sort... sorts)
public LDAPQuery setSearchDn(String searchDn)
public LDAPQuery addObjectClasses(Collection<String> objectClasses)
public LDAPQuery addReturningLdapAttribute(String ldapAttributeName)
public LDAPQuery addReturningReadOnlyLdapAttribute(String ldapAttributeName)
public LDAPQuery addMappers(Collection<ComponentModel> mappers)
public LDAPQuery setSearchScope(int searchScope)
public Set<Sort> getSorting()
public String getSearchDn()
public Set<String> getObjectClasses()
public Set<String> getReturningLdapAttributes()
public Set<String> getReturningReadOnlyLdapAttributes()
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() throws NamingException
NamingException
public Set<Condition> getConditions()
public LDAPStorageProvider getLdapProvider()
public void close()
close
AutoCloseable
Copyright © 2021 JBoss by Red Hat. All rights reserved.