Class CMSRequestDAO

java.lang.Object
com.netscape.cms.servlet.request.CMSRequestDAO

public abstract class CMSRequestDAO extends Object
Author:
alee
  • Field Details

  • Constructor Details

    • CMSRequestDAO

      public CMSRequestDAO()
  • Method Details

    • listCMSRequests

      public CMSRequestInfos listCMSRequests(String filter, RequestId start, int pageSize, int maxTime, javax.ws.rs.core.UriInfo uriInfo) throws EBaseException
      Finds list of requests matching the specified search filter. The list is paginated and only the page matching the start and pageSize is returned.
      Parameters:
      filter - - ldap search filter
      start - - start position
      pageSize - - page size for search
      maxTime - - max time for normal search
      uriInfo - - uri context of request
      Returns:
      collection of key request info
      Throws:
      EBaseException
    • listCMSRequests

      public CMSRequestInfos listCMSRequests(String filter, 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 CMSRequestInfo createCMSRequestInfo(Request request, javax.ws.rs.core.UriInfo uriInfo)