1 package org.opencrx.kernel.base.cci; 14 15 public class AuditEntryImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements AuditEntry { 18 19 public AuditEntryImpl( 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 short getAccessLevelBrowse( 137 ) { 138 return getAccessLevelBrowse(0); 139 } 140 141 protected short getAccessLevelBrowse( 142 int index 143 ) { 144 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 145 } 146 147 public void setAccessLevelBrowse( 151 short newValue 152 ) { 153 setAccessLevelBrowse(0, newValue); 154 } 155 156 protected void setAccessLevelBrowse( 157 int index, 158 short newValue 159 ) { 160 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 161 } 162 public short getAccessLevelDelete( 166 ) { 167 return getAccessLevelDelete(0); 168 } 169 170 protected short getAccessLevelDelete( 171 int index 172 ) { 173 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 174 } 175 176 public void setAccessLevelDelete( 180 short newValue 181 ) { 182 setAccessLevelDelete(0, newValue); 183 } 184 185 protected void setAccessLevelDelete( 186 int index, 187 short newValue 188 ) { 189 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 190 } 191 public short getAccessLevelUpdate( 195 ) { 196 return getAccessLevelUpdate(0); 197 } 198 199 protected short getAccessLevelUpdate( 200 int index 201 ) { 202 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 203 } 204 205 public void setAccessLevelUpdate( 209 short newValue 210 ) { 211 setAccessLevelUpdate(0, newValue); 212 } 213 214 protected void setAccessLevelUpdate( 215 int index, 216 short newValue 217 ) { 218 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 219 } 220 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 224 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 225 ) throws javax.jmi.reflect.RefException { 226 java.util.List args = new java.util.ArrayList (); 227 args.add(params); 228 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 229 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 230 args 231 ); 232 } 233 234 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 235 org.opencrx.security.realm1.cci.PrincipalGroup group 236 , short mode 237 ) throws javax.jmi.reflect.RefException { 238 return addOwningGroup( 239 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 240 group 241 , mode 242 ) 243 ); 244 } 245 246 public java.util.List getOwner ( 250 ) { 251 return (java.util.List )this.refGetValue("owner"); 252 } 253 public String getOwner( 254 int index 255 ) { 256 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 257 } 258 259 protected void setOwner( 263 java.util.List newValue 264 ) { 265 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 266 } 267 268 protected void setOwner( 269 String [] newValue 270 ) { 271 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 272 } 273 274 public void setOwningGroup( 278 java.util.List newValue 279 ) { 280 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 281 } 282 283 public void setOwningGroup( 284 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 285 ) { 286 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 287 } 288 289 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 293 int index 294 ) { 295 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 296 "org:opencrx:kernel:base:SecureObject:owningGroup", 297 new Integer (index) 298 ); 299 } 300 301 public java.util.Collection getOwningGroup( 305 ) { 306 return (java.util.Collection )refGetValue( 307 "org:opencrx:kernel:base:SecureObject:owningGroup" 308 ); 309 } 310 311 public void addOwningGroup ( 315 int index, 316 org.opencrx.security.realm1.cci.PrincipalGroup newValue 317 ) { 318 refAddValue( 319 "org:opencrx:kernel:base:SecureObject:owningGroup", 320 new Integer (index), 321 newValue 322 ); 323 } 324 325 public void addOwningGroup ( 329 org.opencrx.security.realm1.cci.PrincipalGroup newValue 330 ) { 331 refAddValue( 332 "org:opencrx:kernel:base:SecureObject:owningGroup", 333 newValue 334 ); 335 } 336 337 public void removeOwningGroup ( 341 int index 342 ) { 343 refRemoveValue( 344 "org:opencrx:kernel:base:SecureObject:owningGroup", 345 new Integer (index) 346 ); 347 } 348 349 public org.opencrx.security.realm1.cci.User getOwningUser( 353 ) { 354 return (org.opencrx.security.realm1.cci.User)refGetValue( 355 "org:opencrx:kernel:base:SecureObject:owningUser" 356 ); 357 } 358 359 public void setOwningUser( 363 org.opencrx.security.realm1.cci.User newValue 364 ) { 365 refSetValue( 366 "org:opencrx:kernel:base:SecureObject:owningUser", 367 newValue 368 ); 369 } 370 371 public void removeOwningUser ( 375 ) { 376 refRemoveValue( 377 "org:opencrx:kernel:base:SecureObject:owningUser" 378 ); 379 } 380 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 384 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 385 ) throws javax.jmi.reflect.RefException { 386 java.util.List args = new java.util.ArrayList (); 387 args.add(params); 388 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 389 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 390 args 391 ); 392 } 393 394 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 395 short mode 396 ) throws javax.jmi.reflect.RefException { 397 return removeAllOwningGroup( 398 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 399 mode 400 ) 401 ); 402 } 403 404 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 408 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 409 ) throws javax.jmi.reflect.RefException { 410 java.util.List args = new java.util.ArrayList (); 411 args.add(params); 412 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 413 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 414 args 415 ); 416 } 417 418 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 419 org.opencrx.security.realm1.cci.PrincipalGroup group 420 , short mode 421 ) throws javax.jmi.reflect.RefException { 422 return removeOwningGroup( 423 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 424 group 425 , mode 426 ) 427 ); 428 } 429 430 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 434 org.opencrx.kernel.base.cci.SetAccessLevelParams params 435 ) throws javax.jmi.reflect.RefException { 436 java.util.List args = new java.util.ArrayList (); 437 args.add(params); 438 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 439 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 440 args 441 ); 442 } 443 444 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 445 short accessLevelBrowse 446 , short accessLevelDelete 447 , short accessLevelUpdate 448 , short mode 449 ) throws javax.jmi.reflect.RefException { 450 return setAccessLevel( 451 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 452 accessLevelBrowse 453 , accessLevelDelete 454 , accessLevelUpdate 455 , mode 456 ) 457 ); 458 } 459 460 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 464 org.opencrx.kernel.base.cci.SetOwningUserParams params 465 ) throws javax.jmi.reflect.RefException { 466 java.util.List args = new java.util.ArrayList (); 467 args.add(params); 468 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 469 "org:opencrx:kernel:base:SecureObject:setOwningUser", 470 args 471 ); 472 } 473 474 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 475 short mode 476 , org.opencrx.security.realm1.cci.User user 477 ) throws javax.jmi.reflect.RefException { 478 return setOwningUser( 479 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 480 mode 481 , user 482 ) 483 ); 484 } 485 486 public java.util.Date getCreatedAt( 490 ) { 491 return getCreatedAt(0); 492 } 493 494 protected java.util.Date getCreatedAt( 495 int index 496 ) { 497 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 498 } 499 500 protected void setCreatedAt( 504 java.util.Date newValue 505 ) { 506 setCreatedAt(0, newValue); 507 } 508 509 protected void setCreatedAt( 510 int index, 511 java.util.Date newValue 512 ) { 513 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 514 } 515 public java.util.Set getCreatedBy ( 519 ) { 520 return (java.util.Set )this.refGetValue("createdBy"); 521 } 522 protected void setCreatedBy( 526 java.util.Set newValue 527 ) { 528 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 529 } 530 531 protected void setCreatedBy( 532 String [] newValue 533 ) { 534 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 535 } 536 537 public java.util.Date getModifiedAt( 541 ) { 542 return getModifiedAt(0); 543 } 544 545 protected java.util.Date getModifiedAt( 546 int index 547 ) { 548 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 549 } 550 551 protected void setModifiedAt( 555 java.util.Date newValue 556 ) { 557 setModifiedAt(0, newValue); 558 } 559 560 protected void setModifiedAt( 561 int index, 562 java.util.Date newValue 563 ) { 564 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 565 } 566 public java.util.Set getModifiedBy ( 570 ) { 571 return (java.util.Set )this.refGetValue("modifiedBy"); 572 } 573 protected void setModifiedBy( 577 java.util.Set newValue 578 ) { 579 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 580 } 581 582 protected void setModifiedBy( 583 String [] newValue 584 ) { 585 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 586 } 587 588 protected void setContext( 592 java.util.List newValue 593 ) { 594 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 595 } 596 597 protected void setContext( 598 org.openmdx.base.cci.Context[] newValue 599 ) { 600 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 601 } 602 603 public org.openmdx.base.cci.Context getContext( 607 String id 608 ) { 609 return (org.openmdx.base.cci.Context)refGetValue( 610 "org:openmdx:base:ContextCapable:context", 611 id 612 ); 613 } 614 615 public java.util.Collection getContext( 619 ) { 620 return (java.util.Collection )refGetValue( 621 "org:openmdx:base:ContextCapable:context" 622 ); 623 } 624 625 protected void addContext ( 629 String id, 630 org.openmdx.base.cci.Context newValue 631 ) { 632 refAddValue( 633 "org:openmdx:base:ContextCapable:context", 634 id, 635 newValue 636 ); 637 } 638 639 protected void addContext ( 643 org.openmdx.base.cci.Context newValue 644 ) { 645 refAddValue( 646 "org:openmdx:base:ContextCapable:context", 647 newValue 648 ); 649 } 650 651 protected void removeContext ( 655 String id 656 ) { 657 refRemoveValue( 658 "org:openmdx:base:ContextCapable:context", 659 id 660 ); 661 } 662 663 public String getIdentity( 667 ) { 668 return getIdentity(0); 669 } 670 671 protected String getIdentity( 672 int index 673 ) { 674 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 675 } 676 677 protected void setIdentity( 681 String newValue 682 ) { 683 setIdentity(0, newValue); 684 } 685 686 protected void setIdentity( 687 int index, 688 String newValue 689 ) { 690 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 691 } 692 protected void setView( 696 java.util.List newValue 697 ) { 698 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 699 } 700 701 protected void setView( 702 org.openmdx.compatibility.view1.cci.View[] newValue 703 ) { 704 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 705 } 706 707 public org.openmdx.compatibility.view1.cci.View getView( 711 String namespace 712 ) { 713 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 714 "org:openmdx:compatibility:view1:ViewCapable:view", 715 namespace 716 ); 717 } 718 719 public java.util.Collection getView( 723 ) { 724 return (java.util.Collection )refGetValue( 725 "org:openmdx:compatibility:view1:ViewCapable:view" 726 ); 727 } 728 729 public java.util.List getView( 730 org.openmdx.compatibility.view1.cci.ViewFilter filter 731 ) { 732 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 733 "org:openmdx:compatibility:view1:ViewCapable:view" 734 )).toList(filter); 735 } 736 737 protected void addView ( 741 String namespace, 742 org.openmdx.compatibility.view1.cci.View newValue 743 ) { 744 refAddValue( 745 "org:openmdx:compatibility:view1:ViewCapable:view", 746 namespace, 747 newValue 748 ); 749 } 750 751 protected void addView ( 755 org.openmdx.compatibility.view1.cci.View newValue 756 ) { 757 refAddValue( 758 "org:openmdx:compatibility:view1:ViewCapable:view", 759 newValue 760 ); 761 } 762 763 protected void removeView ( 767 String namespace 768 ) { 769 refRemoveValue( 770 "org:openmdx:compatibility:view1:ViewCapable:view", 771 namespace 772 ); 773 } 774 775 } 779 | Popular Tags |