emailagent.java

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

JAVA
66
字号
/* * DocumentAgent.java * * Created on 2001年8月23日, 上午9:02 */package com.gs.email;import com.gs.db.*;/** *实现IofficeComponent interface */public class EmailAgent implements  com.gs.db.IofficeComponentAgent {    Authorization authorization;    IofficePermissions permissions;    EmailManager manager = null;    /** Creates new MissionAgent */    public EmailAgent(Authorization authorization, IofficePermissions permissions) {        //you should do like this        this.authorization = authorization;        this.permissions = permissions;        this.manager = new EmailManager(authorization,permissions);    }    public void onInstall() throws ComponentAgentException {    }    public void onEnable() throws ComponentAgentException {    }    public void onDisable() throws ComponentAgentException {    }    public void onDeletingUser(int userid) throws ComponentAgentException {    }    public void onUserDeleted(int userid) throws ComponentAgentException {    }    public void onUninstall() throws ComponentAgentException {    }   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 String getVendor() {        return new String("Stone-Powerrun");    }    public EmailManager getEmailManager()    {        return manager;    }}

⌨️ 快捷键说明

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