Class RequestListByStatus
java.lang.Object
com.netscape.cmscore.request.RequestListByStatus
- All Implemented Interfaces:
IRequestList,Enumeration<RequestId>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Enumeration<RequestId> protected RequestIdprotected ARequestQueueprotected RequestStatusprotected RequestRepository -
Constructor Summary
ConstructorsConstructorDescriptionRequestListByStatus(Enumeration<RequestId> e, RequestStatus s, RequestRepository requestRepository, ARequestQueue q) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets next request from the list.Gets the next RequestId from this list.Gets next request Object from the list.protected voidupdate()Methods 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
-
mEnumeration
-
mNext
-
-
Constructor Details
-
RequestListByStatus
public RequestListByStatus(Enumeration<RequestId> e, RequestStatus s, RequestRepository requestRepository, ARequestQueue q)
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration<RequestId>
-
nextRequest
Description copied from interface:IRequestListGets next request from the list.- Specified by:
nextRequestin interfaceIRequestList- Returns:
- next request
-
nextRequestObject
Description copied from interface:IRequestListGets next request Object from the list.- Specified by:
nextRequestObjectin interfaceIRequestList- Returns:
- next request
-
nextElement
- Specified by:
nextElementin interfaceEnumeration<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
-
update
protected void update()
-