📄 infostationproxy.java
字号:
/**
* Copyright (c) 2002 CODEFAD.com
* All right reserved.
*
* Description: ...
*
* Author: Chu Daping 2002-5-10 19:35
*
*/
package com.codefad.easyoffice;
import java.util.*;
import java.sql.*;
import com.codefad.easyoffice.db.*;
public class InfoStationProxy implements InfoStation {
private InfoStation station;
public InfoStationProxy(InfoStation station) {
this.station = station;
}
public long getID() {
return station.getID();
}
public String getName() {
return station.getName();
}
public void setName(String name) {
station.setName(name);
}
public String getDescription() {
return station.getDescription();
}
public void setDescription(String description) {
station.setDescription(description);
}
public java.util.Date getCreateDate() {
return station.getCreateDate();
}
public void setCreateDate(java.util.Date createdate) {
station.setCreateDate(createdate);
}
public void addDept(Department dept)
{
station.addDept(dept);
}
public void deleteDept(Department dept)
{
station.deleteDept(dept);
}
public Department getDept(long deptID)
{
Department dept = station.getDept(deptID);
return new DepartmentProxy(dept);
}
public ArrayList depts() {
return this.depts();
}
public Callboard getCallboard(long boardID) {
return this.getCallboard(boardID);
}
public ArrayList callboards() {
return this.callboards();
}
public News getNews(long boardID) {
return this.getNews(boardID);
}
public ArrayList news() {
return this.news();
}
//public Resource getResource(long sourceID) {
// return this.getResource(sourceID);
//}
//public ArrayList resources() {
// return this.resources();
//}
public ArrayList users() {
return this.users();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -