⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 approvaldatalocal.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
字号:
/* * Generated by XDoclet - Do not edit! */package org.ejbca.core.ejb.approval;/** * Local interface for ApprovalData. */public interface ApprovalDataLocal   extends javax.ejb.EJBLocalObject{   /**    * unique row id    */   public java.lang.Integer getId(  ) ;   /**    * For RA specific approval requests should the related end entity profile id be specified for non ra request should this field be set to ApprovalDataVO.ANY_ENDENTITYPROFILE    */   public int getEndentityprofileid(  ) ;   /**    * For CA specific approval requests should the related ca id be specified for non ca request should this field be set to ApprovalDataVO.ANY_CA    */   public int getCaid(  ) ;   /**    * Should be one of ApprovalDataVO.STATUS_WAITINGFORAPPROVAL, STATUS_APPROVED, STATUS_REJECTED, STATUS_EXPIRED    */   public int getStatus(  ) ;   /**    * Method that returns the approval data.    */   public org.ejbca.core.model.approval.ApprovalDataVO getApprovalDataVO(  ) ;   /**    * Method adds an approval to the approval data. If the number of required approvals have been reached will the request be executed and expiredate set.    * @throws ApprovalRequestExpiredException    * @throws ApprovalRequestExecutionException    * @throws ApprovalException    */   public void approve( org.ejbca.core.model.approval.Approval approval ) throws org.ejbca.core.model.approval.ApprovalRequestExpiredException, org.ejbca.core.model.approval.ApprovalRequestExecutionException, org.ejbca.core.model.approval.ApprovalException;   /**    * Method that rejects an apporval. After someone have rejected the request noone else can approve it    * @throws ApprovalRequestExpiredException    * @throws ApprovalRequestExecutionException    * @throws ApprovalException    */   public void reject( org.ejbca.core.model.approval.Approval approval ) throws org.ejbca.core.model.approval.ApprovalRequestExpiredException, org.ejbca.core.model.approval.ApprovalException;   /**    * Method used by the requestadmin to check if an approval request have been approved    * @return the number of approvals left, 0 if approved othervis is the ApprovalDataVO.STATUS constants returned indicating the statys.    * @throws ApprovalRequestExpiredException if the request or approval have expired, the status will be EXPIREDANDNOTIFIED in this case.    */   public int isApproved(  ) throws org.ejbca.core.model.approval.ApprovalRequestExpiredException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -