Project Aristotle - ArisID Attribute Services

org.openliberty.arisidbeans
Class SearchResults<E extends IGFObject>

java.lang.Object
  extended by org.openliberty.arisidbeans.SearchResults<E>

public class SearchResults<E extends IGFObject>
extends java.lang.Object

SearchResults is a class containing methods that are generic to any search interaction Sample call is as follows: HashMap map = new HashMap(); map.put("pageSize", "2"); SearchResults sr = userManager.searchUsers(attrFilter,map); while(sr.hasMore()) { List list = Listsr.getNextSet(); }


Constructor Summary
SearchResults(IGFObjectManager manager_obj, IResultSet i_rs, java.lang.Class clz, int set_size)
           
 
Method Summary
 void close()
           
 void finalize()
           
 java.util.List<E> getNextSet()
           
 boolean hasMore()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResults

public SearchResults(IGFObjectManager manager_obj,
                     IResultSet i_rs,
                     java.lang.Class clz,
                     int set_size)
Method Detail

hasMore

public boolean hasMore()

getNextSet

public java.util.List<E> getNextSet()
                                               throws IDBeanException
Throws:
IDBeanException

close

public void close()

finalize

public void finalize()
              throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

OpenLiberty.org - Licensed under Apache APL 2.0