agency.java

来自「21天学学会J2EE的源码1 是一本非常不错的书」· Java 代码 · 共 34 行

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