ihardtokenbatchjobsessionremote.java

来自「一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考」· Java 代码 · 共 58 行

JAVA
58
字号
/* * Generated by XDoclet - Do not edit! */package org.ejbca.core.ejb.hardtoken;/** * Remote interface for HardTokenBatchJobSession. */public interface IHardTokenBatchJobSessionRemote   extends javax.ejb.EJBObject{   /**    * Returns the next user scheduled for batch generation for the given issuer.    * @param admin the administrator performing the actions    * @return The next user to generate or NULL if there are no users i queue.    * @throws EJBException if a communication or other error occurs.    */   public org.ejbca.core.model.ra.UserDataVO getNextHardTokenToGenerate( org.ejbca.core.model.log.Admin admin,java.lang.String alias )      throws org.ejbca.core.model.hardtoken.UnavailableTokenException, java.rmi.RemoteException;   /**    * Returns a Collection of users scheduled for batch generation for the given issuer. A maximum of MAX_RETURNED_QUEUE_SIZE users will be returned by call.    * @param admin the administrator performing the actions    * @return A Collection of users to generate or NULL if there are no users i queue.    * @throws EJBException if a communication or other error occurs.    */   public java.util.Collection getNextHardTokensToGenerate( org.ejbca.core.model.log.Admin admin,java.lang.String alias )      throws org.ejbca.core.model.hardtoken.UnavailableTokenException, java.rmi.RemoteException;   /**    * Returns the indexed user in queue scheduled for batch generation for the given issuer.    * @param admin the administrator performing the actions    * @param index index in queue of user to retrieve.    * @return The next token to generate or NULL if the given user doesn't exist in queue.    * @throws EJBException if a communication or other error occurs.    */   public org.ejbca.core.model.ra.UserDataVO getNextHardTokenToGenerateInQueue( org.ejbca.core.model.log.Admin admin,java.lang.String alias,int index )      throws org.ejbca.core.model.hardtoken.UnavailableTokenException, java.rmi.RemoteException;   /**    * Returns the number of users scheduled for batch generation for the given issuer.    * @param admin the administrator performing the actions    * @return the number of users to generate.    * @throws EJBException if a communication or other error occurs.    */   public int getNumberOfHardTokensToGenerate( org.ejbca.core.model.log.Admin admin,java.lang.String alias )      throws java.rmi.RemoteException;   /**    * Methods that checks if a user exists in the database having the given hard token issuer id. This function is mainly for avoiding desyncronisation when a hard token issuer is deleted.    * @param hardtokenissuerid the id of hard token issuer to look for.    * @return true if hardtokenissuerid exists in userdatabase.    */   public boolean checkForHardTokenIssuerId( org.ejbca.core.model.log.Admin admin,int hardtokenissuerid )      throws java.rmi.RemoteException;}

⌨️ 快捷键说明

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