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

📄 iraadminsessionlocal.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
字号:
/* * Generated by XDoclet - Do not edit! */package org.ejbca.core.ejb.ra.raadmin;/** * Local interface for RaAdminSession. */public interface IRaAdminSessionLocal   extends javax.ejb.EJBLocalObject{   /**    * Finds the admin preference belonging to a certificate serialnumber. Returns null if admin doesn't exists.    */   public org.ejbca.core.model.ra.raadmin.AdminPreference getAdminPreference( org.ejbca.core.model.log.Admin admin,java.lang.String certificatefingerprint ) ;   /**    * Adds a admin preference to the database. Returns false if admin already exists.    */   public boolean addAdminPreference( org.ejbca.core.model.log.Admin admin,java.lang.String certificatefingerprint,org.ejbca.core.model.ra.raadmin.AdminPreference adminpreference ) ;   /**    * Changes the admin preference in the database. Returns false if admin doesn't exists.    */   public boolean changeAdminPreference( org.ejbca.core.model.log.Admin admin,java.lang.String certificatefingerprint,org.ejbca.core.model.ra.raadmin.AdminPreference adminpreference ) ;   /**    * Changes the admin preference in the database. Returns false if admin doesn't exists.    */   public boolean changeAdminPreferenceNoLog( org.ejbca.core.model.log.Admin admin,java.lang.String certificatefingerprint,org.ejbca.core.model.ra.raadmin.AdminPreference adminpreference ) ;   /**    * Checks if a admin preference exists in the database.    */   public boolean existsAdminPreference( org.ejbca.core.model.log.Admin admin,java.lang.String certificatefingerprint ) ;   /**    * Function that returns the default admin preference.    * @throws EJBException if a communication or other error occurs.    */   public org.ejbca.core.model.ra.raadmin.AdminPreference getDefaultAdminPreference( org.ejbca.core.model.log.Admin admin ) ;   /**    * Function that saves the default admin preference.    * @throws EJBException if a communication or other error occurs.    */   public void saveDefaultAdminPreference( org.ejbca.core.model.log.Admin admin,org.ejbca.core.model.ra.raadmin.AdminPreference defaultadminpreference ) ;   /**    * Adds a profile to the database.    * @param admin administrator performing task    * @param profilename readable profile name    * @param profile profile to be added    */   public void addEndEntityProfile( org.ejbca.core.model.log.Admin admin,java.lang.String profilename,org.ejbca.core.model.ra.raadmin.EndEntityProfile profile ) throws org.ejbca.core.model.ra.raadmin.EndEntityProfileExistsException;   /**    * Adds a profile to the database.    * @param admin administrator performing task    * @param profileid internal ID of new profile, use only if you know it's right.    * @param profilename readable profile name    * @param profile profile to be added    */   public void addEndEntityProfile( org.ejbca.core.model.log.Admin admin,int profileid,java.lang.String profilename,org.ejbca.core.model.ra.raadmin.EndEntityProfile profile ) throws org.ejbca.core.model.ra.raadmin.EndEntityProfileExistsException;   /**    * Adds a end entity profile to a group with the same content as the original profile.    */   public void cloneEndEntityProfile( org.ejbca.core.model.log.Admin admin,java.lang.String originalprofilename,java.lang.String newprofilename ) throws org.ejbca.core.model.ra.raadmin.EndEntityProfileExistsException;   /**    * Removes an end entity profile from the database.    * @throws EJBException if a communication or other error occurs.    */   public void removeEndEntityProfile( org.ejbca.core.model.log.Admin admin,java.lang.String profilename ) ;   /**    * Renames a end entity profile    */   public void renameEndEntityProfile( org.ejbca.core.model.log.Admin admin,java.lang.String oldprofilename,java.lang.String newprofilename ) throws org.ejbca.core.model.ra.raadmin.EndEntityProfileExistsException;   /**    * Updates profile data    */   public void changeEndEntityProfile( org.ejbca.core.model.log.Admin admin,java.lang.String profilename,org.ejbca.core.model.ra.raadmin.EndEntityProfile profile ) ;   /**    * Retrives a Collection of id:s (Integer) to authorized profiles.    */   public java.util.Collection getAuthorizedEndEntityProfileIds( org.ejbca.core.model.log.Admin admin ) ;   /**    * Method creating a hashmap mapping profile id (Integer) to profile name (String).    */   public java.util.HashMap getEndEntityProfileIdToNameMap( org.ejbca.core.model.log.Admin admin ) ;   /**    * Finds a end entity profile by id.    */   public org.ejbca.core.model.ra.raadmin.EndEntityProfile getEndEntityProfile( org.ejbca.core.model.log.Admin admin,int id ) ;   /**    * Finds a end entity profile by id.    */   public org.ejbca.core.model.ra.raadmin.EndEntityProfile getEndEntityProfile( org.ejbca.core.model.log.Admin admin,java.lang.String profilename ) ;   /**    * Returns a end entity profiles id, given it's profilename    * @return the id or 0 if profile cannot be found.    */   public int getEndEntityProfileId( org.ejbca.core.model.log.Admin admin,java.lang.String profilename ) ;   /**    * Returns a end entity profiles name given it's id.    * @return profilename or null if profile id doesn't exists.    */   public java.lang.String getEndEntityProfileName( org.ejbca.core.model.log.Admin admin,int id ) ;   /**    * Method to check if a certificateprofile exists in any of the end entity profiles. Used to avoid desyncronization of certificate profile data.    * @param certificateprofileid the certificatetype id to search for.    * @return true if certificateprofile exists in any of the end entity profiles.    */   public boolean existsCertificateProfileInEndEntityProfiles( org.ejbca.core.model.log.Admin admin,int certificateprofileid ) ;   /**    * Method to check if a CA exists in any of the end entity profiles. Used to avoid desyncronization of CA data.    * @param caid the caid to search for.    * @return true if ca exists in any of the end entity profiles.    */   public boolean existsCAInEndEntityProfiles( org.ejbca.core.model.log.Admin admin,int caid ) ;   /**    * Loads the global configuration from the database.    * @throws EJBException if a communication or other error occurs.    */   public org.ejbca.core.model.ra.raadmin.GlobalConfiguration loadGlobalConfiguration( org.ejbca.core.model.log.Admin admin ) ;   /**    * Sets the base url in the global configuration.    * @throws EJBException if a communication or other error occurs.    */   public void initGlobalConfigurationBaseURL( org.ejbca.core.model.log.Admin admin,java.lang.String computername,java.lang.String applicationpath ) ;   /**    * Saves the globalconfiguration    * @throws EJBException if a communication or other error occurs.    */   public void saveGlobalConfiguration( org.ejbca.core.model.log.Admin admin,org.ejbca.core.model.ra.raadmin.GlobalConfiguration globalconfiguration ) ;}

⌨️ 快捷键说明

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