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

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
              extended bycom.atlassian.user.impl.ldap.search.page.LDAPMembershipToUsernamePager
All Implemented Interfaces:
java.util.Iterator, Pager

public class LDAPMembershipToUsernamePager
extends LDAPSingleStringPager


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
LDAPMembershipToUsernamePager(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

LDAPMembershipToUsernamePager

public LDAPMembershipToUsernamePager(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.

Overrides:
preloadSearchResult in class LDAPSingleStringPager
Throws:
EntityException


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