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

📄 ejsremotestatefulrolemgthandler_b17b13a5.java

📁 j2ee源码
💻 JAVA
字号:
package com.leeman.wkexs.master.rolemgt.handler;import com.ibm.ejs.container.*;/** * EJSRemoteStatefulRoleMgtHandler_b17b13a5 */public class EJSRemoteStatefulRoleMgtHandler_b17b13a5 extends EJSWrapper implements RoleMgtHandler {	/**	 * EJSRemoteStatefulRoleMgtHandler_b17b13a5	 */	public EJSRemoteStatefulRoleMgtHandler_b17b13a5() throws java.rmi.RemoteException {		super();	}	/**	 * isExist	 */	public boolean isExist(com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO roleHdrVO) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		boolean _EJS_result = false;		try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 0, _EJS_s);			_EJS_result = _EJS_beanRef.isExist(roleHdrVO);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 0, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * get	 */	public com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO get(com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO roleHdrKey) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO _EJS_result = null;		try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 1, _EJS_s);			_EJS_result = _EJS_beanRef.get(roleHdrKey);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 1, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * getList	 */	public java.util.ArrayList getList(com.leeman.wkexs.master.rolemgt.entity.RoleHdrSO roleHdrSO, int fr, int maxRecords) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		java.util.ArrayList _EJS_result = null;		try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 2, _EJS_s);			_EJS_result = _EJS_beanRef.getList(roleHdrSO, fr, maxRecords);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 2, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * getRolePrivList	 */	public java.util.ArrayList getRolePrivList(com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO hdrVO, java.lang.String langId) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		java.util.ArrayList _EJS_result = null;		try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 3, _EJS_s);			_EJS_result = _EJS_beanRef.getRolePrivList(hdrVO, langId);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 3, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * getRoleProgramPrivList	 */	public java.util.ArrayList getRoleProgramPrivList(com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO hdrVO, java.lang.String programId) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		java.util.ArrayList _EJS_result = null;		try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 4, _EJS_s);			_EJS_result = _EJS_beanRef.getRoleProgramPrivList(hdrVO, programId);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 4, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * getRoleViewPrivList	 */	public java.util.ArrayList getRoleViewPrivList(com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO hdrVO, java.lang.String langId) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		java.util.ArrayList _EJS_result = null;		try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 5, _EJS_s);			_EJS_result = _EJS_beanRef.getRoleViewPrivList(hdrVO, langId);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 5, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * getListCount	 */	public long getListCount(com.leeman.wkexs.master.rolemgt.entity.RoleHdrSO roleHdrSO) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		long _EJS_result = 0;		try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 6, _EJS_s);			_EJS_result = _EJS_beanRef.getListCount(roleHdrSO);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 6, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * getRoleIdCount	 */	public long getRoleIdCount(com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO roleHdrVO, java.lang.String table) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		long _EJS_result = 0;		try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 7, _EJS_s);			_EJS_result = _EJS_beanRef.getRoleIdCount(roleHdrVO, table);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 7, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * add	 */	public void add(com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO roleHdrVO, java.util.ArrayList roleDtlVOList) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 8, _EJS_s);			_EJS_beanRef.add(roleHdrVO, roleDtlVOList);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 8, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}	/**	 * delete	 */	public void delete(com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO roleHdrVO) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 9, _EJS_s);			_EJS_beanRef.delete(roleHdrVO);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 9, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}	/**	 * update	 */	public void update(com.leeman.wkexs.master.rolemgt.entity.RoleHdrVO roleHdrVO, java.util.ArrayList roleDtlVOList) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean _EJS_beanRef = (com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandlerBean)container.preInvoke(this, 10, _EJS_s);			_EJS_beanRef.update(roleHdrVO, roleDtlVOList);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 10, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}}

⌨️ 快捷键说明

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