sessionfacade.java

来自「关于的java的多媒体课件」· Java 代码 · 共 29 行

JAVA
29
字号
package com.mydomain.ejb;

import javax.ejb.*;
import java.util.*;
import java.rmi.RemoteException;


public interface SessionFacade extends EJBObject {
	void createAllEntities(String compname,String compcountry,String compaddress,
		String compphone,String empname,String empsurname,
			String empphone,String taskname) throws RemoteException, Exception;
	void createCompanyEmployee(String compname,String compcountry,String compaddress,
		String compphone,String empname,String empsurname,
			String empphone) throws RemoteException, Exception;
	void createEmployeeTask(String empname,String empsurname,String empphone,String taskname) throws RemoteException, Exception;
	Company createCompany(String compname,String compcountry,String compaddress,String compphone) throws RemoteException, Exception;
	Employee createEmployee(String empname,String empsurname,String empphone) throws RemoteException, Exception;
	Task createTask(String taskname) throws RemoteException, Exception;
	List getAllEntities() throws RemoteException, Exception;
	List getCompEmpAssociations() throws RemoteException, Exception;
	List getEmpTaskAssociations() throws RemoteException, Exception;
	void associateCompanyEmployee(String compName,String empName) throws RemoteException, Exception;
	void associateEmployeeTask(String empName,String taskName) throws RemoteException, Exception;
	void deleteCompany(String compName) throws RemoteException, Exception;
	void deleteEmployee(String empName) throws RemoteException, Exception;
	void deleteTask(String taskName) throws RemoteException, Exception;
	void deleteCompanyEmployeeAssociation(String empName) throws RemoteException, Exception;
	void deleteEmployeeTaskAssociation(String empName,String taskName) throws RemoteException, Exception;
}

⌨️ 快捷键说明

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