1 package org.opencrx.kernel.activity1.cci; 14 15 public class ActivityFilterGroupImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ActivityFilterGroup { 18 19 public ActivityFilterGroupImpl( 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 void setFilterProperty( 30 java.util.List newValue 31 ) { 32 refSetValue("org:opencrx:kernel:activity1:AbstractFilterActivity:filterProperty", newValue); 33 } 34 35 public void setFilterProperty( 36 org.opencrx.kernel.activity1.cci.ActivityFilterProperty[] newValue 37 ) { 38 refSetValue("org:opencrx:kernel:activity1:AbstractFilterActivity:filterProperty", newValue); 39 } 40 41 public org.opencrx.kernel.activity1.cci.ActivityFilterProperty getFilterProperty( 45 String id 46 ) { 47 return (org.opencrx.kernel.activity1.cci.ActivityFilterProperty)refGetValue( 48 "org:opencrx:kernel:activity1:AbstractFilterActivity:filterProperty", 49 id 50 ); 51 } 52 53 public java.util.Collection getFilterProperty( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:opencrx:kernel:activity1:AbstractFilterActivity:filterProperty" 60 ); 61 } 62 63 public java.util.List getFilterProperty( 64 org.opencrx.kernel.activity1.cci.ActivityFilterPropertyFilter filter 65 ) { 66 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 67 "org:opencrx:kernel:activity1:AbstractFilterActivity:filterProperty" 68 )).toList(filter); 69 } 70 71 public void addFilterProperty ( 75 String id, 76 org.opencrx.kernel.activity1.cci.ActivityFilterProperty newValue 77 ) { 78 refAddValue( 79 "org:opencrx:kernel:activity1:AbstractFilterActivity:filterProperty", 80 id, 81 newValue 82 ); 83 } 84 85 public void addFilterProperty ( 89 org.opencrx.kernel.activity1.cci.ActivityFilterProperty newValue 90 ) { 91 refAddValue( 92 "org:opencrx:kernel:activity1:AbstractFilterActivity:filterProperty", 93 newValue 94 ); 95 } 96 97 public void removeFilterProperty ( 101 String id 102 ) { 103 refRemoveValue( 104 "org:opencrx:kernel:activity1:AbstractFilterActivity:filterProperty", 105 id 106 ); 107 } 108 109 protected void setFilteredActivity( 113 java.util.List newValue 114 ) { 115 refSetValue("org:opencrx:kernel:activity1:AbstractFilterActivity:filteredActivity", newValue); 116 } 117 118 protected void setFilteredActivity( 119 org.opencrx.kernel.activity1.cci.Activity[] newValue 120 ) { 121 refSetValue("org:opencrx:kernel:activity1:AbstractFilterActivity:filteredActivity", newValue); 122 } 123 124 public org.opencrx.kernel.activity1.cci.Activity getFilteredActivity( 128 String id 129 ) { 130 return (org.opencrx.kernel.activity1.cci.Activity)refGetValue( 131 "org:opencrx:kernel:activity1:AbstractFilterActivity:filteredActivity", 132 id 133 ); 134 } 135 136 public java.util.Collection getFilteredActivity( 140 ) { 141 return (java.util.Collection )refGetValue( 142 "org:opencrx:kernel:activity1:AbstractFilterActivity:filteredActivity" 143 ); 144 } 145 146 public java.util.List getFilteredActivity( 147 org.opencrx.kernel.activity1.cci.ActivityFilter filter 148 ) { 149 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 150 "org:opencrx:kernel:activity1:AbstractFilterActivity:filteredActivity" 151 )).toList(filter); 152 } 153 154 protected void addFilteredActivity ( 158 String id, 159 org.opencrx.kernel.activity1.cci.Activity newValue 160 ) { 161 refAddValue( 162 "org:opencrx:kernel:activity1:AbstractFilterActivity:filteredActivity", 163 id, 164 newValue 165 ); 166 } 167 168 protected void addFilteredActivity ( 172 org.opencrx.kernel.activity1.cci.Activity newValue 173 ) { 174 refAddValue( 175 "org:opencrx:kernel:activity1:AbstractFilterActivity:filteredActivity", 176 newValue 177 ); 178 } 179 180 protected void removeFilteredActivity ( 184 String id 185 ) { 186 refRemoveValue( 187 "org:opencrx:kernel:activity1:AbstractFilterActivity:filteredActivity", 188 id 189 ); 190 } 191 192 public String getDescription ( 196 ) { 197 return (String )this.refGetValue("description", 0); 198 } 199 public void setDescription( 203 String newValue 204 ) { 205 refSetValue("org:opencrx:kernel:activity1:ActivityFilterGroup:description", 0, newValue); 206 } 207 208 public String getName( 212 ) { 213 return getName(0); 214 } 215 216 protected String getName( 217 int index 218 ) { 219 return (String )this.refGetValue("org:opencrx:kernel:activity1:ActivityFilterGroup:name", index); 220 } 221 222 public void setName( 226 String newValue 227 ) { 228 setName(0, newValue); 229 } 230 231 protected void setName( 232 int index, 233 String newValue 234 ) { 235 refSetValue("org:opencrx:kernel:activity1:ActivityFilterGroup:name", index, newValue); 236 } 237 public short getAccessLevelBrowse( 241 ) { 242 return getAccessLevelBrowse(0); 243 } 244 245 protected short getAccessLevelBrowse( 246 int index 247 ) { 248 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 249 } 250 251 public void setAccessLevelBrowse( 255 short newValue 256 ) { 257 setAccessLevelBrowse(0, newValue); 258 } 259 260 protected void setAccessLevelBrowse( 261 int index, 262 short newValue 263 ) { 264 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 265 } 266 public short getAccessLevelDelete( 270 ) { 271 return getAccessLevelDelete(0); 272 } 273 274 protected short getAccessLevelDelete( 275 int index 276 ) { 277 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 278 } 279 280 public void setAccessLevelDelete( 284 short newValue 285 ) { 286 setAccessLevelDelete(0, newValue); 287 } 288 289 protected void setAccessLevelDelete( 290 int index, 291 short newValue 292 ) { 293 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 294 } 295 public short getAccessLevelUpdate( 299 ) { 300 return getAccessLevelUpdate(0); 301 } 302 303 protected short getAccessLevelUpdate( 304 int index 305 ) { 306 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 307 } 308 309 public void setAccessLevelUpdate( 313 short newValue 314 ) { 315 setAccessLevelUpdate(0, newValue); 316 } 317 318 protected void setAccessLevelUpdate( 319 int index, 320 short newValue 321 ) { 322 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 323 } 324 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 328 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 329 ) throws javax.jmi.reflect.RefException { 330 java.util.List args = new java.util.ArrayList (); 331 args.add(params); 332 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 333 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 334 args 335 ); 336 } 337 338 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 339 org.opencrx.security.realm1.cci.PrincipalGroup group 340 , short mode 341 ) throws javax.jmi.reflect.RefException { 342 return addOwningGroup( 343 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 344 group 345 , mode 346 ) 347 ); 348 } 349 350 public java.util.List getOwner ( 354 ) { 355 return (java.util.List )this.refGetValue("owner"); 356 } 357 public String getOwner( 358 int index 359 ) { 360 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 361 } 362 363 protected void setOwner( 367 java.util.List newValue 368 ) { 369 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 370 } 371 372 protected void setOwner( 373 String [] newValue 374 ) { 375 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 376 } 377 378 public void setOwningGroup( 382 java.util.List newValue 383 ) { 384 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 385 } 386 387 public void setOwningGroup( 388 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 389 ) { 390 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 391 } 392 393 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 397 int index 398 ) { 399 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 400 "org:opencrx:kernel:base:SecureObject:owningGroup", 401 new Integer (index) 402 ); 403 } 404 405 public java.util.Collection getOwningGroup( 409 ) { 410 return (java.util.Collection )refGetValue( 411 "org:opencrx:kernel:base:SecureObject:owningGroup" 412 ); 413 } 414 415 public void addOwningGroup ( 419 int index, 420 org.opencrx.security.realm1.cci.PrincipalGroup newValue 421 ) { 422 refAddValue( 423 "org:opencrx:kernel:base:SecureObject:owningGroup", 424 new Integer (index), 425 newValue 426 ); 427 } 428 429 public void addOwningGroup ( 433 org.opencrx.security.realm1.cci.PrincipalGroup newValue 434 ) { 435 refAddValue( 436 "org:opencrx:kernel:base:SecureObject:owningGroup", 437 newValue 438 ); 439 } 440 441 public void removeOwningGroup ( 445 int index 446 ) { 447 refRemoveValue( 448 "org:opencrx:kernel:base:SecureObject:owningGroup", 449 new Integer (index) 450 ); 451 } 452 453 public org.opencrx.security.realm1.cci.User getOwningUser( 457 ) { 458 return (org.opencrx.security.realm1.cci.User)refGetValue( 459 "org:opencrx:kernel:base:SecureObject:owningUser" 460 ); 461 } 462 463 public void setOwningUser( 467 org.opencrx.security.realm1.cci.User newValue 468 ) { 469 refSetValue( 470 "org:opencrx:kernel:base:SecureObject:owningUser", 471 newValue 472 ); 473 } 474 475 public void removeOwningUser ( 479 ) { 480 refRemoveValue( 481 "org:opencrx:kernel:base:SecureObject:owningUser" 482 ); 483 } 484 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 488 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 489 ) throws javax.jmi.reflect.RefException { 490 java.util.List args = new java.util.ArrayList (); 491 args.add(params); 492 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 493 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 494 args 495 ); 496 } 497 498 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 499 short mode 500 ) throws javax.jmi.reflect.RefException { 501 return removeAllOwningGroup( 502 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 503 mode 504 ) 505 ); 506 } 507 508 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 512 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 513 ) throws javax.jmi.reflect.RefException { 514 java.util.List args = new java.util.ArrayList (); 515 args.add(params); 516 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 517 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 518 args 519 ); 520 } 521 522 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 523 org.opencrx.security.realm1.cci.PrincipalGroup group 524 , short mode 525 ) throws javax.jmi.reflect.RefException { 526 return removeOwningGroup( 527 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 528 group 529 , mode 530 ) 531 ); 532 } 533 534 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 538 org.opencrx.kernel.base.cci.SetAccessLevelParams params 539 ) throws javax.jmi.reflect.RefException { 540 java.util.List args = new java.util.ArrayList (); 541 args.add(params); 542 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 543 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 544 args 545 ); 546 } 547 548 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 549 short accessLevelBrowse 550 , short accessLevelDelete 551 , short accessLevelUpdate 552 , short mode 553 ) throws javax.jmi.reflect.RefException { 554 return setAccessLevel( 555 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 556 accessLevelBrowse 557 , accessLevelDelete 558 , accessLevelUpdate 559 , mode 560 ) 561 ); 562 } 563 564 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 568 org.opencrx.kernel.base.cci.SetOwningUserParams params 569 ) throws javax.jmi.reflect.RefException { 570 java.util.List args = new java.util.ArrayList (); 571 args.add(params); 572 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 573 "org:opencrx:kernel:base:SecureObject:setOwningUser", 574 args 575 ); 576 } 577 578 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 579 short mode 580 , org.opencrx.security.realm1.cci.User user 581 ) throws javax.jmi.reflect.RefException { 582 return setOwningUser( 583 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 584 mode 585 , user 586 ) 587 ); 588 } 589 590 public java.util.Date getCreatedAt( 594 ) { 595 return getCreatedAt(0); 596 } 597 598 protected java.util.Date getCreatedAt( 599 int index 600 ) { 601 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 602 } 603 604 protected void setCreatedAt( 608 java.util.Date newValue 609 ) { 610 setCreatedAt(0, newValue); 611 } 612 613 protected void setCreatedAt( 614 int index, 615 java.util.Date newValue 616 ) { 617 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 618 } 619 public java.util.Set getCreatedBy ( 623 ) { 624 return (java.util.Set )this.refGetValue("createdBy"); 625 } 626 protected void setCreatedBy( 630 java.util.Set newValue 631 ) { 632 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 633 } 634 635 protected void setCreatedBy( 636 String [] newValue 637 ) { 638 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 639 } 640 641 public java.util.Date getModifiedAt( 645 ) { 646 return getModifiedAt(0); 647 } 648 649 protected java.util.Date getModifiedAt( 650 int index 651 ) { 652 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 653 } 654 655 protected void setModifiedAt( 659 java.util.Date newValue 660 ) { 661 setModifiedAt(0, newValue); 662 } 663 664 protected void setModifiedAt( 665 int index, 666 java.util.Date newValue 667 ) { 668 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 669 } 670 public java.util.Set getModifiedBy ( 674 ) { 675 return (java.util.Set )this.refGetValue("modifiedBy"); 676 } 677 protected void setModifiedBy( 681 java.util.Set newValue 682 ) { 683 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 684 } 685 686 protected void setModifiedBy( 687 String [] newValue 688 ) { 689 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 690 } 691 692 protected void setContext( 696 java.util.List newValue 697 ) { 698 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 699 } 700 701 protected void setContext( 702 org.openmdx.base.cci.Context[] newValue 703 ) { 704 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 705 } 706 707 public org.openmdx.base.cci.Context getContext( 711 String id 712 ) { 713 return (org.openmdx.base.cci.Context)refGetValue( 714 "org:openmdx:base:ContextCapable:context", 715 id 716 ); 717 } 718 719 public java.util.Collection getContext( 723 ) { 724 return (java.util.Collection )refGetValue( 725 "org:openmdx:base:ContextCapable:context" 726 ); 727 } 728 729 protected void addContext ( 733 String id, 734 org.openmdx.base.cci.Context newValue 735 ) { 736 refAddValue( 737 "org:openmdx:base:ContextCapable:context", 738 id, 739 newValue 740 ); 741 } 742 743 protected void addContext ( 747 org.openmdx.base.cci.Context newValue 748 ) { 749 refAddValue( 750 "org:openmdx:base:ContextCapable:context", 751 newValue 752 ); 753 } 754 755 protected void removeContext ( 759 String id 760 ) { 761 refRemoveValue( 762 "org:openmdx:base:ContextCapable:context", 763 id 764 ); 765 } 766 767 public String getIdentity( 771 ) { 772 return getIdentity(0); 773 } 774 775 protected String getIdentity( 776 int index 777 ) { 778 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 779 } 780 781 protected void setIdentity( 785 String newValue 786 ) { 787 setIdentity(0, newValue); 788 } 789 790 protected void setIdentity( 791 int index, 792 String newValue 793 ) { 794 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 795 } 796 protected void setView( 800 java.util.List newValue 801 ) { 802 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 803 } 804 805 protected void setView( 806 org.openmdx.compatibility.view1.cci.View[] newValue 807 ) { 808 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 809 } 810 811 public org.openmdx.compatibility.view1.cci.View getView( 815 String namespace 816 ) { 817 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 818 "org:openmdx:compatibility:view1:ViewCapable:view", 819 namespace 820 ); 821 } 822 823 public java.util.Collection getView( 827 ) { 828 return (java.util.Collection )refGetValue( 829 "org:openmdx:compatibility:view1:ViewCapable:view" 830 ); 831 } 832 833 public java.util.List getView( 834 org.openmdx.compatibility.view1.cci.ViewFilter filter 835 ) { 836 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 837 "org:openmdx:compatibility:view1:ViewCapable:view" 838 )).toList(filter); 839 } 840 841 protected void addView ( 845 String namespace, 846 org.openmdx.compatibility.view1.cci.View newValue 847 ) { 848 refAddValue( 849 "org:openmdx:compatibility:view1:ViewCapable:view", 850 namespace, 851 newValue 852 ); 853 } 854 855 protected void addView ( 859 org.openmdx.compatibility.view1.cci.View newValue 860 ) { 861 refAddValue( 862 "org:openmdx:compatibility:view1:ViewCapable:view", 863 newValue 864 ); 865 } 866 867 protected void removeView ( 871 String namespace 872 ) { 873 refRemoveValue( 874 "org:openmdx:compatibility:view1:ViewCapable:view", 875 namespace 876 ); 877 } 878 879 } 883 | Popular Tags |