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

📄 userinfoinvoker.java

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

///import java.io.IOException;
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.NotRegisterUserException;
import jp.co.ntl.user.UserInfo2;

public abstract class UserInfoInvoker {
	public final static int	USER_ADMIN					= 0;
	public final static int	USER_GENERAL				= 1;
	public final static int	ERROR_NOT_REGISTERED_USER	= -1;
	public final static int	ERROR_NOT_INSERT_USB		= -2;
	public final static int	ERROR_OTHER					= -3;
	
	public static UserInfoInvoker getInstance(Net net) {
		return new UserInfoInvokerImpl(net);
	}

	public abstract Vector getUserInfo() throws NetworkException, ServerException, TimeOutException;
	public abstract void setUserInfo(UserInfo2 userInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract int addUser(UserInfo2 userInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract void delUser(Vector vcUserInfo) throws NetworkException, ServerException, TimeOutException;
///	public abstract UserInfo2 checkRegisteredUser(UserInfo2 userInfo) throws IOException, NetworkException, ServerException, TimeOutException, NotRegisterUserException;
	public abstract boolean isRelatedUser(Vector vcUserInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract boolean isRelatedUserOnAccount(Vector vcUserInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract void clearNumPrintedCache(Vector vcUserInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract Object[] isRegisteredUser(String userName, String password, boolean bAdminCheck) throws NetworkException, ServerException, TimeOutException;
}

⌨️ 快捷键说明

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