📄 agendamanagerinterface.java
字号:
// 议程管理器的对象接口
package agenda;
import java.util.Date;
import server.exception.MeetingInvalidException;
import server.exception.TimeInvalidException;
import server.exception.PasswordErrorException;
import server.exception.UserIsExsitedException;
import server.exception.UserInvalidException;
public interface AgendaManagerInterface extends java.rmi.Remote {
/**
* 注册成功,则返回成功消息
*
*/
String register(String userName, String password)
throws java.rmi.RemoteException, UserIsExsitedException;
/**
* 增加会议成功,则返回成功消息
*
*/
String add(String userName, String password, String other, Date startTime, Date endTime, String title)
throws UserInvalidException,MeetingInvalidException, TimeInvalidException,
java.rmi.RemoteException, PasswordErrorException;
/**
* 查询一段时间内某用户的会议安排
*/
java.util.List<String> query(String userName, String password, Date startTime, Date endTime)
throws java.rmi.RemoteException;
/**
* 删除某用户的一个会议
*
*/
String delete(String userName, String password, String meetingID)
throws java.rmi.RemoteException;
/**
* 清除某用户的所有会议
*
*/
String clear(String userName, String password)
throws java.rmi.RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -