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

📄 groupinfoinvokerimpl.java

📁 打印管理程序,测试完全通过.windows开发环境.
💻 JAVA
字号:
package jp.co.ntl.swing.ext.user.group;

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.group.GroupInfo;
import jp.co.ntl.swing.ext.InvokerUtil;

public class GroupInfoInvokerImpl extends GroupInfoInvoker {
	private InvokerUtil	iu;
	
	GroupInfoInvokerImpl(Net net) {
		this.iu = new InvokerUtil(net);
	}
	
	public Vector getGroupInfo() throws NetworkException, ServerException, TimeOutException {
		return iu.serverAccessRetVector(Net.groupServletName, Net.CMD_GetGroupInfo);
	}
	
	public void changeGroupInfo(GroupInfo groupInfo) throws NetworkException, ServerException, TimeOutException {
		iu.serverAccessRetVoid(Net.groupServletName, Net.CMD_ChangeGroupInfo, groupInfo);
	}
	
	public int addGroup(GroupInfo groupInfo) throws NetworkException, ServerException, TimeOutException {
		return iu.serverAccessRetInt(Net.groupServletName, Net.CMD_AddGroup, groupInfo);
	}
	
	public void delGroup(Vector vcGroupInfo) throws NetworkException, ServerException, TimeOutException {
		iu.serverAccessRetVoid(Net.groupServletName, Net.CMD_DeleteGroup, vcGroupInfo);
	}
	
	public boolean isRelatedGroup(Vector vcGroupInfo) throws NetworkException, ServerException, TimeOutException {
		return iu.serverAccessRetBoolean(Net.groupServletName, Net.CMD_IsRelatedGroup, vcGroupInfo, InvokerUtil.RET_RELATED);
	}
	
	public boolean isRelatedGroupOnAccount(Vector vcGroupInfo) throws NetworkException, ServerException, TimeOutException {
		return iu.serverAccessRetBoolean(Net.groupServletName, Net.CMD_IsRelatedGroupOnAccount, vcGroupInfo, InvokerUtil.RET_RELATED);
	}
}

⌨️ 快捷键说明

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