com.atlassian.user.impl.ldap.search.page
Class LDAPEntityPager<T extends Entity>
java.lang.Object
com.atlassian.user.search.page.AbstractPrefetchingPager<T>
com.atlassian.user.impl.ldap.search.page.AbstractLDAPPager<T>
com.atlassian.user.impl.ldap.search.page.LDAPEntityPager<T>
- All Implemented Interfaces:
- Pager<T>, Iterable<T>, Iterator<T>
- Direct Known Subclasses:
- LDAPListOfGroupsPager
public class LDAPEntityPager<T extends Entity>
- extends AbstractLDAPPager<T>
| 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 |
log
public static final org.apache.log4j.Category log
entityFactory
protected LDAPEntityFactory<? extends T extends Entity> entityFactory
LDAPEntityPager
public LDAPEntityPager(LdapSearchProperties searchProperties,
LdapContextFactory repository,
LDAPEntityFactory<? extends T> entityFactory,
LDAPPagerInfo info)
preloadSearchResult
protected List<T> preloadSearchResult(SearchResult result,
List<T> 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<T extends Entity>
- Returns:
- the
List of prefetched results.
- Throws:
EntityException
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.