com.atlassian.user.impl.ldap.search
Class LDAPPagerInfo
java.lang.Object
com.atlassian.user.impl.ldap.search.LDAPPagerInfo
- public class LDAPPagerInfo
- extends java.lang.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()
.
Constructor Summary |
LDAPPagerInfo(javax.naming.NamingEnumeration enume,
net.sf.ldaptemplate.support.filter.Filter originalSearchQuery,
java.lang.String originalBaseSearchContext,
boolean searchAllDepths,
java.lang.String[] returningAttributes,
int timeToLive)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LDAPPagerInfo
public LDAPPagerInfo(javax.naming.NamingEnumeration enume,
net.sf.ldaptemplate.support.filter.Filter originalSearchQuery,
java.lang.String originalBaseSearchContext,
boolean searchAllDepths,
java.lang.String[] returningAttributes,
int timeToLive)
getNamingEnumeration
public javax.naming.NamingEnumeration 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 java.lang.String getBaseSearchContext()
setLDAPQuery
public void setLDAPQuery(net.sf.ldaptemplate.support.filter.Filter relatingQuery)
isSearchAllDepths
public boolean isSearchAllDepths()
getReturningAttributes
public java.lang.String[] getReturningAttributes()
getTimeToLive
public int getTimeToLive()
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.