⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 agency.java

📁 21天学通J2EE的例子2
💻 JAVA
字号:
package agency;

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

public interface Agency extends EJBObject
{
	String getAgencyName() throws RemoteException;
	
	Collection getApplicants() throws RemoteException;
	void createApplicant(String login, String name, String email) throws RemoteException, DuplicateException, CreateException;
	void deleteApplicant (String login) throws RemoteException, NotFoundException;

	Collection getCustomers() throws RemoteException;
	void createCustomer(String login, String name, String email) throws RemoteException, DuplicateException, CreateException;
	void deleteCustomer (String login) throws RemoteException, NotFoundException;

	Collection getLocations() throws RemoteException;
	String getLocationDescription(String name) throws RemoteException, NotFoundException;
	void addLocation(String name, String description) throws RemoteException, DuplicateException;
	void updateLocation(String name, String description) throws RemoteException, NotFoundException;
	void removeLocation(String code) throws RemoteException, NotFoundException;
	
	Collection getSkills() throws RemoteException;
	String getSkillDescription(String name) throws RemoteException, NotFoundException;
	void addSkill(String name, String description) throws RemoteException, DuplicateException;
	void updateSkill(String name, String description) throws RemoteException, NotFoundException;
	void removeSkill(String name) throws RemoteException, NotFoundException;

	List select(String table) throws RemoteException;

}

⌨️ 快捷键说明

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