Package com.netscape.cmscore.request
Class RequestListByStatus
java.lang.Object
com.netscape.cmscore.request.RequestListByStatus
- All Implemented Interfaces:
IRequestList
,Enumeration<RequestId>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Enumeration<RequestId>
protected RequestId
protected RequestQueue
protected RequestStatus
protected RequestRepository
-
Constructor Summary
ConstructorsConstructorDescriptionRequestListByStatus
(Enumeration<RequestId> e, RequestStatus s, RequestRepository requestRepository, RequestQueue q) -
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.protected void
update()
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
-
mEnumeration
-
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>
-
nextRequest
Description copied from interface:IRequestList
Gets next request from the list.- Specified by:
nextRequest
in interfaceIRequestList
- Returns:
- next request
-
nextRequestObject
Description copied from interface:IRequestList
Gets next request Object from the list.- Specified by:
nextRequestObject
in interfaceIRequestList
- Returns:
- next request
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<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
-
update
protected void update()
-