com.atlassian.user.search.page
Class PagerUtils
java.lang.Object
com.atlassian.user.search.page.PagerUtils
- public class PagerUtils
- extends java.lang.Object
Util class for making it easier to work with paging iterators
TODO: Roll these methods into an extension of the Pager interface
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
EMPTY_PAGER
public static final Pager EMPTY_PAGER
ESCAPEDCOMMA
public static final java.lang.String ESCAPEDCOMMA
- See Also:
- Constant Field Values
PagerUtils
public PagerUtils()
toList
public static java.util.List toList(Pager pager)
count
public static int count(Pager pager)
toListOfEntityNames
public static java.util.List toListOfEntityNames(Pager pager)
extractSearchResultName
public static java.lang.String extractSearchResultName(java.lang.String distinguishedName)
- For example, for cn=jsmith,dc=atlassian,dc=com this returns jsmith.
If the distinguishedName is not well formed, this will be logged and it will be returned as is
- Parameters:
distinguishedName
-
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.