Package com.netscape.cms.servlet.request
Class CMSRequestDAO
- java.lang.Object
-
- com.netscape.cms.servlet.request.CMSRequestDAO
-
- Direct Known Subclasses:
KeyRequestDAO
public abstract class CMSRequestDAO extends java.lang.Object
- Author:
- alee
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_SERIALNO
protected IAuthority
authority
protected AuthzSubsystem
authz
static org.slf4j.Logger
logger
protected com.netscape.certsrv.request.IRequestQueue
queue
-
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.
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
queue
protected com.netscape.certsrv.request.IRequestQueue queue
-
authority
protected IAuthority authority
-
authz
protected AuthzSubsystem authz
-
ATTR_SERIALNO
public static final java.lang.String ATTR_SERIALNO
- See Also:
- Constant Field Values
-
-
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 filterstart
- - start position for VLV searchpageSize
- - page size for VLV searchmaxResults
- - max results to be returned in normal searchmaxTime
- - max time for normal searchuriInfo
- - 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)
-
-