Package com.netscape.cmscore.dbs
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 TypeMethodDescriptionboolean
Checks 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, wait
Methods 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:
hasMoreElements
in interfaceEnumeration<Object>
- Specified by:
hasMoreElements
in interfaceIDBSearchResults
- Returns:
- true if there is more elements
-
nextElement
Retrieves next element.- Specified by:
nextElement
in interfaceEnumeration<Object>
- Specified by:
nextElement
in interfaceIDBSearchResults
- Returns:
- next element
-