Class DBSearchResults
java.lang.Object
com.netscape.cmscore.dbs.DBSearchResults
- All Implemented Interfaces:
IDBSearchResults,Enumeration<Object>
A class represents the search results. A search
results object contain a enumeration of
Java objects that are just read from the database.
- Version:
- $Revision$, $Date$
- Author:
- thomask
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDBSearchResults(DBRegistry registry, Enumeration<Object> res) Constructs search results. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if any element is available.Retrieves next element.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Enumeration
asIterator
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
DBSearchResults
Constructs search results.
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()Checks if any element is available.- Specified by:
hasMoreElementsin interfaceEnumeration<Object>- Specified by:
hasMoreElementsin interfaceIDBSearchResults- Returns:
- true if there is more elements
-
nextElement
Retrieves next element.- Specified by:
nextElementin interfaceEnumeration<Object>- Specified by:
nextElementin interfaceIDBSearchResults- Returns:
- next element
-