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 RequestIdprotected RequestQueueprotected RequestStatusprotected RequestRepositoryFields 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 TypeMethodDescriptionbooleanGets the next RequestId from this list.protected voidupdate()Methods inherited from class com.netscape.cmscore.request.RequestList
nextRequest, nextRequestObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
hasMoreElementsin interfaceEnumeration<RequestId>- Overrides:
hasMoreElementsin classRequestList
-
nextElement
- Specified by:
nextElementin interfaceEnumeration<RequestId>- Overrides:
nextElementin classRequestList
-
nextRequestId
Description copied from class:RequestListGets 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:
nextRequestIdin classRequestList- Returns:
- next request id
-
update
protected void update()
-