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

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

public class LDAPListOfGroupsPager
extends LDAPEntityPager


Field Summary
static org.apache.log4j.Category log
           
 
Fields inherited from class com.atlassian.user.impl.ldap.search.page.LDAPEntityPager
entityFactory
 
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
LDAPListOfGroupsPager(LdapContextFactory contextFactory, LDAPEntityFactory groupFactory, 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

LDAPListOfGroupsPager

public LDAPListOfGroupsPager(LdapContextFactory contextFactory,
                             LDAPEntityFactory groupFactory,
                             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 LDAPEntityPager
Throws:
EntityException


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