📄 emailagent.java
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -