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.Logger
logger
protected IDBSearchResults
results
-
Constructor Summary
Constructors Constructor Description SearchEnumeration(IDBSearchResults results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
RequestId
nextElement()
java.lang.Object
nextRequest()
Gets next request from the list.RequestId
nextRequestId()
Gets the next RequestId from this list.IRequest
nextRequestObject()
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:IRequestList
Gets 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:
nextRequestId
in interfaceIRequestList
- Returns:
- next request id
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfacejava.util.Enumeration<RequestId>
-
nextElement
public RequestId nextElement()
- Specified by:
nextElement
in interfacejava.util.Enumeration<RequestId>
-
nextRequest
public java.lang.Object nextRequest()
Description copied from interface:IRequestList
Gets next request from the list.- Specified by:
nextRequest
in interfaceIRequestList
- Returns:
- next request
-
nextRequestObject
public IRequest nextRequestObject()
Description copied from interface:IRequestList
Gets next request Object from the list.- Specified by:
nextRequestObject
in interfaceIRequestList
- Returns:
- next request
-
-