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