Spring LDAP Framework

org.springframework.ldap.control
Class PagedResult

java.lang.Object
  extended by org.springframework.ldap.control.PagedResult

public class PagedResult
extends Object

Bean to encapsulate a result List and a PagedResultsCookie to use for returning the results when using PagedResultsRequestControl.

Author:
Mattias Hellborg Arthursson, Ulrik Sandberg

Constructor Summary
PagedResult(List resultList, PagedResultsCookie cookie)
          Constructs a PagedResults using the supplied List and PagedResultsCookie.
 
Method Summary
 boolean equals(Object obj)
           
 PagedResultsCookie getCookie()
          Get the cookie.
 List getResultList()
          Get the result list.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagedResult

public PagedResult(List resultList,
                   PagedResultsCookie cookie)
Constructs a PagedResults using the supplied List and PagedResultsCookie.

Parameters:
resultList - the result list.
cookie - the cookie.
Method Detail

getCookie

public PagedResultsCookie getCookie()
Get the cookie.

Returns:
the cookie.

getResultList

public List getResultList()
Get the result list.

Returns:
the result list.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Spring LDAP Framework

Copyright © 2005-2010 The Spring LDAP Framework. All Rights Reserved.