📄 iservicesessionlocal.java
字号:
/* * Generated by XDoclet - Do not edit! */package org.ejbca.core.ejb.services;/** * Local interface for ServiceSession. */public interface IServiceSessionLocal extends javax.ejb.EJBLocalObject{ /** * Adds a Service to the database. * @throws ServiceExistsException if service already exists. * @throws EJBException if a communication or other error occurs. */ public void addService( org.ejbca.core.model.log.Admin admin,java.lang.String name,org.ejbca.core.model.services.ServiceConfiguration serviceConfiguration ) throws org.ejbca.core.model.services.ServiceExistsException; /** * Adds a service to the database. Used for importing and exporting profiles from xml-files. * @throws ServiceExistsException if service already exists. * @throws EJBException if a communication or other error occurs. */ public void addService( org.ejbca.core.model.log.Admin admin,int id,java.lang.String name,org.ejbca.core.model.services.ServiceConfiguration serviceConfiguration ) throws org.ejbca.core.model.services.ServiceExistsException; /** * Updates service configuration, but does not re-set the timer * @throws EJBException if a communication or other error occurs. */ public void changeService( org.ejbca.core.model.log.Admin admin,java.lang.String name,org.ejbca.core.model.services.ServiceConfiguration serviceConfiguration ) ; /** * Adds a service with the same content as the original. * @throws ServiceExistsException if service already exists. * @throws EJBException if a communication or other error occurs. */ public void cloneService( org.ejbca.core.model.log.Admin admin,java.lang.String oldname,java.lang.String newname ) throws org.ejbca.core.model.services.ServiceExistsException; /** * Removes a service from the database. * @throws EJBException if a communication or other error occurs. */ public boolean removeService( org.ejbca.core.model.log.Admin admin,java.lang.String name ) ; /** * Renames a service * @throws ServiceExistsException if service already exists. * @throws EJBException if a communication or other error occurs. */ public void renameService( org.ejbca.core.model.log.Admin admin,java.lang.String oldname,java.lang.String newname ) throws org.ejbca.core.model.services.ServiceExistsException; /** * Retrives a Collection of id:s (Integer) to authorized services. Currently is the only check if the superadmin can see them all * @return Collection of id:s (Integer) */ public java.util.Collection getAuthorizedServiceIds( org.ejbca.core.model.log.Admin admin ) ; /** * Method creating a hashmap mapping service id (Integer) to service name (String). */ public java.util.HashMap getServiceIdToNameMap( org.ejbca.core.model.log.Admin admin ) ; /** * Retrives a named service. * @returns the service configuration or null if it doesn't exist. */ public org.ejbca.core.model.services.ServiceConfiguration getService( org.ejbca.core.model.log.Admin admin,java.lang.String name ) ; /** * Finds a service configuration by id. * @returns the service configuration or null if it doesn't exist. */ public org.ejbca.core.model.services.ServiceConfiguration getServiceConfiguration( org.ejbca.core.model.log.Admin admin,int id ) ; /** * Returns a service id, given it's service name * @return the id or 0 if the service cannot be found. */ public int getServiceId( org.ejbca.core.model.log.Admin admin,java.lang.String name ) ; /** * Returns a Service 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 getServiceName( org.ejbca.core.model.log.Admin admin,int id ) ; /** * Activates the timer for a named service. The service must alrteady be previously added. * @param admin The administrator performing the action * @param name the name of the service for which to activate the timer * @throws EJBException if a communication or other error occurs. */ public void activateServiceTimer( org.ejbca.core.model.log.Admin admin,java.lang.String name ) ;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -