1 4 package hero.interfaces; 5 6 public final class JOnASProjectSoapBasic262254701Remote_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.ProjectSoapBasic, java.rmi.Remote , javax.ejb.EJBObject 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("java.lang.Object getAllUsers()[]"), 12 new java.rmi.server.Operation ("java.lang.String getCreator()"), 13 new java.rmi.server.Operation ("javax.ejb.EJBHome getEJBHome()"), 14 new java.rmi.server.Operation ("java.lang.Object getEdges()[]"), 15 new java.rmi.server.Operation ("javax.ejb.Handle getHandle()"), 16 new java.rmi.server.Operation ("java.lang.String getName()"), 17 new java.rmi.server.Operation ("java.lang.Object getNodeDetails(java.lang.String)[]"), 18 new java.rmi.server.Operation ("java.lang.String getNodeExecutor(java.lang.String)"), 19 new java.rmi.server.Operation ("java.lang.Object getNodeInEdges(java.lang.String)[]"), 20 new java.rmi.server.Operation ("java.lang.Object getNodeOutEdges(java.lang.String)[]"), 21 new java.rmi.server.Operation ("int getNodeState(java.lang.String)"), 22 new java.rmi.server.Operation ("int getNodeType(java.lang.String)"), 23 new java.rmi.server.Operation ("java.lang.Object getNodes()[]"), 24 new java.rmi.server.Operation ("java.lang.Object getNodesNames()[]"), 25 new java.rmi.server.Operation ("java.lang.Object getPrimaryKey()"), 26 new java.rmi.server.Operation ("java.lang.Object getRolesNames()[]"), 27 new java.rmi.server.Operation ("java.lang.Object getUserRolesInProjectNames(java.lang.String)[]"), 28 new java.rmi.server.Operation ("java.lang.Object getUsers()[]"), 29 new java.rmi.server.Operation ("void initProject(java.lang.String)"), 30 new java.rmi.server.Operation ("boolean isIdentical(javax.ejb.EJBObject)"), 31 new java.rmi.server.Operation ("void remove()") 32 }; 33 34 private static final long interfaceHash = 4494775153065972951L; 35 36 private static final long serialVersionUID = 2; 37 38 private static boolean useNewInvoke; 39 private static java.lang.reflect.Method $method_getAllUsers_0; 40 private static java.lang.reflect.Method $method_getCreator_1; 41 private static java.lang.reflect.Method $method_getEJBHome_2; 42 private static java.lang.reflect.Method $method_getEdges_3; 43 private static java.lang.reflect.Method $method_getHandle_4; 44 private static java.lang.reflect.Method $method_getName_5; 45 private static java.lang.reflect.Method $method_getNodeDetails_6; 46 private static java.lang.reflect.Method $method_getNodeExecutor_7; 47 private static java.lang.reflect.Method $method_getNodeInEdges_8; 48 private static java.lang.reflect.Method $method_getNodeOutEdges_9; 49 private static java.lang.reflect.Method $method_getNodeState_10; 50 private static java.lang.reflect.Method $method_getNodeType_11; 51 private static java.lang.reflect.Method $method_getNodes_12; 52 private static java.lang.reflect.Method $method_getNodesNames_13; 53 private static java.lang.reflect.Method $method_getPrimaryKey_14; 54 private static java.lang.reflect.Method $method_getRolesNames_15; 55 private static java.lang.reflect.Method $method_getUserRolesInProjectNames_16; 56 private static java.lang.reflect.Method $method_getUsers_17; 57 private static java.lang.reflect.Method $method_initProject_18; 58 private static java.lang.reflect.Method $method_isIdentical_19; 59 private static java.lang.reflect.Method $method_remove_20; 60 61 static { 62 try { 63 java.rmi.server.RemoteRef .class.getMethod("invoke", 64 new java.lang.Class [] { 65 java.rmi.Remote .class, 66 java.lang.reflect.Method .class, 67 java.lang.Object [].class, 68 long.class 69 }); 70 useNewInvoke = true; 71 $method_getAllUsers_0 = hero.interfaces.ProjectSoapBasic.class.getMethod("getAllUsers", new java.lang.Class [] {}); 72 $method_getCreator_1 = hero.interfaces.ProjectSoapBasic.class.getMethod("getCreator", new java.lang.Class [] {}); 73 $method_getEJBHome_2 = javax.ejb.EJBObject .class.getMethod("getEJBHome", new java.lang.Class [] {}); 74 $method_getEdges_3 = hero.interfaces.ProjectSoapBasic.class.getMethod("getEdges", new java.lang.Class [] {}); 75 $method_getHandle_4 = javax.ejb.EJBObject .class.getMethod("getHandle", new java.lang.Class [] {}); 76 $method_getName_5 = hero.interfaces.ProjectSoapBasic.class.getMethod("getName", new java.lang.Class [] {}); 77 $method_getNodeDetails_6 = hero.interfaces.ProjectSoapBasic.class.getMethod("getNodeDetails", new java.lang.Class [] {java.lang.String .class}); 78 $method_getNodeExecutor_7 = hero.interfaces.ProjectSoapBasic.class.getMethod("getNodeExecutor", new java.lang.Class [] {java.lang.String .class}); 79 $method_getNodeInEdges_8 = hero.interfaces.ProjectSoapBasic.class.getMethod("getNodeInEdges", new java.lang.Class [] {java.lang.String .class}); 80 $method_getNodeOutEdges_9 = hero.interfaces.ProjectSoapBasic.class.getMethod("getNodeOutEdges", new java.lang.Class [] {java.lang.String .class}); 81 $method_getNodeState_10 = hero.interfaces.ProjectSoapBasic.class.getMethod("getNodeState", new java.lang.Class [] {java.lang.String .class}); 82 $method_getNodeType_11 = hero.interfaces.ProjectSoapBasic.class.getMethod("getNodeType", new java.lang.Class [] {java.lang.String .class}); 83 $method_getNodes_12 = hero.interfaces.ProjectSoapBasic.class.getMethod("getNodes", new java.lang.Class [] {}); 84 $method_getNodesNames_13 = hero.interfaces.ProjectSoapBasic.class.getMethod("getNodesNames", new java.lang.Class [] {}); 85 $method_getPrimaryKey_14 = javax.ejb.EJBObject .class.getMethod("getPrimaryKey", new java.lang.Class [] {}); 86 $method_getRolesNames_15 = hero.interfaces.ProjectSoapBasic.class.getMethod("getRolesNames", new java.lang.Class [] {}); 87 $method_getUserRolesInProjectNames_16 = hero.interfaces.ProjectSoapBasic.class.getMethod("getUserRolesInProjectNames", new java.lang.Class [] {java.lang.String .class}); 88 $method_getUsers_17 = hero.interfaces.ProjectSoapBasic.class.getMethod("getUsers", new java.lang.Class [] {}); 89 $method_initProject_18 = hero.interfaces.ProjectSoapBasic.class.getMethod("initProject", new java.lang.Class [] {java.lang.String .class}); 90 $method_isIdentical_19 = javax.ejb.EJBObject .class.getMethod("isIdentical", new java.lang.Class [] {javax.ejb.EJBObject .class}); 91 $method_remove_20 = javax.ejb.EJBObject .class.getMethod("remove", new java.lang.Class [] {}); 92 } catch (java.lang.NoSuchMethodException e) { 93 useNewInvoke = false; 94 } 95 } 96 97 public JOnASProjectSoapBasic262254701Remote_Stub() { 99 super(); 100 } 101 public JOnASProjectSoapBasic262254701Remote_Stub(java.rmi.server.RemoteRef ref) { 102 super(ref); 103 } 104 105 107 public java.lang.Object [] getAllUsers() 109 throws hero.util.HeroException, java.rmi.RemoteException 110 { 111 try { 112 if (useNewInvoke) { 113 Object $result = ref.invoke(this, $method_getAllUsers_0, null, 3265961076393535722L); 114 return ((java.lang.Object []) $result); 115 } else { 116 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 117 ref.invoke(call); 118 java.lang.Object [] $result; 119 try { 120 java.io.ObjectInput in = call.getInputStream(); 121 $result = (java.lang.Object []) in.readObject(); 122 } catch (java.io.IOException e) { 123 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 124 } catch (java.lang.ClassNotFoundException e) { 125 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 126 } finally { 127 ref.done(call); 128 } 129 return $result; 130 } 131 } catch (java.lang.RuntimeException e) { 132 throw e; 133 } catch (java.rmi.RemoteException e) { 134 throw e; 135 } catch (hero.util.HeroException e) { 136 throw e; 137 } catch (java.lang.Exception e) { 138 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 139 } 140 } 141 142 public java.lang.String getCreator() 144 throws hero.util.HeroException, java.rmi.RemoteException 145 { 146 try { 147 if (useNewInvoke) { 148 Object $result = ref.invoke(this, $method_getCreator_1, null, 140818847009154323L); 149 return ((java.lang.String ) $result); 150 } else { 151 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 1, interfaceHash); 152 ref.invoke(call); 153 java.lang.String $result; 154 try { 155 java.io.ObjectInput in = call.getInputStream(); 156 $result = (java.lang.String ) in.readObject(); 157 } catch (java.io.IOException e) { 158 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 159 } catch (java.lang.ClassNotFoundException e) { 160 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 161 } finally { 162 ref.done(call); 163 } 164 return $result; 165 } 166 } catch (java.lang.RuntimeException e) { 167 throw e; 168 } catch (java.rmi.RemoteException e) { 169 throw e; 170 } catch (hero.util.HeroException e) { 171 throw e; 172 } catch (java.lang.Exception e) { 173 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 174 } 175 } 176 177 public javax.ejb.EJBHome getEJBHome() 179 throws java.rmi.RemoteException 180 { 181 try { 182 if (useNewInvoke) { 183 Object $result = ref.invoke(this, $method_getEJBHome_2, null, 3163754803894080547L); 184 return ((javax.ejb.EJBHome ) $result); 185 } else { 186 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 187 ref.invoke(call); 188 javax.ejb.EJBHome $result; 189 try { 190 java.io.ObjectInput in = call.getInputStream(); 191 $result = (javax.ejb.EJBHome ) in.readObject(); 192 } catch (java.io.IOException e) { 193 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 194 } catch (java.lang.ClassNotFoundException e) { 195 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 196 } finally { 197 ref.done(call); 198 } 199 return $result; 200 } 201 } catch (java.lang.RuntimeException e) { 202 throw e; 203 } catch (java.rmi.RemoteException e) { 204 throw e; 205 } catch (java.lang.Exception e) { 206 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 207 } 208 } 209 210 public java.lang.Object [] getEdges() 212 throws hero.util.HeroException, java.rmi.RemoteException 213 { 214 try { 215 if (useNewInvoke) { 216 Object $result = ref.invoke(this, $method_getEdges_3, null, 6304727772010089924L); 217 return ((java.lang.Object []) $result); 218 } else { 219 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 220 ref.invoke(call); 221 java.lang.Object [] $result; 222 try { 223 java.io.ObjectInput in = call.getInputStream(); 224 $result = (java.lang.Object []) in.readObject(); 225 } catch (java.io.IOException e) { 226 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 227 } catch (java.lang.ClassNotFoundException e) { 228 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 229 } finally { 230 ref.done(call); 231 } 232 return $result; 233 } 234 } catch (java.lang.RuntimeException e) { 235 throw e; 236 } catch (java.rmi.RemoteException e) { 237 throw e; 238 } catch (hero.util.HeroException e) { 239 throw e; 240 } catch (java.lang.Exception e) { 241 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 242 } 243 } 244 245 public javax.ejb.Handle getHandle() 247 throws java.rmi.RemoteException 248 { 249 try { 250 if (useNewInvoke) { 251 Object $result = ref.invoke(this, $method_getHandle_4, null, -1299374689989208114L); 252 return ((javax.ejb.Handle ) $result); 253 } else { 254 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 255 ref.invoke(call); 256 javax.ejb.Handle $result; 257 try { 258 java.io.ObjectInput in = call.getInputStream(); 259 $result = (javax.ejb.Handle ) in.readObject(); 260 } catch (java.io.IOException e) { 261 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 262 } catch (java.lang.ClassNotFoundException e) { 263 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 264 } finally { 265 ref.done(call); 266 } 267 return $result; 268 } 269 } catch (java.lang.RuntimeException e) { 270 throw e; 271 } catch (java.rmi.RemoteException e) { 272 throw e; 273 } catch (java.lang.Exception e) { 274 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 275 } 276 } 277 278 public java.lang.String getName() 280 throws hero.util.HeroException, java.rmi.RemoteException 281 { 282 try { 283 if (useNewInvoke) { 284 Object $result = ref.invoke(this, $method_getName_5, null, 6317137956467216454L); 285 return ((java.lang.String ) $result); 286 } else { 287 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 288 ref.invoke(call); 289 java.lang.String $result; 290 try { 291 java.io.ObjectInput in = call.getInputStream(); 292 $result = (java.lang.String ) in.readObject(); 293 } catch (java.io.IOException e) { 294 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 295 } catch (java.lang.ClassNotFoundException e) { 296 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 297 } finally { 298 ref.done(call); 299 } 300 return $result; 301 } 302 } catch (java.lang.RuntimeException e) { 303 throw e; 304 } catch (java.rmi.RemoteException e) { 305 throw e; 306 } catch (hero.util.HeroException e) { 307 throw e; 308 } catch (java.lang.Exception e) { 309 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 310 } 311 } 312 313 public java.lang.Object [] getNodeDetails(java.lang.String $param_String_1) 315 throws hero.util.HeroException, java.rmi.RemoteException 316 { 317 try { 318 if (useNewInvoke) { 319 Object $result = ref.invoke(this, $method_getNodeDetails_6, new java.lang.Object [] {$param_String_1}, 6397987411531816725L); 320 return ((java.lang.Object []) $result); 321 } else { 322 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 323 try { 324 java.io.ObjectOutput out = call.getOutputStream(); 325 out.writeObject($param_String_1); 326 } catch (java.io.IOException e) { 327 throw new java.rmi.MarshalException ("error marshalling arguments", e); 328 } 329 ref.invoke(call); 330 java.lang.Object [] $result; 331 try { 332 java.io.ObjectInput in = call.getInputStream(); 333 $result = (java.lang.Object []) in.readObject(); 334 } catch (java.io.IOException e) { 335 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 336 } catch (java.lang.ClassNotFoundException e) { 337 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 338 } finally { 339 ref.done(call); 340 } 341 return $result; 342 } 343 } catch (java.lang.RuntimeException e) { 344 throw e; 345 } catch (java.rmi.RemoteException e) { 346 throw e; 347 } catch (hero.util.HeroException e) { 348 throw e; 349 } catch (java.lang.Exception e) { 350 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 351 } 352 } 353 354 public java.lang.String getNodeExecutor(java.lang.String $param_String_1) 356 throws hero.util.HeroException, java.rmi.RemoteException 357 { 358 try { 359 if (useNewInvoke) { 360 Object $result = ref.invoke(this, $method_getNodeExecutor_7, new java.lang.Object [] {$param_String_1}, 3030346555826249728L); 361 return ((java.lang.String ) $result); 362 } else { 363 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 364 try { 365 java.io.ObjectOutput out = call.getOutputStream(); 366 out.writeObject($param_String_1); 367 } catch (java.io.IOException e) { 368 throw new java.rmi.MarshalException ("error marshalling arguments", e); 369 } 370 ref.invoke(call); 371 java.lang.String $result; 372 try { 373 java.io.ObjectInput in = call.getInputStream(); 374 $result = (java.lang.String ) in.readObject(); 375 } catch (java.io.IOException e) { 376 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 377 } catch (java.lang.ClassNotFoundException e) { 378 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 379 } finally { 380 ref.done(call); 381 } 382 return $result; 383 } 384 } catch (java.lang.RuntimeException e) { 385 throw e; 386 } catch (java.rmi.RemoteException e) { 387 throw e; 388 } catch (hero.util.HeroException e) { 389 throw e; 390 } catch (java.lang.Exception e) { 391 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 392 } 393 } 394 395 public java.lang.Object [] getNodeInEdges(java.lang.String $param_String_1) 397 throws hero.util.HeroException, java.rmi.RemoteException 398 { 399 try { 400 if (useNewInvoke) { 401 Object $result = ref.invoke(this, $method_getNodeInEdges_8, new java.lang.Object [] {$param_String_1}, 3540066132526718161L); 402 return ((java.lang.Object []) $result); 403 } else { 404 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 8, interfaceHash); 405 try { 406 java.io.ObjectOutput out = call.getOutputStream(); 407 out.writeObject($param_String_1); 408 } catch (java.io.IOException e) { 409 throw new java.rmi.MarshalException ("error marshalling arguments", e); 410 } 411 ref.invoke(call); 412 java.lang.Object [] $result; 413 try { 414 java.io.ObjectInput in = call.getInputStream(); 415 $result = (java.lang.Object []) in.readObject(); 416 } catch (java.io.IOException e) { 417 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 418 } catch (java.lang.ClassNotFoundException e) { 419 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 420 } finally { 421 ref.done(call); 422 } 423 return $result; 424 } 425 } catch (java.lang.RuntimeException e) { 426 throw e; 427 } catch (java.rmi.RemoteException e) { 428 throw e; 429 } catch (hero.util.HeroException e) { 430 throw e; 431 } catch (java.lang.Exception e) { 432 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 433 } 434 } 435 436 public java.lang.Object [] getNodeOutEdges(java.lang.String $param_String_1) 438 throws hero.util.HeroException, java.rmi.RemoteException 439 { 440 try { 441 if (useNewInvoke) { 442 Object $result = ref.invoke(this, $method_getNodeOutEdges_9, new java.lang.Object [] {$param_String_1}, -2245312179187312051L); 443 return ((java.lang.Object []) $result); 444 } else { 445 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 9, interfaceHash); 446 try { 447 java.io.ObjectOutput out = call.getOutputStream(); 448 out.writeObject($param_String_1); 449 } catch (java.io.IOException e) { 450 throw new java.rmi.MarshalException ("error marshalling arguments", e); 451 } 452 ref.invoke(call); 453 java.lang.Object [] $result; 454 try { 455 java.io.ObjectInput in = call.getInputStream(); 456 $result = (java.lang.Object []) in.readObject(); 457 } catch (java.io.IOException e) { 458 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 459 } catch (java.lang.ClassNotFoundException e) { 460 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 461 } finally { 462 ref.done(call); 463 } 464 return $result; 465 } 466 } catch (java.lang.RuntimeException e) { 467 throw e; 468 } catch (java.rmi.RemoteException e) { 469 throw e; 470 } catch (hero.util.HeroException e) { 471 throw e; 472 } catch (java.lang.Exception e) { 473 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 474 } 475 } 476 477 public int getNodeState(java.lang.String $param_String_1) 479 throws hero.util.HeroException, java.rmi.RemoteException 480 { 481 try { 482 if (useNewInvoke) { 483 Object $result = ref.invoke(this, $method_getNodeState_10, new java.lang.Object [] {$param_String_1}, -8864676905033888205L); 484 return ((java.lang.Integer ) $result).intValue(); 485 } else { 486 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 10, interfaceHash); 487 try { 488 java.io.ObjectOutput out = call.getOutputStream(); 489 out.writeObject($param_String_1); 490 } catch (java.io.IOException e) { 491 throw new java.rmi.MarshalException ("error marshalling arguments", e); 492 } 493 ref.invoke(call); 494 int $result; 495 try { 496 java.io.ObjectInput in = call.getInputStream(); 497 $result = in.readInt(); 498 } catch (java.io.IOException e) { 499 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 500 } finally { 501 ref.done(call); 502 } 503 return $result; 504 } 505 } catch (java.lang.RuntimeException e) { 506 throw e; 507 } catch (java.rmi.RemoteException e) { 508 throw e; 509 } catch (hero.util.HeroException e) { 510 throw e; 511 } catch (java.lang.Exception e) { 512 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 513 } 514 } 515 516 public int getNodeType(java.lang.String $param_String_1) 518 throws hero.util.HeroException, java.rmi.RemoteException 519 { 520 try { 521 if (useNewInvoke) { 522 Object $result = ref.invoke(this, $method_getNodeType_11, new java.lang.Object [] {$param_String_1}, -3065655911984041848L); 523 return ((java.lang.Integer ) $result).intValue(); 524 } else { 525 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 11, interfaceHash); 526 try { 527 java.io.ObjectOutput out = call.getOutputStream(); 528 out.writeObject($param_String_1); 529 } catch (java.io.IOException e) { 530 throw new java.rmi.MarshalException ("error marshalling arguments", e); 531 } 532 ref.invoke(call); 533 int $result; 534 try { 535 java.io.ObjectInput in = call.getInputStream(); 536 $result = in.readInt(); 537 } catch (java.io.IOException e) { 538 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 539 } finally { 540 ref.done(call); 541 } 542 return $result; 543 } 544 } catch (java.lang.RuntimeException e) { 545 throw e; 546 } catch (java.rmi.RemoteException e) { 547 throw e; 548 } catch (hero.util.HeroException e) { 549 throw e; 550 } catch (java.lang.Exception e) { 551 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 552 } 553 } 554 555 public java.lang.Object [] getNodes() 557 throws hero.util.HeroException, java.rmi.RemoteException 558 { 559 try { 560 if (useNewInvoke) { 561 Object $result = ref.invoke(this, $method_getNodes_12, null, -4754363472143850664L); 562 return ((java.lang.Object []) $result); 563 } else { 564 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 12, interfaceHash); 565 ref.invoke(call); 566 java.lang.Object [] $result; 567 try { 568 java.io.ObjectInput in = call.getInputStream(); 569 $result = (java.lang.Object []) in.readObject(); 570 } catch (java.io.IOException e) { 571 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 572 } catch (java.lang.ClassNotFoundException e) { 573 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 574 } finally { 575 ref.done(call); 576 } 577 return $result; 578 } 579 } catch (java.lang.RuntimeException e) { 580 throw e; 581 } catch (java.rmi.RemoteException e) { 582 throw e; 583 } catch (hero.util.HeroException e) { 584 throw e; 585 } catch (java.lang.Exception e) { 586 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 587 } 588 } 589 590 public java.lang.Object [] getNodesNames() 592 throws hero.util.HeroException, java.rmi.RemoteException 593 { 594 try { 595 if (useNewInvoke) { 596 Object $result = ref.invoke(this, $method_getNodesNames_13, null, 2007917107362119433L); 597 return ((java.lang.Object []) $result); 598 } else { 599 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 13, interfaceHash); 600 ref.invoke(call); 601 java.lang.Object [] $result; 602 try { 603 java.io.ObjectInput in = call.getInputStream(); 604 $result = (java.lang.Object []) in.readObject(); 605 } catch (java.io.IOException e) { 606 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 607 } catch (java.lang.ClassNotFoundException e) { 608 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 609 } finally { 610 ref.done(call); 611 } 612 return $result; 613 } 614 } catch (java.lang.RuntimeException e) { 615 throw e; 616 } catch (java.rmi.RemoteException e) { 617 throw e; 618 } catch (hero.util.HeroException e) { 619 throw e; 620 } catch (java.lang.Exception e) { 621 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 622 } 623 } 624 625 public java.lang.Object getPrimaryKey() 627 throws java.rmi.RemoteException 628 { 629 try { 630 if (useNewInvoke) { 631 Object $result = ref.invoke(this, $method_getPrimaryKey_14, null, 4840115071604865751L); 632 return ((java.lang.Object ) $result); 633 } else { 634 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 14, interfaceHash); 635 ref.invoke(call); 636 java.lang.Object $result; 637 try { 638 java.io.ObjectInput in = call.getInputStream(); 639 $result = (java.lang.Object ) in.readObject(); 640 } catch (java.io.IOException e) { 641 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 642 } catch (java.lang.ClassNotFoundException e) { 643 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 644 } finally { 645 ref.done(call); 646 } 647 return $result; 648 } 649 } catch (java.lang.RuntimeException e) { 650 throw e; 651 } catch (java.rmi.RemoteException e) { 652 throw e; 653 } catch (java.lang.Exception e) { 654 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 655 } 656 } 657 658 public java.lang.Object [] getRolesNames() 660 throws hero.util.HeroException, java.rmi.RemoteException 661 { 662 try { 663 if (useNewInvoke) { 664 Object $result = ref.invoke(this, $method_getRolesNames_15, null, 6106635954241156859L); 665 return ((java.lang.Object []) $result); 666 } else { 667 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 15, interfaceHash); 668 ref.invoke(call); 669 java.lang.Object [] $result; 670 try { 671 java.io.ObjectInput in = call.getInputStream(); 672 $result = (java.lang.Object []) in.readObject(); 673 } catch (java.io.IOException e) { 674 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 675 } catch (java.lang.ClassNotFoundException e) { 676 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 677 } finally { 678 ref.done(call); 679 } 680 return $result; 681 } 682 } catch (java.lang.RuntimeException e) { 683 throw e; 684 } catch (java.rmi.RemoteException e) { 685 throw e; 686 } catch (hero.util.HeroException e) { 687 throw e; 688 } catch (java.lang.Exception e) { 689 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 690 } 691 } 692 693 public java.lang.Object [] getUserRolesInProjectNames(java.lang.String $param_String_1) 695 throws hero.util.HeroException, java.rmi.RemoteException 696 { 697 try { 698 if (useNewInvoke) { 699 Object $result = ref.invoke(this, $method_getUserRolesInProjectNames_16, new java.lang.Object [] {$param_String_1}, -1309926050060960561L); 700 return ((java.lang.Object []) $result); 701 } else { 702 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 16, interfaceHash); 703 try { 704 java.io.ObjectOutput out = call.getOutputStream(); 705 out.writeObject($param_String_1); 706 } catch (java.io.IOException e) { 707 throw new java.rmi.MarshalException ("error marshalling arguments", e); 708 } 709 ref.invoke(call); 710 java.lang.Object [] $result; 711 try { 712 java.io.ObjectInput in = call.getInputStream(); 713 $result = (java.lang.Object []) in.readObject(); 714 } catch (java.io.IOException e) { 715 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 716 } catch (java.lang.ClassNotFoundException e) { 717 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 718 } finally { 719 ref.done(call); 720 } 721 return $result; 722 } 723 } catch (java.lang.RuntimeException e) { 724 throw e; 725 } catch (java.rmi.RemoteException e) { 726 throw e; 727 } catch (hero.util.HeroException e) { 728 throw e; 729 } catch (java.lang.Exception e) { 730 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 731 } 732 } 733 734 public java.lang.Object [] getUsers() 736 throws hero.util.HeroException, java.rmi.RemoteException 737 { 738 try { 739 if (useNewInvoke) { 740 Object $result = ref.invoke(this, $method_getUsers_17, null, -4680340874022497850L); 741 return ((java.lang.Object []) $result); 742 } else { 743 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 17, interfaceHash); 744 ref.invoke(call); 745 java.lang.Object [] $result; 746 try { 747 java.io.ObjectInput in = call.getInputStream(); 748 $result = (java.lang.Object []) in.readObject(); 749 } catch (java.io.IOException e) { 750 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 751 } catch (java.lang.ClassNotFoundException e) { 752 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 753 } finally { 754 ref.done(call); 755 } 756 return $result; 757 } 758 } catch (java.lang.RuntimeException e) { 759 throw e; 760 } catch (java.rmi.RemoteException e) { 761 throw e; 762 } catch (hero.util.HeroException e) { 763 throw e; 764 } catch (java.lang.Exception e) { 765 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 766 } 767 } 768 769 public void initProject(java.lang.String $param_String_1) 771 throws hero.util.HeroException, java.rmi.RemoteException 772 { 773 try { 774 if (useNewInvoke) { 775 ref.invoke(this, $method_initProject_18, new java.lang.Object [] {$param_String_1}, 7738625122434396004L); 776 } else { 777 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 18, interfaceHash); 778 try { 779 java.io.ObjectOutput out = call.getOutputStream(); 780 out.writeObject($param_String_1); 781 } catch (java.io.IOException e) { 782 throw new java.rmi.MarshalException ("error marshalling arguments", e); 783 } 784 ref.invoke(call); 785 ref.done(call); 786 } 787 } catch (java.lang.RuntimeException e) { 788 throw e; 789 } catch (java.rmi.RemoteException e) { 790 throw e; 791 } catch (hero.util.HeroException e) { 792 throw e; 793 } catch (java.lang.Exception e) { 794 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 795 } 796 } 797 798 public boolean isIdentical(javax.ejb.EJBObject $param_EJBObject_1) 800 throws java.rmi.RemoteException 801 { 802 try { 803 if (useNewInvoke) { 804 Object $result = ref.invoke(this, $method_isIdentical_19, new java.lang.Object [] {$param_EJBObject_1}, -5909123752501984271L); 805 return ((java.lang.Boolean ) $result).booleanValue(); 806 } else { 807 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 19, interfaceHash); 808 try { 809 java.io.ObjectOutput out = call.getOutputStream(); 810 out.writeObject($param_EJBObject_1); 811 } catch (java.io.IOException e) { 812 throw new java.rmi.MarshalException ("error marshalling arguments", e); 813 } 814 ref.invoke(call); 815 boolean $result; 816 try { 817 java.io.ObjectInput in = call.getInputStream(); 818 $result = in.readBoolean(); 819 } catch (java.io.IOException e) { 820 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 821 } finally { 822 ref.done(call); 823 } 824 return $result; 825 } 826 } catch (java.lang.RuntimeException e) { 827 throw e; 828 } catch (java.rmi.RemoteException e) { 829 throw e; 830 } catch (java.lang.Exception e) { 831 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 832 } 833 } 834 835 public void remove() 837 throws java.rmi.RemoteException , javax.ejb.RemoveException 838 { 839 try { 840 if (useNewInvoke) { 841 ref.invoke(this, $method_remove_20, null, -5013858639939630501L); 842 } else { 843 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 20, interfaceHash); 844 ref.invoke(call); 845 ref.done(call); 846 } 847 } catch (java.lang.RuntimeException e) { 848 throw e; 849 } catch (java.rmi.RemoteException e) { 850 throw e; 851 } catch (javax.ejb.RemoveException e) { 852 throw e; 853 } catch (java.lang.Exception e) { 854 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 855 } 856 } 857 } 858 | Popular Tags |