com.atlassian.user.impl.ldap.search.page
Class LDAPSingleStringPager

java.lang.Object
  extended bycom.atlassian.user.search.page.AbstractPrefetchingPager
      extended bycom.atlassian.user.impl.ldap.search.page.AbstractLDAPPager
          extended bycom.atlassian.user.impl.ldap.search.page.LDAPSingleStringPager
All Implemented Interfaces:
java.util.Iterator, Pager
Direct Known Subclasses:
LDAPMembershipToUsernamePager

public class LDAPSingleStringPager
extends AbstractLDAPPager


Field Summary
static org.apache.log4j.Category log
           
 
Fields inherited from class com.atlassian.user.impl.ldap.search.page.AbstractLDAPPager
closed, enume, originalBaseSearchContext, originalQuery, repository, returningAttributes, searchAllDepths
 
Fields inherited from class com.atlassian.user.search.page.AbstractPrefetchingPager
idx, indexOfFirstItemInCurrentPage, lastPage
 
Fields inherited from interface com.atlassian.user.search.page.Pager
EMPTY_PAGER, NO_POSITION, PRELOAD_LIMIT
 
Constructor Summary
LDAPSingleStringPager(LdapContextFactory repository, LDAPPagerInfo info)
           
 
Method Summary
protected  java.util.List preloadSearchResult(javax.naming.directory.SearchResult result, java.util.List prefetched)
          Parses the SearchResult and stores the result in the list of prefetched items.
 
Methods inherited from class com.atlassian.user.impl.ldap.search.page.AbstractLDAPPager
fetch, preload, remove
 
Methods inherited from class com.atlassian.user.search.page.AbstractPrefetchingPager
getCurrentPage, getIndex, getIndexOfFirstItemInCurrentPage, getIndexWithinPage, hasNext, isEmpty, iterator, next, nextPage, onLastPage, preload, skipTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next
 

Field Detail

log

public static final org.apache.log4j.Category log
Constructor Detail

LDAPSingleStringPager

public LDAPSingleStringPager(LdapContextFactory repository,
                             LDAPPagerInfo info)
Method Detail

preloadSearchResult

protected java.util.List preloadSearchResult(javax.naming.directory.SearchResult result,
                                             java.util.List prefetched)
                                      throws EntityException
Description copied from class: AbstractLDAPPager
Parses the SearchResult and stores the result in the list of prefetched items.

Specified by:
preloadSearchResult in class AbstractLDAPPager
Returns:
the List of prefetched results.
Throws:
EntityException


Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.