📄 templetagent.java
字号:
/* * TempletAgent.java * * Created on 2002年4月26日, 下午12:08 */package com.gs.templet;import com.gs.db.*;/** * * @author Administrator * @version */public class TempletAgent implements com.gs.db.IofficeComponentAgent{ Authorization authorization; IofficePermissions permissions; TempletManager manager = null; /** Creates new TempletAgent */ public TempletAgent(Authorization authorization, IofficePermissions permissions) { this.authorization = authorization; this.permissions = permissions; this.manager = new TempletManager(authorization,permissions); } /** * 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() { return ""; } public String getDescription() { return new String("InterOffice Function Module to Enable Short Message Exchanging"); } public int getMajorVersion() { return 1; } public int getMinorVersion() { return 0; } public TempletManager getTempletManager() { return manager;}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -