Class RequestList

java.lang.Object
com.netscape.cmscore.request.RequestList
All Implemented Interfaces:
Enumeration<RequestId>
Direct Known Subclasses:
RequestListByStatus, SearchEnumeration

public class RequestList extends Object implements Enumeration<RequestId>
An class providing a list of RequestIds that match some criteria. It could be a list of all elements in a queue, or just some defined sub-set.
  • Field Details

  • Constructor Details

  • Method Details

    • hasMoreElements

      public boolean hasMoreElements()
      Specified by:
      hasMoreElements in interface Enumeration<RequestId>
    • nextElement

      public RequestId nextElement()
      Specified by:
      nextElement in interface Enumeration<RequestId>
    • nextRequestId

      public RequestId nextRequestId()
      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.

      Returns:
      next request id
    • nextRequest

      public Object nextRequest()
      Gets next request from the list.
      Returns:
      next request
    • nextRequestObject

      public Request nextRequestObject()
      Gets next request Object from the list.
      Returns:
      next request