Examples of markStepAsDone()


Examples of org.ejbca.core.model.approval.ApprovalRequest.markStepAsDone()

   */
  private void markStepAsDone(final ApprovalData approvalData, final int step) throws ApprovalRequestExpiredException {
    final ApprovalRequest ar = getApprovalRequest(approvalData);
    if (!ar.isExecutable() && approvalData.getStatus() == ApprovalDataVO.STATUS_APPROVED) {
      if (!ar.isStepDone(step)) {
        ar.markStepAsDone(step);
        setApprovalRequest(approvalData, ar);
        if (step == ar.getNumberOfApprovalSteps()-1) {
          approvalData.setStatus(ApprovalDataVO.STATUS_EXPIRED);
        }
      } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.