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

📄 iuserdatasourcesessionlocal.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
字号:
/* * Generated by XDoclet - Do not edit! */package org.ejbca.core.ejb.ra.userdatasource;/** * Local interface for UserDataSourceSession. */public interface IUserDataSourceSessionLocal   extends javax.ejb.EJBLocalObject{   /**    * Main method used to fetch userdata from the given user data sources See BaseUserDataSource class for further documentation about function    * @param userdatasourceids a Collection (Integer) of userdatasource Ids.    * @return Collection of UserDataSourceVO, empty if no userdata could be found.    * @see org.ejbca.core.model.ra.userdatasource.BaseUserDataSource    */   public java.util.Collection fetch( org.ejbca.core.model.log.Admin admin,java.util.Collection userdatasourceids,java.lang.String searchstring ) throws org.ejbca.core.model.ra.userdatasource.UserDataSourceException;   /**    * Test the connection to a user data source    * @param userdatasourceid the id of the userdatasource to test.    * @see org.ejbca.core.model.ra.userdatasource.BaseUserDataSource    */   public void testConnection( org.ejbca.core.model.log.Admin admin,int userdatasourceid ) throws org.ejbca.core.model.ra.userdatasource.UserDataSourceConnectionException;   /**    * Adds a user data source to the database.    * @throws UserDataSourceExistsException if user data source already exists.    * @throws EJBException if a communication or other error occurs.    */   public void addUserDataSource( org.ejbca.core.model.log.Admin admin,java.lang.String name,org.ejbca.core.model.ra.userdatasource.BaseUserDataSource userdatasource ) throws org.ejbca.core.model.ra.userdatasource.UserDataSourceExistsException;   /**    * Adds a user data source to the database. Used for importing and exporting profiles from xml-files.    * @throws UserDataSourceExistsException if user data source already exists.    * @throws EJBException if a communication or other error occurs.    */   public void addUserDataSource( org.ejbca.core.model.log.Admin admin,int id,java.lang.String name,org.ejbca.core.model.ra.userdatasource.BaseUserDataSource userdatasource ) throws org.ejbca.core.model.ra.userdatasource.UserDataSourceExistsException;   /**    * Updates user data source data    * @throws EJBException if a communication or other error occurs.    */   public void changeUserDataSource( org.ejbca.core.model.log.Admin admin,java.lang.String name,org.ejbca.core.model.ra.userdatasource.BaseUserDataSource userdatasource ) ;   /**    * Adds a user data source with the same content as the original.    * @throws UserDataSourceExistsException    * @throws UserDataSourceExistsException if user data source already exists.    * @throws EJBException if a communication or other error occurs.    */   public void cloneUserDataSource( org.ejbca.core.model.log.Admin admin,java.lang.String oldname,java.lang.String newname ) throws org.ejbca.core.model.ra.userdatasource.UserDataSourceExistsException;   /**    * Removes a user data source from the database.    * @throws EJBException if a communication or other error occurs.    */   public boolean removeUserDataSource( org.ejbca.core.model.log.Admin admin,java.lang.String name ) ;   /**    * Renames a user data source    * @throws UserDataSourceExistsException if user data source already exists.    * @throws EJBException if a communication or other error occurs.    */   public void renameUserDataSource( org.ejbca.core.model.log.Admin admin,java.lang.String oldname,java.lang.String newname ) throws org.ejbca.core.model.ra.userdatasource.UserDataSourceExistsException;   /**    * Retrives a Collection of id:s (Integer) to authorized user data sources.    * @param indicates if sources with anyca set should be included    * @return Collection of id:s (Integer)    */   public java.util.Collection getAuthorizedUserDataSourceIds( org.ejbca.core.model.log.Admin admin,boolean includeAnyCA ) ;   /**    * Method creating a hashmap mapping user data source id (Integer) to user data source name (String).    */   public java.util.HashMap getUserDataSourceIdToNameMap( org.ejbca.core.model.log.Admin admin ) ;   /**    * Retrives a named user data source.    */   public org.ejbca.core.model.ra.userdatasource.BaseUserDataSource getUserDataSource( org.ejbca.core.model.log.Admin admin,java.lang.String name ) ;   /**    * Finds a user data source by id.    */   public org.ejbca.core.model.ra.userdatasource.BaseUserDataSource getUserDataSource( org.ejbca.core.model.log.Admin admin,int id ) ;   /**    * Help method used by user data source proxys to indicate if it is time to update it's data.    */   public int getUserDataSourceUpdateCount( org.ejbca.core.model.log.Admin admin,int userdatasourceid ) ;   /**    * Returns a user data source id, given it's user data source name    * @return the id or 0 if the user data source cannot be found.    */   public int getUserDataSourceId( org.ejbca.core.model.log.Admin admin,java.lang.String name ) ;   /**    * Returns a user data source name given its id.    * @return the name or null if id doesnt exists    * @throws EJBException if a communication or other error occurs.    */   public java.lang.String getUserDataSourceName( org.ejbca.core.model.log.Admin admin,int id ) ;}

⌨️ 快捷键说明

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