summaryrefslogtreecommitdiffstats
path: root/base/common
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2013-01-30 17:57:17 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2013-02-02 02:56:25 -0500
commite12f4fe9262ad154466b68b923736da39188a549 (patch)
treea265ba3ea3e57aeeeb4259c3ae658c1928c420c9 /base/common
parent95e41dc9043a3fbbeea2abd58cca84d1442c0102 (diff)
downloadpki-e12f4fe9262ad154466b68b923736da39188a549.tar.gz
pki-e12f4fe9262ad154466b68b923736da39188a549.tar.xz
pki-e12f4fe9262ad154466b68b923736da39188a549.zip
Merged cert-request-review/approve commands.
The cert-request-approve has been merged into cert-request-review to ensure that these operations are executed in the same session. Ticket #474
Diffstat (limited to 'base/common')
-rw-r--r--base/common/src/com/netscape/certsrv/cert/CertClient.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/cert/CertClient.java b/base/common/src/com/netscape/certsrv/cert/CertClient.java
index c209bf9b8..53118aba1 100644
--- a/base/common/src/com/netscape/certsrv/cert/CertClient.java
+++ b/base/common/src/com/netscape/certsrv/cert/CertClient.java
@@ -84,6 +84,30 @@ public class CertClient extends PKIClient {
certRequestResource.approveRequest(id, data);
}
+ public void rejectRequest(RequestId id, CertReviewResponse data) {
+ certRequestResource.rejectRequest(id, data);
+ }
+
+ public void cancelRequest(RequestId id, CertReviewResponse data) {
+ certRequestResource.cancelRequest(id, data);
+ }
+
+ public void updateRequest(RequestId id, CertReviewResponse data) {
+ certRequestResource.updateRequest(id, data);
+ }
+
+ public void validateRequest(RequestId id, CertReviewResponse data) {
+ certRequestResource.validateRequest(id, data);
+ }
+
+ public void assignRequest(RequestId id, CertReviewResponse data) {
+ certRequestResource.assignRequest(id, data);
+ }
+
+ public void unassignRequest(RequestId id, CertReviewResponse data) {
+ certRequestResource.unassignRequest(id, data);
+ }
+
public CertRequestInfos listRequests(String requestState, String requestType, RequestId start, Integer pageSize,
Integer maxResults, Integer maxTime) {
return certRequestResource.listRequests(requestState, requestType, start, pageSize, maxResults, maxTime);