Package com.netscape.cmscore.request
Class RequestList
java.lang.Object
com.netscape.cmscore.request.RequestList
- All Implemented Interfaces:
Enumeration<RequestId>
- Direct Known Subclasses:
RequestListByStatus
,SearchEnumeration
An class providing a list of RequestIds that match
some criteria. It could be a list of all elements in a
queue, or just some defined sub-set.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets next request from the list.Gets the next RequestId from this list.Gets next request Object from the list.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
-
mEnumeration
-
-
Constructor Details
-
RequestList
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<RequestId>
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<RequestId>
-
nextRequestId
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.
- Returns:
- next request id
-
nextRequest
Gets next request from the list.- Returns:
- next request
-
nextRequestObject
Gets next request Object from the list.- Returns:
- next request
-