📄 printergroupinfoinvokerimpl.java
字号:
package jp.co.ntl.swing.ext.printer.printergroup;
import java.util.Vector;
import jp.co.ntl.Net;
import jp.co.ntl.NetworkException;
import jp.co.ntl.ServerException;
import jp.co.ntl.TimeOutException;
import jp.co.ntl.printergroup.PrinterGroupInfo;
import jp.co.ntl.swing.ext.InvokerUtil;
public class PrinterGroupInfoInvokerImpl extends PrinterGroupInfoInvoker {
InvokerUtil iu;
PrinterGroupInfoInvokerImpl(Net net) {
this.iu = new InvokerUtil(net);
}
public Vector getPrinterGroupInfo() throws NetworkException, ServerException, TimeOutException {
return iu.serverAccessRetVector(Net.printergroupServletName, Net.CMD_GetPrinterGroupInfo);
}
public void setPrinterGroupInfo(PrinterGroupInfo printerGroupInfo) throws NetworkException, ServerException, TimeOutException {
iu.serverAccessRetVoid(Net.printergroupServletName, Net.CMD_SetPrinterGroupInfo, printerGroupInfo);
}
public int addPrinterGroup(PrinterGroupInfo printerGroupInfo) throws NetworkException, ServerException, TimeOutException {
return iu.serverAccessRetInt(Net.printergroupServletName, Net.CMD_AddPrinterGroup, printerGroupInfo);
}
public void delPrinterGroup(Vector vcPgInfo) throws NetworkException, ServerException, TimeOutException {
iu.serverAccessRetVoid(Net.printergroupServletName, Net.CMD_DelPrinterGroup, vcPgInfo);
}
public boolean isRelatedPrinterGroup(Vector vcPgInfo) throws NetworkException, ServerException, TimeOutException {
return iu.serverAccessRetBoolean(Net.printergroupServletName, Net.CMD_IsRelatedPrinterGroup, vcPgInfo, InvokerUtil.RET_RELATED);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -