Class CMSRequestDAO

  • Direct Known Subclasses:
    KeyRequestDAO

    public abstract class CMSRequestDAO
    extends java.lang.Object
    Author:
    alee
    • Constructor Summary

      Constructors 
      Constructor Description
      CMSRequestDAO​(java.lang.String authorityName)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract com.netscape.certsrv.request.CMSRequestInfo createCMSRequestInfo​(com.netscape.certsrv.request.IRequest request, javax.ws.rs.core.UriInfo uriInfo)  
      com.netscape.certsrv.request.CMSRequestInfos listCMSRequests​(java.lang.String filter, com.netscape.certsrv.request.RequestId start, int pageSize, int maxResults, int maxTime, javax.ws.rs.core.UriInfo uriInfo)
      Finds list of requests matching the specified search filter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
      • queue

        protected com.netscape.certsrv.request.IRequestQueue queue
    • Constructor Detail

      • CMSRequestDAO

        public CMSRequestDAO​(java.lang.String authorityName)
    • Method Detail

      • listCMSRequests

        public com.netscape.certsrv.request.CMSRequestInfos listCMSRequests​(java.lang.String filter,
                                                                            com.netscape.certsrv.request.RequestId start,
                                                                            int pageSize,
                                                                            int maxResults,
                                                                            int maxTime,
                                                                            javax.ws.rs.core.UriInfo uriInfo)
                                                                     throws EBaseException
        Finds list of requests matching the specified search filter. If the filter corresponds to a VLV search, then that search is executed and the pageSize and start parameters are used. Otherwise, the maxResults and maxTime parameters are used in the regularly indexed search.
        Parameters:
        filter - - ldap search filter
        start - - start position for VLV search
        pageSize - - page size for VLV search
        maxResults - - max results to be returned in normal search
        maxTime - - max time for normal search
        uriInfo - - uri context of request
        Returns:
        collection of key request info
        Throws:
        EBaseException
      • createCMSRequestInfo

        protected abstract com.netscape.certsrv.request.CMSRequestInfo createCMSRequestInfo​(com.netscape.certsrv.request.IRequest request,
                                                                                            javax.ws.rs.core.UriInfo uriInfo)