📄 iofficecomponentagent.java
字号:
/*
* IofficeComponentAgent.java
*
* Created on 2001年7月13日, 下午1:00
*/
package com.gs.db;
/**
* Each InterOffice Component Must provide an agentClass
* which implements this INTERFACE. The interface defines
* a series of callback function, through with the interoffice
* kernel notifies each component that something happens.
* @see IofficeComponent, IofficeFactory
*/
public interface IofficeComponentAgent {
/**
* called by kernel when installing the component. The component should
* perform newborn initialization here, such as creating and initializing
* datebase tables,etc.
* @throws ComponentAgentException if fatal error occurs in the call
*/
public void onInstall () throws ComponentAgentException;
/**
* called by kernel when enable the inactive component.
*
* @throws ComponentAgentException if fatal error occurs in the call
*/
public void onEnable() throws ComponentAgentException;
/**
* called by kernel when disable the active component.
*
* @throws ComponentAgentException if fatal error occurs in the call
*/
public void onDisable() throws ComponentAgentException;
/**
* called by kernel just the moment when the user is going to be deleted
*
* @throws ComponentAgentException if fatal error occurs in the call
*/
public void onDeletingUser( int userid ) throws ComponentAgentException;
/**
* called by kernel just the moment when the user had been deleted
*
* @throws ComponentAgentException if fatal error occurs in the call
*/
public void onUserDeleted( int userid ) throws ComponentAgentException;
/**
* called by kernel when the component is being unstalled.
*
* @throws ComponentAgentException if fatal error occurs in the call
*/
public void onUninstall() throws ComponentAgentException;
/**
* Get name of component vendor
* @return vendor name of the component
*/
public String getVendor( );
public String getDescription();
public int getMajorVersion();
public int getMinorVersion();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -