infostationproxy.java

来自「一套大型Office网络办公系统」· Java 代码 · 共 101 行

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