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

📄 _rolemgthandler_stub.java

📁 j2ee源码
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
            ServantObject so = _servant_preinvoke("add",com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler.class);
            if (so == null) {
                add(arg0, arg1);
                return;
            }
            try {
                Object[] copies = Util.copyObjects(new Object[]{arg0,arg1},_orb());
                RoleHdrVO arg0Copy = (RoleHdrVO) copies[0];
                ArrayList arg1Copy = (ArrayList) copies[1];
                ((com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler)so.servant).add(arg0Copy, arg1Copy);
                return;
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }
                throw Util.wrapException(exCopy);
            } finally {
                _servant_postinvoke(so);
            }
        }
    }
    
    public RoleHdrVO get(RoleHdrVO arg0) throws Exception {
        if (!Util.isLocal(this)) {
            try {
                org.omg.CORBA_2_3.portable.InputStream in = null;
                try {
                    org.omg.CORBA_2_3.portable.OutputStream out = 
                        (org.omg.CORBA_2_3.portable.OutputStream)
                        _request("get", true);
                    out.write_value(arg0,RoleHdrVO.class);
                    in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
                    return (RoleHdrVO) in.read_value(RoleHdrVO.class);
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    if (id.equals("IDL:java/lang/Ex:1.0")) {
                        throw (Exception) in.read_value(Exception.class);
                    }
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return get(arg0);
                } finally {
                    _releaseReply(in);
                }
            } catch (SystemException ex) {
                throw Util.mapSystemException(ex);
            }
        } else {
            ServantObject so = _servant_preinvoke("get",com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler.class);
            if (so == null) {
                return get(arg0);
            }
            try {
                RoleHdrVO arg0Copy = (RoleHdrVO) Util.copyObject(arg0,_orb());
                RoleHdrVO result = ((com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler)so.servant).get(arg0Copy);
                return (RoleHdrVO)Util.copyObject(result,_orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }
                throw Util.wrapException(exCopy);
            } finally {
                _servant_postinvoke(so);
            }
        }
    }
    
    public ArrayList getList(RoleHdrSO arg0, int arg1, int arg2) throws Exception {
        if (!Util.isLocal(this)) {
            try {
                org.omg.CORBA_2_3.portable.InputStream in = null;
                try {
                    org.omg.CORBA_2_3.portable.OutputStream out = 
                        (org.omg.CORBA_2_3.portable.OutputStream)
                        _request("getList", true);
                    out.write_value(arg0,RoleHdrSO.class);
                    out.write_long(arg1);
                    out.write_long(arg2);
                    in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
                    return (ArrayList) in.read_value(ArrayList.class);
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    if (id.equals("IDL:java/lang/Ex:1.0")) {
                        throw (Exception) in.read_value(Exception.class);
                    }
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return getList(arg0,arg1,arg2);
                } finally {
                    _releaseReply(in);
                }
            } catch (SystemException ex) {
                throw Util.mapSystemException(ex);
            }
        } else {
            ServantObject so = _servant_preinvoke("getList",com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler.class);
            if (so == null) {
                return getList(arg0, arg1, arg2);
            }
            try {
                RoleHdrSO arg0Copy = (RoleHdrSO) Util.copyObject(arg0,_orb());
                ArrayList result = ((com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler)so.servant).getList(arg0Copy, arg1, arg2);
                return (ArrayList)Util.copyObject(result,_orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }
                throw Util.wrapException(exCopy);
            } finally {
                _servant_postinvoke(so);
            }
        }
    }
    
    public long getListCount(RoleHdrSO arg0) throws Exception {
        if (!Util.isLocal(this)) {
            try {
                org.omg.CORBA_2_3.portable.InputStream in = null;
                try {
                    org.omg.CORBA_2_3.portable.OutputStream out = 
                        (org.omg.CORBA_2_3.portable.OutputStream)
                        _request("getListCount", true);
                    out.write_value(arg0,RoleHdrSO.class);
                    in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
                    return in.read_longlong();
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    if (id.equals("IDL:java/lang/Ex:1.0")) {
                        throw (Exception) in.read_value(Exception.class);
                    }
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return getListCount(arg0);
                } finally {
                    _releaseReply(in);
                }
            } catch (SystemException ex) {
                throw Util.mapSystemException(ex);
            }
        } else {
            ServantObject so = _servant_preinvoke("getListCount",com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler.class);
            if (so == null) {
                return getListCount(arg0);
            }
            try {
                RoleHdrSO arg0Copy = (RoleHdrSO) Util.copyObject(arg0,_orb());
                return ((com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler)so.servant).getListCount(arg0Copy);
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }
                throw Util.wrapException(exCopy);
            } finally {
                _servant_postinvoke(so);
            }
        }
    }
    
    public void delete(RoleHdrVO arg0) throws Exception {
        if (!Util.isLocal(this)) {
            try {
                org.omg.CORBA_2_3.portable.InputStream in = null;
                try {
                    org.omg.CORBA_2_3.portable.OutputStream out = 
                        (org.omg.CORBA_2_3.portable.OutputStream)
                        _request("delete", true);
                    out.write_value(arg0,RoleHdrVO.class);
                    _invoke(out);
                    return;
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    if (id.equals("IDL:java/lang/Ex:1.0")) {
                        throw (Exception) in.read_value(Exception.class);
                    }
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    delete(arg0);
                    return;
                } finally {
                    _releaseReply(in);
                }
            } catch (SystemException ex) {
                throw Util.mapSystemException(ex);
            }
        } else {
            ServantObject so = _servant_preinvoke("delete",com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler.class);
            if (so == null) {
                delete(arg0);
                return;
            }
            try {
                RoleHdrVO arg0Copy = (RoleHdrVO) Util.copyObject(arg0,_orb());
                ((com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler)so.servant).delete(arg0Copy);
                return;
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }
                throw Util.wrapException(exCopy);
            } finally {
                _servant_postinvoke(so);
            }
        }
    }
    
    public void update(RoleHdrVO arg0, ArrayList arg1) throws Exception {
        if (!Util.isLocal(this)) {
            try {
                org.omg.CORBA_2_3.portable.InputStream in = null;
                try {
                    org.omg.CORBA_2_3.portable.OutputStream out = 
                        (org.omg.CORBA_2_3.portable.OutputStream)
                        _request("update", true);
                    out.write_value(arg0,RoleHdrVO.class);
                    out.write_value(arg1,ArrayList.class);
                    _invoke(out);
                    return;
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    if (id.equals("IDL:java/lang/Ex:1.0")) {
                        throw (Exception) in.read_value(Exception.class);
                    }
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    update(arg0,arg1);
                    return;
                } finally {
                    _releaseReply(in);
                }
            } catch (SystemException ex) {
                throw Util.mapSystemException(ex);
            }
        } else {
            ServantObject so = _servant_preinvoke("update",com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler.class);
            if (so == null) {
                update(arg0, arg1);
                return;
            }
            try {
                Object[] copies = Util.copyObjects(new Object[]{arg0,arg1},_orb());
                RoleHdrVO arg0Copy = (RoleHdrVO) copies[0];
                ArrayList arg1Copy = (ArrayList) copies[1];
                ((com.leeman.wkexs.master.rolemgt.handler.RoleMgtHandler)so.servant).update(arg0Copy, arg1Copy);
                return;
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {

⌨️ 快捷键说明

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