1 package org.opencrx.kernel.base.cci; 14 15 public class ObjectModificationAuditEntryImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ObjectModificationAuditEntry { 18 19 public ObjectModificationAuditEntryImpl( 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:ObjectModificationAuditEntry: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:ObjectModificationAuditEntry:beforeImage", index, newValue); 161 } 162 public String getModifiedFeatures( 166 ) { 167 return getModifiedFeatures(0); 168 } 169 170 protected String getModifiedFeatures( 171 int index 172 ) { 173 return (String )this.refGetValue("org:opencrx:kernel:base:ObjectModificationAuditEntry:modifiedFeatures", index); 174 } 175 176 public void setModifiedFeatures( 180 String newValue 181 ) { 182 setModifiedFeatures(0, newValue); 183 } 184 185 protected void setModifiedFeatures( 186 int index, 187 String newValue 188 ) { 189 refSetValue("org:opencrx:kernel:base:ObjectModificationAuditEntry:modifiedFeatures", index, newValue); 190 } 191 public short getAccessLevelBrowse( 195 ) { 196 return getAccessLevelBrowse(0); 197 } 198 199 protected short getAccessLevelBrowse( 200 int index 201 ) { 202 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 203 } 204 205 public void setAccessLevelBrowse( 209 short newValue 210 ) { 211 setAccessLevelBrowse(0, newValue); 212 } 213 214 protected void setAccessLevelBrowse( 215 int index, 216 short newValue 217 ) { 218 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 219 } 220 public short getAccessLevelDelete( 224 ) { 225 return getAccessLevelDelete(0); 226 } 227 228 protected short getAccessLevelDelete( 229 int index 230 ) { 231 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 232 } 233 234 public void setAccessLevelDelete( 238 short newValue 239 ) { 240 setAccessLevelDelete(0, newValue); 241 } 242 243 protected void setAccessLevelDelete( 244 int index, 245 short newValue 246 ) { 247 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 248 } 249 public short getAccessLevelUpdate( 253 ) { 254 return getAccessLevelUpdate(0); 255 } 256 257 protected short getAccessLevelUpdate( 258 int index 259 ) { 260 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 261 } 262 263 public void setAccessLevelUpdate( 267 short newValue 268 ) { 269 setAccessLevelUpdate(0, newValue); 270 } 271 272 protected void setAccessLevelUpdate( 273 int index, 274 short newValue 275 ) { 276 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 277 } 278 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 282 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 283 ) throws javax.jmi.reflect.RefException { 284 java.util.List args = new java.util.ArrayList (); 285 args.add(params); 286 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 287 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 288 args 289 ); 290 } 291 292 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 293 org.opencrx.security.realm1.cci.PrincipalGroup group 294 , short mode 295 ) throws javax.jmi.reflect.RefException { 296 return addOwningGroup( 297 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 298 group 299 , mode 300 ) 301 ); 302 } 303 304 public java.util.List getOwner ( 308 ) { 309 return (java.util.List )this.refGetValue("owner"); 310 } 311 public String getOwner( 312 int index 313 ) { 314 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 315 } 316 317 protected void setOwner( 321 java.util.List newValue 322 ) { 323 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 324 } 325 326 protected void setOwner( 327 String [] newValue 328 ) { 329 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 330 } 331 332 public void setOwningGroup( 336 java.util.List newValue 337 ) { 338 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 339 } 340 341 public void setOwningGroup( 342 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 343 ) { 344 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 345 } 346 347 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 351 int index 352 ) { 353 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 354 "org:opencrx:kernel:base:SecureObject:owningGroup", 355 new Integer (index) 356 ); 357 } 358 359 public java.util.Collection getOwningGroup( 363 ) { 364 return (java.util.Collection )refGetValue( 365 "org:opencrx:kernel:base:SecureObject:owningGroup" 366 ); 367 } 368 369 public void addOwningGroup ( 373 int index, 374 org.opencrx.security.realm1.cci.PrincipalGroup newValue 375 ) { 376 refAddValue( 377 "org:opencrx:kernel:base:SecureObject:owningGroup", 378 new Integer (index), 379 newValue 380 ); 381 } 382 383 public void addOwningGroup ( 387 org.opencrx.security.realm1.cci.PrincipalGroup newValue 388 ) { 389 refAddValue( 390 "org:opencrx:kernel:base:SecureObject:owningGroup", 391 newValue 392 ); 393 } 394 395 public void removeOwningGroup ( 399 int index 400 ) { 401 refRemoveValue( 402 "org:opencrx:kernel:base:SecureObject:owningGroup", 403 new Integer (index) 404 ); 405 } 406 407 public org.opencrx.security.realm1.cci.User getOwningUser( 411 ) { 412 return (org.opencrx.security.realm1.cci.User)refGetValue( 413 "org:opencrx:kernel:base:SecureObject:owningUser" 414 ); 415 } 416 417 public void setOwningUser( 421 org.opencrx.security.realm1.cci.User newValue 422 ) { 423 refSetValue( 424 "org:opencrx:kernel:base:SecureObject:owningUser", 425 newValue 426 ); 427 } 428 429 public void removeOwningUser ( 433 ) { 434 refRemoveValue( 435 "org:opencrx:kernel:base:SecureObject:owningUser" 436 ); 437 } 438 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 442 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 443 ) throws javax.jmi.reflect.RefException { 444 java.util.List args = new java.util.ArrayList (); 445 args.add(params); 446 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 447 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 448 args 449 ); 450 } 451 452 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 453 short mode 454 ) throws javax.jmi.reflect.RefException { 455 return removeAllOwningGroup( 456 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 457 mode 458 ) 459 ); 460 } 461 462 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 466 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 467 ) throws javax.jmi.reflect.RefException { 468 java.util.List args = new java.util.ArrayList (); 469 args.add(params); 470 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 471 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 472 args 473 ); 474 } 475 476 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 477 org.opencrx.security.realm1.cci.PrincipalGroup group 478 , short mode 479 ) throws javax.jmi.reflect.RefException { 480 return removeOwningGroup( 481 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 482 group 483 , mode 484 ) 485 ); 486 } 487 488 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 492 org.opencrx.kernel.base.cci.SetAccessLevelParams params 493 ) throws javax.jmi.reflect.RefException { 494 java.util.List args = new java.util.ArrayList (); 495 args.add(params); 496 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 497 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 498 args 499 ); 500 } 501 502 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 503 short accessLevelBrowse 504 , short accessLevelDelete 505 , short accessLevelUpdate 506 , short mode 507 ) throws javax.jmi.reflect.RefException { 508 return setAccessLevel( 509 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 510 accessLevelBrowse 511 , accessLevelDelete 512 , accessLevelUpdate 513 , mode 514 ) 515 ); 516 } 517 518 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 522 org.opencrx.kernel.base.cci.SetOwningUserParams params 523 ) throws javax.jmi.reflect.RefException { 524 java.util.List args = new java.util.ArrayList (); 525 args.add(params); 526 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 527 "org:opencrx:kernel:base:SecureObject:setOwningUser", 528 args 529 ); 530 } 531 532 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 533 short mode 534 , org.opencrx.security.realm1.cci.User user 535 ) throws javax.jmi.reflect.RefException { 536 return setOwningUser( 537 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 538 mode 539 , user 540 ) 541 ); 542 } 543 544 public java.util.Date getCreatedAt( 548 ) { 549 return getCreatedAt(0); 550 } 551 552 protected java.util.Date getCreatedAt( 553 int index 554 ) { 555 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 556 } 557 558 protected void setCreatedAt( 562 java.util.Date newValue 563 ) { 564 setCreatedAt(0, newValue); 565 } 566 567 protected void setCreatedAt( 568 int index, 569 java.util.Date newValue 570 ) { 571 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 572 } 573 public java.util.Set getCreatedBy ( 577 ) { 578 return (java.util.Set )this.refGetValue("createdBy"); 579 } 580 protected void setCreatedBy( 584 java.util.Set newValue 585 ) { 586 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 587 } 588 589 protected void setCreatedBy( 590 String [] newValue 591 ) { 592 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 593 } 594 595 public java.util.Date getModifiedAt( 599 ) { 600 return getModifiedAt(0); 601 } 602 603 protected java.util.Date getModifiedAt( 604 int index 605 ) { 606 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 607 } 608 609 protected void setModifiedAt( 613 java.util.Date newValue 614 ) { 615 setModifiedAt(0, newValue); 616 } 617 618 protected void setModifiedAt( 619 int index, 620 java.util.Date newValue 621 ) { 622 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 623 } 624 public java.util.Set getModifiedBy ( 628 ) { 629 return (java.util.Set )this.refGetValue("modifiedBy"); 630 } 631 protected void setModifiedBy( 635 java.util.Set newValue 636 ) { 637 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 638 } 639 640 protected void setModifiedBy( 641 String [] newValue 642 ) { 643 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 644 } 645 646 protected void setContext( 650 java.util.List newValue 651 ) { 652 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 653 } 654 655 protected void setContext( 656 org.openmdx.base.cci.Context[] newValue 657 ) { 658 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 659 } 660 661 public org.openmdx.base.cci.Context getContext( 665 String id 666 ) { 667 return (org.openmdx.base.cci.Context)refGetValue( 668 "org:openmdx:base:ContextCapable:context", 669 id 670 ); 671 } 672 673 public java.util.Collection getContext( 677 ) { 678 return (java.util.Collection )refGetValue( 679 "org:openmdx:base:ContextCapable:context" 680 ); 681 } 682 683 protected void addContext ( 687 String id, 688 org.openmdx.base.cci.Context newValue 689 ) { 690 refAddValue( 691 "org:openmdx:base:ContextCapable:context", 692 id, 693 newValue 694 ); 695 } 696 697 protected void addContext ( 701 org.openmdx.base.cci.Context newValue 702 ) { 703 refAddValue( 704 "org:openmdx:base:ContextCapable:context", 705 newValue 706 ); 707 } 708 709 protected void removeContext ( 713 String id 714 ) { 715 refRemoveValue( 716 "org:openmdx:base:ContextCapable:context", 717 id 718 ); 719 } 720 721 public String getIdentity( 725 ) { 726 return getIdentity(0); 727 } 728 729 protected String getIdentity( 730 int index 731 ) { 732 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 733 } 734 735 protected void setIdentity( 739 String newValue 740 ) { 741 setIdentity(0, newValue); 742 } 743 744 protected void setIdentity( 745 int index, 746 String newValue 747 ) { 748 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 749 } 750 protected void setView( 754 java.util.List newValue 755 ) { 756 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 757 } 758 759 protected void setView( 760 org.openmdx.compatibility.view1.cci.View[] newValue 761 ) { 762 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 763 } 764 765 public org.openmdx.compatibility.view1.cci.View getView( 769 String namespace 770 ) { 771 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 772 "org:openmdx:compatibility:view1:ViewCapable:view", 773 namespace 774 ); 775 } 776 777 public java.util.Collection getView( 781 ) { 782 return (java.util.Collection )refGetValue( 783 "org:openmdx:compatibility:view1:ViewCapable:view" 784 ); 785 } 786 787 public java.util.List getView( 788 org.openmdx.compatibility.view1.cci.ViewFilter filter 789 ) { 790 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 791 "org:openmdx:compatibility:view1:ViewCapable:view" 792 )).toList(filter); 793 } 794 795 protected void addView ( 799 String namespace, 800 org.openmdx.compatibility.view1.cci.View newValue 801 ) { 802 refAddValue( 803 "org:openmdx:compatibility:view1:ViewCapable:view", 804 namespace, 805 newValue 806 ); 807 } 808 809 protected void addView ( 813 org.openmdx.compatibility.view1.cci.View newValue 814 ) { 815 refAddValue( 816 "org:openmdx:compatibility:view1:ViewCapable:view", 817 newValue 818 ); 819 } 820 821 protected void removeView ( 825 String namespace 826 ) { 827 refRemoveValue( 828 "org:openmdx:compatibility:view1:ViewCapable:view", 829 namespace 830 ); 831 } 832 833 } 837 | Popular Tags |