1 package org.opencrx.kernel.base.cci; 14 15 public class ObjectRemovalAuditEntryImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ObjectRemovalAuditEntry { 18 19 public ObjectRemovalAuditEntryImpl( 20 org.openmdx.base.accessor.generic.cci.Object_1_0 object, 21 javax.jmi.reflect.RefClass refClass 22 ) { 23 super(object, refClass); 24 } 25 26 public String getAuditee( 30 ) { 31 return getAuditee(0); 32 } 33 34 protected String getAuditee( 35 int index 36 ) { 37 return (String )this.refGetValue("org:opencrx:kernel:base:AuditEntry:auditee", index); 38 } 39 40 public void setAuditee( 44 String newValue 45 ) { 46 setAuditee(0, newValue); 47 } 48 49 protected void setAuditee( 50 int index, 51 String newValue 52 ) { 53 refSetValue("org:opencrx:kernel:base:AuditEntry:auditee", index, newValue); 54 } 55 public org.opencrx.kernel.base.cci.TestAndSetVisitedByResult testAndSetVisitedBy( 59 org.opencrx.kernel.base.cci.TestAndSetVisitedByParams params 60 ) throws javax.jmi.reflect.RefException { 61 java.util.List args = new java.util.ArrayList (); 62 args.add(params); 63 return (org.opencrx.kernel.base.cci.TestAndSetVisitedByResult)refInvokeOperation( 64 "org:opencrx:kernel:base:AuditEntry:testAndSetVisitedBy", 65 args 66 ); 67 } 68 69 public org.opencrx.kernel.base.cci.TestAndSetVisitedByResult testAndSetVisitedBy( 70 String visitorId 71 ) throws javax.jmi.reflect.RefException { 72 return testAndSetVisitedBy( 73 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createTestAndSetVisitedByParams( 74 visitorId 75 ) 76 ); 77 } 78 79 public String getUnitOfWork ( 83 ) { 84 return (String )this.refGetValue("unitOfWork", 0); 85 } 86 public void setUnitOfWork( 90 String newValue 91 ) { 92 refSetValue("org:opencrx:kernel:base:AuditEntry:unitOfWork", 0, newValue); 93 } 94 95 public String getVisitedAt ( 99 ) { 100 return (String )this.refGetValue("visitedAt", 0); 101 } 102 public void setVisitedAt( 106 String newValue 107 ) { 108 refSetValue("org:opencrx:kernel:base:AuditEntry:visitedAt", 0, newValue); 109 } 110 111 public java.util.Set getVisitedBy ( 115 ) { 116 return (java.util.Set )this.refGetValue("visitedBy"); 117 } 118 public void setVisitedBy( 122 java.util.Set newValue 123 ) { 124 refSetValue("org:opencrx:kernel:base:AuditEntry:visitedBy", newValue); 125 } 126 127 public void setVisitedBy( 128 String [] newValue 129 ) { 130 refSetValue("org:opencrx:kernel:base:AuditEntry:visitedBy", newValue); 131 } 132 133 public String getBeforeImage( 137 ) { 138 return getBeforeImage(0); 139 } 140 141 protected String getBeforeImage( 142 int index 143 ) { 144 return (String )this.refGetValue("org:opencrx:kernel:base:ObjectRemovalAuditEntry:beforeImage", index); 145 } 146 147 public void setBeforeImage( 151 String newValue 152 ) { 153 setBeforeImage(0, newValue); 154 } 155 156 protected void setBeforeImage( 157 int index, 158 String newValue 159 ) { 160 refSetValue("org:opencrx:kernel:base:ObjectRemovalAuditEntry:beforeImage", index, newValue); 161 } 162 public short getAccessLevelBrowse( 166 ) { 167 return getAccessLevelBrowse(0); 168 } 169 170 protected short getAccessLevelBrowse( 171 int index 172 ) { 173 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 174 } 175 176 public void setAccessLevelBrowse( 180 short newValue 181 ) { 182 setAccessLevelBrowse(0, newValue); 183 } 184 185 protected void setAccessLevelBrowse( 186 int index, 187 short newValue 188 ) { 189 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 190 } 191 public short getAccessLevelDelete( 195 ) { 196 return getAccessLevelDelete(0); 197 } 198 199 protected short getAccessLevelDelete( 200 int index 201 ) { 202 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 203 } 204 205 public void setAccessLevelDelete( 209 short newValue 210 ) { 211 setAccessLevelDelete(0, newValue); 212 } 213 214 protected void setAccessLevelDelete( 215 int index, 216 short newValue 217 ) { 218 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 219 } 220 public short getAccessLevelUpdate( 224 ) { 225 return getAccessLevelUpdate(0); 226 } 227 228 protected short getAccessLevelUpdate( 229 int index 230 ) { 231 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 232 } 233 234 public void setAccessLevelUpdate( 238 short newValue 239 ) { 240 setAccessLevelUpdate(0, newValue); 241 } 242 243 protected void setAccessLevelUpdate( 244 int index, 245 short newValue 246 ) { 247 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 248 } 249 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 253 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 254 ) throws javax.jmi.reflect.RefException { 255 java.util.List args = new java.util.ArrayList (); 256 args.add(params); 257 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 258 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 259 args 260 ); 261 } 262 263 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 264 org.opencrx.security.realm1.cci.PrincipalGroup group 265 , short mode 266 ) throws javax.jmi.reflect.RefException { 267 return addOwningGroup( 268 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 269 group 270 , mode 271 ) 272 ); 273 } 274 275 public java.util.List getOwner ( 279 ) { 280 return (java.util.List )this.refGetValue("owner"); 281 } 282 public String getOwner( 283 int index 284 ) { 285 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 286 } 287 288 protected void setOwner( 292 java.util.List newValue 293 ) { 294 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 295 } 296 297 protected void setOwner( 298 String [] newValue 299 ) { 300 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 301 } 302 303 public void setOwningGroup( 307 java.util.List newValue 308 ) { 309 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 310 } 311 312 public void setOwningGroup( 313 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 314 ) { 315 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 316 } 317 318 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 322 int index 323 ) { 324 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 325 "org:opencrx:kernel:base:SecureObject:owningGroup", 326 new Integer (index) 327 ); 328 } 329 330 public java.util.Collection getOwningGroup( 334 ) { 335 return (java.util.Collection )refGetValue( 336 "org:opencrx:kernel:base:SecureObject:owningGroup" 337 ); 338 } 339 340 public void addOwningGroup ( 344 int index, 345 org.opencrx.security.realm1.cci.PrincipalGroup newValue 346 ) { 347 refAddValue( 348 "org:opencrx:kernel:base:SecureObject:owningGroup", 349 new Integer (index), 350 newValue 351 ); 352 } 353 354 public void addOwningGroup ( 358 org.opencrx.security.realm1.cci.PrincipalGroup newValue 359 ) { 360 refAddValue( 361 "org:opencrx:kernel:base:SecureObject:owningGroup", 362 newValue 363 ); 364 } 365 366 public void removeOwningGroup ( 370 int index 371 ) { 372 refRemoveValue( 373 "org:opencrx:kernel:base:SecureObject:owningGroup", 374 new Integer (index) 375 ); 376 } 377 378 public org.opencrx.security.realm1.cci.User getOwningUser( 382 ) { 383 return (org.opencrx.security.realm1.cci.User)refGetValue( 384 "org:opencrx:kernel:base:SecureObject:owningUser" 385 ); 386 } 387 388 public void setOwningUser( 392 org.opencrx.security.realm1.cci.User newValue 393 ) { 394 refSetValue( 395 "org:opencrx:kernel:base:SecureObject:owningUser", 396 newValue 397 ); 398 } 399 400 public void removeOwningUser ( 404 ) { 405 refRemoveValue( 406 "org:opencrx:kernel:base:SecureObject:owningUser" 407 ); 408 } 409 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 413 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 414 ) throws javax.jmi.reflect.RefException { 415 java.util.List args = new java.util.ArrayList (); 416 args.add(params); 417 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 418 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 419 args 420 ); 421 } 422 423 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 424 short mode 425 ) throws javax.jmi.reflect.RefException { 426 return removeAllOwningGroup( 427 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 428 mode 429 ) 430 ); 431 } 432 433 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 437 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 438 ) throws javax.jmi.reflect.RefException { 439 java.util.List args = new java.util.ArrayList (); 440 args.add(params); 441 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 442 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 443 args 444 ); 445 } 446 447 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 448 org.opencrx.security.realm1.cci.PrincipalGroup group 449 , short mode 450 ) throws javax.jmi.reflect.RefException { 451 return removeOwningGroup( 452 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 453 group 454 , mode 455 ) 456 ); 457 } 458 459 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 463 org.opencrx.kernel.base.cci.SetAccessLevelParams params 464 ) throws javax.jmi.reflect.RefException { 465 java.util.List args = new java.util.ArrayList (); 466 args.add(params); 467 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 468 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 469 args 470 ); 471 } 472 473 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 474 short accessLevelBrowse 475 , short accessLevelDelete 476 , short accessLevelUpdate 477 , short mode 478 ) throws javax.jmi.reflect.RefException { 479 return setAccessLevel( 480 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 481 accessLevelBrowse 482 , accessLevelDelete 483 , accessLevelUpdate 484 , mode 485 ) 486 ); 487 } 488 489 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 493 org.opencrx.kernel.base.cci.SetOwningUserParams params 494 ) throws javax.jmi.reflect.RefException { 495 java.util.List args = new java.util.ArrayList (); 496 args.add(params); 497 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 498 "org:opencrx:kernel:base:SecureObject:setOwningUser", 499 args 500 ); 501 } 502 503 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 504 short mode 505 , org.opencrx.security.realm1.cci.User user 506 ) throws javax.jmi.reflect.RefException { 507 return setOwningUser( 508 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 509 mode 510 , user 511 ) 512 ); 513 } 514 515 public java.util.Date getCreatedAt( 519 ) { 520 return getCreatedAt(0); 521 } 522 523 protected java.util.Date getCreatedAt( 524 int index 525 ) { 526 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 527 } 528 529 protected void setCreatedAt( 533 java.util.Date newValue 534 ) { 535 setCreatedAt(0, newValue); 536 } 537 538 protected void setCreatedAt( 539 int index, 540 java.util.Date newValue 541 ) { 542 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 543 } 544 public java.util.Set getCreatedBy ( 548 ) { 549 return (java.util.Set )this.refGetValue("createdBy"); 550 } 551 protected void setCreatedBy( 555 java.util.Set newValue 556 ) { 557 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 558 } 559 560 protected void setCreatedBy( 561 String [] newValue 562 ) { 563 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 564 } 565 566 public java.util.Date getModifiedAt( 570 ) { 571 return getModifiedAt(0); 572 } 573 574 protected java.util.Date getModifiedAt( 575 int index 576 ) { 577 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 578 } 579 580 protected void setModifiedAt( 584 java.util.Date newValue 585 ) { 586 setModifiedAt(0, newValue); 587 } 588 589 protected void setModifiedAt( 590 int index, 591 java.util.Date newValue 592 ) { 593 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 594 } 595 public java.util.Set getModifiedBy ( 599 ) { 600 return (java.util.Set )this.refGetValue("modifiedBy"); 601 } 602 protected void setModifiedBy( 606 java.util.Set newValue 607 ) { 608 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 609 } 610 611 protected void setModifiedBy( 612 String [] newValue 613 ) { 614 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 615 } 616 617 protected void setContext( 621 java.util.List newValue 622 ) { 623 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 624 } 625 626 protected void setContext( 627 org.openmdx.base.cci.Context[] newValue 628 ) { 629 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 630 } 631 632 public org.openmdx.base.cci.Context getContext( 636 String id 637 ) { 638 return (org.openmdx.base.cci.Context)refGetValue( 639 "org:openmdx:base:ContextCapable:context", 640 id 641 ); 642 } 643 644 public java.util.Collection getContext( 648 ) { 649 return (java.util.Collection )refGetValue( 650 "org:openmdx:base:ContextCapable:context" 651 ); 652 } 653 654 protected void addContext ( 658 String id, 659 org.openmdx.base.cci.Context newValue 660 ) { 661 refAddValue( 662 "org:openmdx:base:ContextCapable:context", 663 id, 664 newValue 665 ); 666 } 667 668 protected void addContext ( 672 org.openmdx.base.cci.Context newValue 673 ) { 674 refAddValue( 675 "org:openmdx:base:ContextCapable:context", 676 newValue 677 ); 678 } 679 680 protected void removeContext ( 684 String id 685 ) { 686 refRemoveValue( 687 "org:openmdx:base:ContextCapable:context", 688 id 689 ); 690 } 691 692 public String getIdentity( 696 ) { 697 return getIdentity(0); 698 } 699 700 protected String getIdentity( 701 int index 702 ) { 703 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 704 } 705 706 protected void setIdentity( 710 String newValue 711 ) { 712 setIdentity(0, newValue); 713 } 714 715 protected void setIdentity( 716 int index, 717 String newValue 718 ) { 719 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 720 } 721 protected void setView( 725 java.util.List newValue 726 ) { 727 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 728 } 729 730 protected void setView( 731 org.openmdx.compatibility.view1.cci.View[] newValue 732 ) { 733 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 734 } 735 736 public org.openmdx.compatibility.view1.cci.View getView( 740 String namespace 741 ) { 742 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 743 "org:openmdx:compatibility:view1:ViewCapable:view", 744 namespace 745 ); 746 } 747 748 public java.util.Collection getView( 752 ) { 753 return (java.util.Collection )refGetValue( 754 "org:openmdx:compatibility:view1:ViewCapable:view" 755 ); 756 } 757 758 public java.util.List getView( 759 org.openmdx.compatibility.view1.cci.ViewFilter filter 760 ) { 761 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 762 "org:openmdx:compatibility:view1:ViewCapable:view" 763 )).toList(filter); 764 } 765 766 protected void addView ( 770 String namespace, 771 org.openmdx.compatibility.view1.cci.View newValue 772 ) { 773 refAddValue( 774 "org:openmdx:compatibility:view1:ViewCapable:view", 775 namespace, 776 newValue 777 ); 778 } 779 780 protected void addView ( 784 org.openmdx.compatibility.view1.cci.View newValue 785 ) { 786 refAddValue( 787 "org:openmdx:compatibility:view1:ViewCapable:view", 788 newValue 789 ); 790 } 791 792 protected void removeView ( 796 String namespace 797 ) { 798 refRemoveValue( 799 "org:openmdx:compatibility:view1:ViewCapable:view", 800 namespace 801 ); 802 } 803 804 } 808 | Popular Tags |