?? userhistoryinvokerimpl.java
字號:
package jp.co.ntl.swing.ext.history.userhistory;
import java.io.File;
import java.util.Vector;
import jp.co.ntl.Net;
import jp.co.ntl.Util;
import jp.co.ntl.NetworkException;
import jp.co.ntl.ServerException;
import jp.co.ntl.TimeOutException;
import jp.co.ntl.swing.ext.InvokerUtil;
import jp.co.ntl.userhistory.UserHistoryInfo;
public class UserHistoryInvokerImpl extends UserHistoryInvoker {
private InvokerUtil iu;
UserHistoryInvokerImpl(Net net) {
this.iu = new InvokerUtil(net);
}
public Vector getUserHistory() throws NetworkException, ServerException, TimeOutException {
return iu.serverAccessRetVector(Net.userhistoryServletName, Net.CMD_GetUserHistory);
}
public boolean downloadUserHistory(File userHistoryFile) throws NetworkException, ServerException, TimeOutException {
return iu.serverAccessDownload(Net.userhistoryServletName, Net.CMD_DownloadUserHistory, userHistoryFile, Util.getPreferenceInfo().getAuthType());
}
public boolean deleteUserHistorys() throws NetworkException, ServerException, TimeOutException {
iu.serverAccessRetVoid(Net.userhistoryServletName, Net.CMD_DeleteUserHistory);
return true;
}
public void addUserHistory(UserHistoryInfo uhInfo) throws NetworkException, ServerException, TimeOutException {
iu.serverAccessRetVoid(Net.userhistoryServletName, Net.CMD_AddUserHistory, uhInfo);
}
public void setUserHistoryInfo(UserHistoryInfo uhInfo) throws NetworkException, ServerException, TimeOutException {
iu.serverAccessRetVoid(Net.userhistoryServletName, Net.CMD_SetUserHistoryInfo, uhInfo);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -