Package com.netscape.cmscore.request
Class RequestListByStatus
java.lang.Object
com.netscape.cmscore.request.RequestList
com.netscape.cmscore.request.RequestListByStatus
- All Implemented Interfaces:
Enumeration<RequestId>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RequestId
protected RequestQueue
protected RequestStatus
protected RequestRepository
Fields inherited from class com.netscape.cmscore.request.RequestList
mEnumeration
-
Constructor Summary
ConstructorsConstructorDescriptionRequestListByStatus
(Enumeration<RequestId> e, RequestStatus s, RequestRepository requestRepository, RequestQueue q) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the next RequestId from this list.protected void
update()
Methods inherited from class com.netscape.cmscore.request.RequestList
nextRequest, nextRequestObject
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
-
mStatus
-
requestRepository
-
mQueue
-
mNext
-
-
Constructor Details
-
RequestListByStatus
public RequestListByStatus(Enumeration<RequestId> e, RequestStatus s, RequestRepository requestRepository, RequestQueue q)
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<RequestId>
- Overrides:
hasMoreElements
in classRequestList
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<RequestId>
- Overrides:
nextElement
in classRequestList
-
nextRequestId
Description copied from class:RequestList
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.
- Overrides:
nextRequestId
in classRequestList
- Returns:
- next request id
-
update
protected void update()
-