com.atlassian.user.impl.ldap.search
Class LDAPPagerInfo
java.lang.Object
com.atlassian.user.impl.ldap.search.LDAPPagerInfo
public class LDAPPagerInfo
- extends Object
A util class which holds a NamingEnumeration and a String
representing the initial ldap search query.
We use this because the LDAPEntityPager
needs to be able to repeat the original search to preload the next com.atlassian.user.search.page.Pager@PRELOAD_LIMIT
entries, either on a call to Pager.skipTo(int) or
Pager.nextPage().
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LDAPPagerInfo
public LDAPPagerInfo(NamingEnumeration<SearchResult> enume,
net.sf.ldaptemplate.support.filter.Filter originalSearchQuery,
String originalBaseSearchContext,
boolean searchAllDepths,
String[] returningAttributes,
int timeToLive)
getNamingEnumeration
public NamingEnumeration<SearchResult> getNamingEnumeration()
getLDAPQuery
public net.sf.ldaptemplate.support.filter.Filter getLDAPQuery()
- Returns:
- a query which relates to the search result. The query itself may not be identical to the original
search query used to generate the associated naming enumeration but its evaluation will produce results which
relate to the enumeration.
getBaseSearchContext
public String getBaseSearchContext()
setLDAPQuery
public void setLDAPQuery(net.sf.ldaptemplate.support.filter.Filter relatingQuery)
isSearchAllDepths
public boolean isSearchAllDepths()
getReturningAttributes
public String[] getReturningAttributes()
getTimeToLive
public int getTimeToLive()
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.