package com.vci.corba.bofactory; /** * Generated from IDL interface "BOFactoryService". * * @author JacORB IDL compiler V 3.9 * @version generated at 2022-12-23 15:42:24 */ public class _BOFactoryServiceStub extends org.omg.CORBA.portable.ObjectImpl implements com.vci.corba.bofactory.BOFactoryService { /** Serial version UID. */ private static final long serialVersionUID = 1L; private String[] ids = {"IDL:com/vci/corba/bofactory/BOFactoryService:1.0"}; public String[] _ids() { return ids; } public final static java.lang.Class _opsClass = com.vci.corba.bofactory.BOFactoryServiceOperations.class; public boolean batchCreateBOWithLinkNoCheckNoLog(com.vci.corba.omd.data.BusinessObjectListHolder bos, com.vci.corba.omd.data.LinkObjectListHolder los) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchCreateBOWithLinkNoCheckNoLog", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bos.value); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,los.value); _is = _invoke(_os); boolean _result = _is.read_boolean(); bos.value = com.vci.corba.omd.data.BusinessObjectListHelper.read(_is); los.value = com.vci.corba.omd.data.LinkObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchCreateBOWithLinkNoCheckNoLog", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchCreateBOWithLinkNoCheckNoLog(bos,los); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchUpdateLinkObject(com.vci.corba.omd.data.LinkObjectListHolder los) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchUpdateLinkObject", true); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,los.value); _is = _invoke(_os); boolean _result = _is.read_boolean(); los.value = com.vci.corba.omd.data.LinkObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchUpdateLinkObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchUpdateLinkObject(los); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean updateBusinessObject(com.vci.corba.omd.data.BusinessObjectHolder bo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "updateBusinessObject", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo.value); _is = _invoke(_os); boolean _result = _is.read_boolean(); bo.value = com.vci.corba.omd.data.BusinessObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "updateBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.updateBusinessObject(bo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public java.lang.String[] getClssficationValue(java.lang.String sql, com.vci.corba.omd.data.AttributeValue[] attrVals) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getClssficationValue", true); java.lang.String tmpResult1120 = sql; _os.write_wstring( tmpResult1120 ); com.vci.corba.omd.data.AttributeValueListHelper.write(_os,attrVals); _is = _invoke(_os); java.lang.String[] _result = com.vci.corba.common.data.WStringArrayHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getClssficationValue", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; java.lang.String[] _result; try { _result = _localServant.getClssficationValue(sql,attrVals); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchDeleteLinkObject(com.vci.corba.omd.data.LinkObject[] los) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchDeleteLinkObject", true); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,los); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchDeleteLinkObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchDeleteLinkObject(los); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.LinkObject[] batchCreateLinkObject(com.vci.corba.omd.data.LinkObject[] los) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchCreateLinkObject", true); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,los); _is = _invoke(_os); com.vci.corba.omd.data.LinkObject[] _result = com.vci.corba.omd.data.LinkObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchCreateLinkObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.LinkObject[] _result; try { _result = _localServant.batchCreateLinkObject(los); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchChangeBusinessObjectOwner(com.vci.corba.omd.data.BusinessObject[] bos, com.vci.corba.framework.data.UserInfo[] userList) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchChangeBusinessObjectOwner", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bos); com.vci.corba.framework.data.UserInfoListHelper.write(_os,userList); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchChangeBusinessObjectOwner", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchChangeBusinessObjectOwner(bos,userList); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.RevisionDataInfo getNextRevisionValueObject(java.lang.String boName, java.lang.String nameOid, java.lang.String revisionRule, boolean revInput, java.lang.String revisionVal) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getNextRevisionValueObject", true); java.lang.String tmpResult1121 = boName; _os.write_wstring( tmpResult1121 ); java.lang.String tmpResult1122 = nameOid; _os.write_wstring( tmpResult1122 ); java.lang.String tmpResult1123 = revisionRule; _os.write_wstring( tmpResult1123 ); _os.write_boolean(revInput); java.lang.String tmpResult1124 = revisionVal; _os.write_wstring( tmpResult1124 ); _is = _invoke(_os); com.vci.corba.omd.data.RevisionDataInfo _result = com.vci.corba.omd.data.RevisionDataInfoHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getNextRevisionValueObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.RevisionDataInfo _result; try { _result = _localServant.getNextRevisionValueObject(boName,nameOid,revisionRule,revInput,revisionVal); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean transferBusinessObject(com.vci.corba.omd.data.BusinessObjectHolder bo, com.vci.corba.omd.lifecycleManager.TransitionVO trVo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "transferBusinessObject", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo.value); com.vci.corba.omd.lifecycleManager.TransitionVOHelper.write(_os,trVo); _is = _invoke(_os); boolean _result = _is.read_boolean(); bo.value = com.vci.corba.omd.data.BusinessObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "transferBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.transferBusinessObject(bo,trVo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.BusinessObject[] getLastRevisionBusinessObject(java.lang.String nameoid, java.lang.String btmName) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getLastRevisionBusinessObject", true); java.lang.String tmpResult1125 = nameoid; _os.write_wstring( tmpResult1125 ); java.lang.String tmpResult1126 = btmName; _os.write_wstring( tmpResult1126 ); _is = _invoke(_os); com.vci.corba.omd.data.BusinessObject[] _result = com.vci.corba.omd.data.BusinessObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getLastRevisionBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.BusinessObject[] _result; try { _result = _localServant.getLastRevisionBusinessObject(nameoid,btmName); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean checkInBusinessObject(com.vci.corba.omd.data.BusinessObject bo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "checkInBusinessObject", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "checkInBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.checkInBusinessObject(bo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean executeUpdateSql(java.lang.String sql) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "executeUpdateSql", true); java.lang.String tmpResult1127 = sql; _os.write_wstring( tmpResult1127 ); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "executeUpdateSql", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.executeUpdateSql(sql); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean transferBusinessObjectAndRelease(com.vci.corba.omd.data.BusinessObjectHolder bo, com.vci.corba.omd.lifecycleManager.TransitionVO trVo, java.lang.String releaseStatus) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "transferBusinessObjectAndRelease", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo.value); com.vci.corba.omd.lifecycleManager.TransitionVOHelper.write(_os,trVo); java.lang.String tmpResult1128 = releaseStatus; _os.write_wstring( tmpResult1128 ); _is = _invoke(_os); boolean _result = _is.read_boolean(); bo.value = com.vci.corba.omd.data.BusinessObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "transferBusinessObjectAndRelease", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.transferBusinessObjectAndRelease(bo,trVo,releaseStatus); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean updateBusinessObjectOut(com.vci.corba.omd.data.BusinessObjectHolder bo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "updateBusinessObjectOut", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo.value); _is = _invoke(_os); boolean _result = _is.read_boolean(); bo.value = com.vci.corba.omd.data.BusinessObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "updateBusinessObjectOut", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.updateBusinessObjectOut(bo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.VersionDataInfo getNextVersionValue(java.lang.String boName, java.lang.String revisionOid, java.lang.String nameOid, int versionType) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getNextVersionValue", true); java.lang.String tmpResult1129 = boName; _os.write_wstring( tmpResult1129 ); java.lang.String tmpResult1130 = revisionOid; _os.write_wstring( tmpResult1130 ); java.lang.String tmpResult1131 = nameOid; _os.write_wstring( tmpResult1131 ); _os.write_long(versionType); _is = _invoke(_os); com.vci.corba.omd.data.VersionDataInfo _result = com.vci.corba.omd.data.VersionDataInfoHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getNextVersionValue", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.VersionDataInfo _result; try { _result = _localServant.getNextVersionValue(boName,revisionOid,nameOid,versionType); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.LinkObject createLinkObject(com.vci.corba.omd.data.LinkObject lo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "createLinkObject", true); com.vci.corba.omd.data.LinkObjectHelper.write(_os,lo); _is = _invoke(_os); com.vci.corba.omd.data.LinkObject _result = com.vci.corba.omd.data.LinkObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "createLinkObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.LinkObject _result; try { _result = _localServant.createLinkObject(lo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchRevisonBusinessObject(java.lang.String[] oids, java.lang.String btmName) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchRevisonBusinessObject", true); com.vci.corba.common.data.WStringArrayHelper.write(_os,oids); java.lang.String tmpResult1132 = btmName; _os.write_wstring( tmpResult1132 ); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchRevisonBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchRevisonBusinessObject(oids,btmName); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchUpdateBusinessObject(com.vci.corba.omd.data.BusinessObjectListHolder bos) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchUpdateBusinessObject", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bos.value); _is = _invoke(_os); boolean _result = _is.read_boolean(); bos.value = com.vci.corba.omd.data.BusinessObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchUpdateBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchUpdateBusinessObject(bos); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean executeUpdateSqlByParams(java.lang.String sql, com.vci.corba.omd.data.AttributeValue[] attrVals) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "executeUpdateSqlByParams", true); java.lang.String tmpResult1133 = sql; _os.write_wstring( tmpResult1133 ); com.vci.corba.omd.data.AttributeValueListHelper.write(_os,attrVals); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "executeUpdateSqlByParams", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.executeUpdateSqlByParams(sql,attrVals); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public java.lang.String[][] getCustomSqlValue(java.lang.String[] sqls) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getCustomSqlValue", true); com.vci.corba.common.data.WStringArrayHelper.write(_os,sqls); _is = _invoke(_os); java.lang.String[][] _result = com.vci.corba.common.data.WStringArray2DHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getCustomSqlValue", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; java.lang.String[][] _result; try { _result = _localServant.getCustomSqlValue(sqls); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean checkoutBusinessObject(com.vci.corba.omd.data.BusinessObject bo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "checkoutBusinessObject", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "checkoutBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.checkoutBusinessObject(bo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchCUDBOLOByTransaction(java.lang.String sessionKey, com.vci.corba.omd.data.BusinessObject[] createBOs, com.vci.corba.omd.data.LinkObject[] createLOs, com.vci.corba.omd.data.BusinessObject[] updateBOs, com.vci.corba.omd.data.LinkObject[] updateLOs, com.vci.corba.omd.data.BusinessObject[] deleteBOs, com.vci.corba.omd.data.LinkObject[] deleteLOs) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchCUDBOLOByTransaction", true); java.lang.String tmpResult1134 = sessionKey; _os.write_wstring( tmpResult1134 ); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,createBOs); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,createLOs); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,updateBOs); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,updateLOs); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,deleteBOs); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,deleteLOs); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchCUDBOLOByTransaction", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchCUDBOLOByTransaction(sessionKey,createBOs,createLOs,updateBOs,updateLOs,deleteBOs,deleteLOs); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean deleteBusinessObject(com.vci.corba.omd.data.BusinessObject bo, int type) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "deleteBusinessObject", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo); _os.write_long(type); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "deleteBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.deleteBusinessObject(bo,type); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchDeleteBusinessObject(com.vci.corba.omd.data.BusinessObject[] bos, int type) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchDeleteBusinessObject", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bos); _os.write_long(type); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchDeleteBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchDeleteBusinessObject(bos,type); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.RevisionDataInfo getNextRevisionValue(java.lang.String revisionValue, int revisionSeq, java.lang.String revisionRule) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getNextRevisionValue", true); java.lang.String tmpResult1135 = revisionValue; _os.write_wstring( tmpResult1135 ); _os.write_long(revisionSeq); java.lang.String tmpResult1136 = revisionRule; _os.write_wstring( tmpResult1136 ); _is = _invoke(_os); com.vci.corba.omd.data.RevisionDataInfo _result = com.vci.corba.omd.data.RevisionDataInfoHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getNextRevisionValue", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.RevisionDataInfo _result; try { _result = _localServant.getNextRevisionValue(revisionValue,revisionSeq,revisionRule); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean unCheckOutBusinessObject(com.vci.corba.omd.data.BusinessObject bo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "unCheckOutBusinessObject", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "unCheckOutBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.unCheckOutBusinessObject(bo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchCreateBusinessObjectWithLink(com.vci.corba.omd.data.BusinessObjectListHolder bos, com.vci.corba.omd.data.LinkObjectListHolder los) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchCreateBusinessObjectWithLink", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bos.value); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,los.value); _is = _invoke(_os); boolean _result = _is.read_boolean(); bos.value = com.vci.corba.omd.data.BusinessObjectListHelper.read(_is); los.value = com.vci.corba.omd.data.LinkObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchCreateBusinessObjectWithLink", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchCreateBusinessObjectWithLink(bos,los); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchCUDBOLO(com.vci.corba.omd.data.BusinessObjectListHolder createBOs, com.vci.corba.omd.data.LinkObjectListHolder createLOs, com.vci.corba.omd.data.BusinessObjectListHolder updateBOs, com.vci.corba.omd.data.LinkObjectListHolder updateLOs, com.vci.corba.omd.data.BusinessObject[] deleteBOs, com.vci.corba.omd.data.LinkObject[] deleteLOs) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchCUDBOLO", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,createBOs.value); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,createLOs.value); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,updateBOs.value); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,updateLOs.value); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,deleteBOs); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,deleteLOs); _is = _invoke(_os); boolean _result = _is.read_boolean(); createBOs.value = com.vci.corba.omd.data.BusinessObjectListHelper.read(_is); createLOs.value = com.vci.corba.omd.data.LinkObjectListHelper.read(_is); updateBOs.value = com.vci.corba.omd.data.BusinessObjectListHelper.read(_is); updateLOs.value = com.vci.corba.omd.data.LinkObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchCUDBOLO", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchCUDBOLO(createBOs,createLOs,updateBOs,updateLOs,deleteBOs,deleteLOs); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchCheckInBusinessObject(com.vci.corba.omd.data.BusinessObject[] bos) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchCheckInBusinessObject", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bos); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchCheckInBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchCheckInBusinessObject(bos); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public void test() { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "test", true); _is = _invoke(_os); return; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } throw new RuntimeException("Unexpected exception " + _id ); } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "test", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; try { _localServant.test(); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean changeBusinessObjectOwner(com.vci.corba.omd.data.BusinessObject bo, com.vci.corba.framework.data.UserInfo user) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "changeBusinessObjectOwner", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo); com.vci.corba.framework.data.UserInfoHelper.write(_os,user); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "changeBusinessObjectOwner", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.changeBusinessObjectOwner(bo,user); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.LinkObject[] readLinkObjectByFromBO(com.vci.corba.omd.data.BusinessObject fromBO, java.lang.String linkTypeName) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "readLinkObjectByFromBO", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,fromBO); java.lang.String tmpResult1137 = linkTypeName; _os.write_wstring( tmpResult1137 ); _is = _invoke(_os); com.vci.corba.omd.data.LinkObject[] _result = com.vci.corba.omd.data.LinkObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "readLinkObjectByFromBO", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.LinkObject[] _result; try { _result = _localServant.readLinkObjectByFromBO(fromBO,linkTypeName); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.BusinessObject createBusinessObject(com.vci.corba.omd.data.BusinessObject bo, boolean isRevision, boolean isNewVersion) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "createBusinessObject", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo); _os.write_boolean(isRevision); _os.write_boolean(isNewVersion); _is = _invoke(_os); com.vci.corba.omd.data.BusinessObject _result = com.vci.corba.omd.data.BusinessObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "createBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.BusinessObject _result; try { _result = _localServant.createBusinessObject(bo,isRevision,isNewVersion); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchUnCheckOutBusinessObject(com.vci.corba.omd.data.BusinessObject[] bo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchUnCheckOutBusinessObject", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bo); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchUnCheckOutBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchUnCheckOutBusinessObject(bo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchTransferBusinessObjectAndRelease(com.vci.corba.omd.data.BusinessObject[] bo, com.vci.corba.omd.lifecycleManager.TransitionVO[] trVos, java.lang.String[] releaseStatus) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchTransferBusinessObjectAndRelease", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bo); com.vci.corba.omd.lifecycleManager.TransitionVOArrayHelper.write(_os,trVos); com.vci.corba.common.data.WStringArrayHelper.write(_os,releaseStatus); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchTransferBusinessObjectAndRelease", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchTransferBusinessObjectAndRelease(bo,trVos,releaseStatus); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.BusinessObject revisionBusinessObject(com.vci.corba.omd.data.BusinessObject bo, com.vci.corba.omd.data.LinkObject[] los, boolean isRev, boolean isSave, boolean isFromLinkCopy, boolean isToLinkCopy) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "revisionBusinessObject", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,los); _os.write_boolean(isRev); _os.write_boolean(isSave); _os.write_boolean(isFromLinkCopy); _os.write_boolean(isToLinkCopy); _is = _invoke(_os); com.vci.corba.omd.data.BusinessObject _result = com.vci.corba.omd.data.BusinessObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "revisionBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.BusinessObject _result; try { _result = _localServant.revisionBusinessObject(bo,los,isRev,isSave,isFromLinkCopy,isToLinkCopy); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.LinkObject readLinkObjectById(java.lang.String oid, java.lang.String linkTypeName) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "readLinkObjectById", true); java.lang.String tmpResult1138 = oid; _os.write_wstring( tmpResult1138 ); java.lang.String tmpResult1139 = linkTypeName; _os.write_wstring( tmpResult1139 ); _is = _invoke(_os); com.vci.corba.omd.data.LinkObject _result = com.vci.corba.omd.data.LinkObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "readLinkObjectById", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.LinkObject _result; try { _result = _localServant.readLinkObjectById(oid,linkTypeName); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean deleteLinkObject(com.vci.corba.omd.data.LinkObject lo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "deleteLinkObject", true); com.vci.corba.omd.data.LinkObjectHelper.write(_os,lo); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "deleteLinkObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.deleteLinkObject(lo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean executeUpdateSqls(java.lang.String[] sqls) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "executeUpdateSqls", true); com.vci.corba.common.data.WStringArrayHelper.write(_os,sqls); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "executeUpdateSqls", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.executeUpdateSqls(sqls); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean updateLinkObject(com.vci.corba.omd.data.LinkObjectHolder lo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "updateLinkObject", true); com.vci.corba.omd.data.LinkObjectHelper.write(_os,lo.value); _is = _invoke(_os); boolean _result = _is.read_boolean(); lo.value = com.vci.corba.omd.data.LinkObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "updateLinkObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.updateLinkObject(lo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchCreateDeleteBOLO(com.vci.corba.omd.data.BusinessObjectListHolder createBOs, com.vci.corba.omd.data.LinkObjectListHolder createLOs, com.vci.corba.omd.data.BusinessObject[] deleteBOs, com.vci.corba.omd.data.LinkObject[] deleteLOs) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchCreateDeleteBOLO", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,createBOs.value); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,createLOs.value); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,deleteBOs); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,deleteLOs); _is = _invoke(_os); boolean _result = _is.read_boolean(); createBOs.value = com.vci.corba.omd.data.BusinessObjectListHelper.read(_is); createLOs.value = com.vci.corba.omd.data.LinkObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchCreateDeleteBOLO", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchCreateDeleteBOLO(createBOs,createLOs,deleteBOs,deleteLOs); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public java.lang.String beginTransaction() { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "beginTransaction", true); _is = _invoke(_os); java.lang.String _result = _is.read_wstring(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } throw new RuntimeException("Unexpected exception " + _id ); } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "beginTransaction", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; java.lang.String _result; try { _result = _localServant.beginTransaction(); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public java.lang.String[][] getSqlQueryResult(java.lang.String sql, com.vci.corba.omd.data.AttributeValue[] attrVals) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getSqlQueryResult", true); java.lang.String tmpResult1140 = sql; _os.write_wstring( tmpResult1140 ); com.vci.corba.omd.data.AttributeValueListHelper.write(_os,attrVals); _is = _invoke(_os); java.lang.String[][] _result = com.vci.corba.common.data.WStringArray2DHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getSqlQueryResult", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; java.lang.String[][] _result; try { _result = _localServant.getSqlQueryResult(sql,attrVals); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean createBusinessObjectWithLinkTS(com.vci.corba.omd.data.BusinessObject[] bos, com.vci.corba.omd.data.LinkObject lo, org.omg.CORBA.StringHolder ts) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "createBusinessObjectWithLinkTS", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bos); com.vci.corba.omd.data.LinkObjectHelper.write(_os,lo); java.lang.String tmpResult1141 = ts.value; _os.write_wstring( tmpResult1141 ); _is = _invoke(_os); boolean _result = _is.read_boolean(); ts.value = _is.read_wstring(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "createBusinessObjectWithLinkTS", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.createBusinessObjectWithLinkTS(bos,lo,ts); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean commitTransaction(java.lang.String sessionKey, org.omg.CORBA.StringHolder ts) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "commitTransaction", true); java.lang.String tmpResult1142 = sessionKey; _os.write_wstring( tmpResult1142 ); java.lang.String tmpResult1143 = ts.value; _os.write_wstring( tmpResult1143 ); _is = _invoke(_os); boolean _result = _is.read_boolean(); ts.value = _is.read_wstring(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "commitTransaction", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.commitTransaction(sessionKey,ts); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean createBusinessObjectWithLink(com.vci.corba.omd.data.BusinessObjectListHolder bos, com.vci.corba.omd.data.LinkObjectHolder lo) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "createBusinessObjectWithLink", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bos.value); com.vci.corba.omd.data.LinkObjectHelper.write(_os,lo.value); _is = _invoke(_os); boolean _result = _is.read_boolean(); bos.value = com.vci.corba.omd.data.BusinessObjectListHelper.read(_is); lo.value = com.vci.corba.omd.data.LinkObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "createBusinessObjectWithLink", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.createBusinessObjectWithLink(bos,lo); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.BusinessObject readBusinessObject(java.lang.String oid, java.lang.String btmName) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "readBusinessObject", true); java.lang.String tmpResult1144 = oid; _os.write_wstring( tmpResult1144 ); java.lang.String tmpResult1145 = btmName; _os.write_wstring( tmpResult1145 ); _is = _invoke(_os); com.vci.corba.omd.data.BusinessObject _result = com.vci.corba.omd.data.BusinessObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "readBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.BusinessObject _result; try { _result = _localServant.readBusinessObject(oid,btmName); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchCheckoutBusinessObject(com.vci.corba.omd.data.BusinessObject[] bos) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchCheckoutBusinessObject", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bos); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchCheckoutBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchCheckoutBusinessObject(bos); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean batchCreateBusinessObjectWithLinkTS(com.vci.corba.omd.data.BusinessObject[] bos, com.vci.corba.omd.data.LinkObject[] los, org.omg.CORBA.StringHolder ts) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchCreateBusinessObjectWithLinkTS", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bos); com.vci.corba.omd.data.LinkObjectListHelper.write(_os,los); java.lang.String tmpResult1146 = ts.value; _os.write_wstring( tmpResult1146 ); _is = _invoke(_os); boolean _result = _is.read_boolean(); ts.value = _is.read_wstring(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchCreateBusinessObjectWithLinkTS", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; boolean _result; try { _result = _localServant.batchCreateBusinessObjectWithLinkTS(bos,los,ts); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.BusinessObject initBusinessObject(java.lang.String btmName) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "initBusinessObject", true); java.lang.String tmpResult1147 = btmName; _os.write_wstring( tmpResult1147 ); _is = _invoke(_os); com.vci.corba.omd.data.BusinessObject _result = com.vci.corba.omd.data.BusinessObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "initBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.BusinessObject _result; try { _result = _localServant.initBusinessObject(btmName); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.BusinessObject revisionBusinessObjectWithLink(com.vci.corba.omd.data.BusinessObject bo, java.lang.String[] linkTypes, boolean isRev, boolean isSave, boolean isFromLinkCopy, boolean isToLinkCopy) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "revisionBusinessObjectWithLink", true); com.vci.corba.omd.data.BusinessObjectHelper.write(_os,bo); com.vci.corba.common.data.WStringArrayHelper.write(_os,linkTypes); _os.write_boolean(isRev); _os.write_boolean(isSave); _os.write_boolean(isFromLinkCopy); _os.write_boolean(isToLinkCopy); _is = _invoke(_os); com.vci.corba.omd.data.BusinessObject _result = com.vci.corba.omd.data.BusinessObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "revisionBusinessObjectWithLink", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.BusinessObject _result; try { _result = _localServant.revisionBusinessObjectWithLink(bo,linkTypes,isRev,isSave,isFromLinkCopy,isToLinkCopy); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.BusinessObject[] batchCreateBusinessObject(com.vci.corba.omd.data.BusinessObject[] bo, boolean isRevision, boolean isNewVersion) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "batchCreateBusinessObject", true); com.vci.corba.omd.data.BusinessObjectListHelper.write(_os,bo); _os.write_boolean(isRevision); _os.write_boolean(isNewVersion); _is = _invoke(_os); com.vci.corba.omd.data.BusinessObject[] _result = com.vci.corba.omd.data.BusinessObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "batchCreateBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.BusinessObject[] _result; try { _result = _localServant.batchCreateBusinessObject(bo,isRevision,isNewVersion); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.LinkObject initLinkObject(java.lang.String ltName) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "initLinkObject", true); java.lang.String tmpResult1148 = ltName; _os.write_wstring( tmpResult1148 ); _is = _invoke(_os); com.vci.corba.omd.data.LinkObject _result = com.vci.corba.omd.data.LinkObjectHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "initLinkObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.LinkObject _result; try { _result = _localServant.initLinkObject(ltName); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.data.BusinessObject[] getBatchBusinessObject(java.lang.String[] oids, java.lang.String btmName) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getBatchBusinessObject", true); com.vci.corba.common.data.WStringArrayHelper.write(_os,oids); java.lang.String tmpResult1149 = btmName; _os.write_wstring( tmpResult1149 ); _is = _invoke(_os); com.vci.corba.omd.data.BusinessObject[] _result = com.vci.corba.omd.data.BusinessObjectListHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getBatchBusinessObject", _opsClass ); if( _so == null ) continue; BOFactoryServiceOperations _localServant = (BOFactoryServiceOperations)_so.servant; com.vci.corba.omd.data.BusinessObject[] _result; try { _result = _localServant.getBatchBusinessObject(oids,btmName); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } }