Package com.netscape.cmscore.request
Class RequestListByStatus
- java.lang.Object
-
- com.netscape.cmscore.request.RequestListByStatus
-
- All Implemented Interfaces:
IRequestList
,java.util.Enumeration<RequestId>
public class RequestListByStatus extends java.lang.Object implements IRequestList
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Enumeration<RequestId>
mEnumeration
protected RequestId
mNext
protected ARequestQueue
mQueue
protected RequestStatus
mStatus
protected RequestRepository
requestRepository
-
Constructor Summary
Constructors Constructor Description RequestListByStatus(java.util.Enumeration<RequestId> e, RequestStatus s, RequestRepository requestRepository, ARequestQueue q)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
RequestId
nextElement()
java.lang.Object
nextRequest()
Gets next request from the list.RequestId
nextRequestId()
Gets the next RequestId from this list.IRequest
nextRequestObject()
Gets next request Object from the list.protected void
update()
-
-
-
Field Detail
-
mStatus
protected RequestStatus mStatus
-
requestRepository
protected RequestRepository requestRepository
-
mQueue
protected ARequestQueue mQueue
-
mEnumeration
protected java.util.Enumeration<RequestId> mEnumeration
-
mNext
protected RequestId mNext
-
-
Constructor Detail
-
RequestListByStatus
public RequestListByStatus(java.util.Enumeration<RequestId> e, RequestStatus s, RequestRepository requestRepository, ARequestQueue q)
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfacejava.util.Enumeration<RequestId>
-
nextRequest
public java.lang.Object nextRequest()
Description copied from interface:IRequestList
Gets next request from the list.- Specified by:
nextRequest
in interfaceIRequestList
- Returns:
- next request
-
nextRequestObject
public IRequest nextRequestObject()
Description copied from interface:IRequestList
Gets next request Object from the list.- Specified by:
nextRequestObject
in interfaceIRequestList
- Returns:
- next request
-
nextElement
public RequestId nextElement()
- Specified by:
nextElement
in interfacejava.util.Enumeration<RequestId>
-
nextRequestId
public 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()
-
-