Package com.netscape.cmscore.request
Class SearchEnumeration
- java.lang.Object
-
- com.netscape.cmscore.request.SearchEnumeration
-
- All Implemented Interfaces:
IRequestList,java.util.Enumeration<RequestId>
public class SearchEnumeration extends java.lang.Object implements IRequestList
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Loggerloggerprotected IDBSearchResultsresults
-
Constructor Summary
Constructors Constructor Description SearchEnumeration(IDBSearchResults results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasMoreElements()RequestIdnextElement()java.lang.ObjectnextRequest()Gets next request from the list.RequestIdnextRequestId()Gets the next RequestId from this list.IRequestnextRequestObject()Gets next request Object from the list.
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
results
protected IDBSearchResults results
-
-
Constructor Detail
-
SearchEnumeration
public SearchEnumeration(IDBSearchResults results)
-
-
Method Detail
-
nextRequestId
public RequestId nextRequestId()
Description copied from interface:IRequestListGets the next RequestId from this list. null is returned when there are no more elements in the list.Callers should be sure there is another element in the list by calling hasMoreElements first.
- Specified by:
nextRequestIdin interfaceIRequestList- Returns:
- next request id
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElementsin interfacejava.util.Enumeration<RequestId>
-
nextElement
public RequestId nextElement()
- Specified by:
nextElementin interfacejava.util.Enumeration<RequestId>
-
nextRequest
public java.lang.Object nextRequest()
Description copied from interface:IRequestListGets next request from the list.- Specified by:
nextRequestin interfaceIRequestList- Returns:
- next request
-
nextRequestObject
public IRequest nextRequestObject()
Description copied from interface:IRequestListGets next request Object from the list.- Specified by:
nextRequestObjectin interfaceIRequestList- Returns:
- next request
-
-