templetagent.java

来自「一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs」· Java 代码 · 共 99 行

JAVA
99
字号
/* * 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 + =
减小字号Ctrl + -
显示快捷键?