1 package org.opencrx.kernel.activity1.cci; 14 15 public class ResourceFilterPropertyImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ResourceFilterProperty { 18 19 public ResourceFilterPropertyImpl( 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 setResource( 30 java.util.List newValue 31 ) { 32 refSetValue("org:opencrx:kernel:activity1:ResourceFilterProperty:resource", newValue); 33 } 34 35 public void setResource( 36 org.opencrx.kernel.activity1.cci.Resource[] newValue 37 ) { 38 refSetValue("org:opencrx:kernel:activity1:ResourceFilterProperty:resource", newValue); 39 } 40 41 public org.opencrx.kernel.activity1.cci.Resource getResource( 45 int index 46 ) { 47 return (org.opencrx.kernel.activity1.cci.Resource)refGetValue( 48 "org:opencrx:kernel:activity1:ResourceFilterProperty:resource", 49 new Integer (index) 50 ); 51 } 52 53 public java.util.Collection getResource( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:opencrx:kernel:activity1:ResourceFilterProperty:resource" 60 ); 61 } 62 63 public void addResource ( 67 int index, 68 org.opencrx.kernel.activity1.cci.Resource newValue 69 ) { 70 refAddValue( 71 "org:opencrx:kernel:activity1:ResourceFilterProperty:resource", 72 new Integer (index), 73 newValue 74 ); 75 } 76 77 public void addResource ( 81 org.opencrx.kernel.activity1.cci.Resource newValue 82 ) { 83 refAddValue( 84 "org:opencrx:kernel:activity1:ResourceFilterProperty:resource", 85 newValue 86 ); 87 } 88 89 public void removeResource ( 93 int index 94 ) { 95 refRemoveValue( 96 "org:opencrx:kernel:activity1:ResourceFilterProperty:resource", 97 new Integer (index) 98 ); 99 } 100 101 public String getDescription ( 105 ) { 106 return (String )this.refGetValue("description", 0); 107 } 108 public void setDescription( 112 String newValue 113 ) { 114 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:description", 0, newValue); 115 } 116 117 public short getFilterOperator( 121 ) { 122 return getFilterOperator(0); 123 } 124 125 protected short getFilterOperator( 126 int index 127 ) { 128 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterOperator", index)).shortValue(); 129 } 130 131 public void setFilterOperator( 135 short newValue 136 ) { 137 setFilterOperator(0, newValue); 138 } 139 140 protected void setFilterOperator( 141 int index, 142 short newValue 143 ) { 144 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterOperator", index, new Short (newValue)); 145 } 146 public short getFilterQuantor( 150 ) { 151 return getFilterQuantor(0); 152 } 153 154 protected short getFilterQuantor( 155 int index 156 ) { 157 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor", index)).shortValue(); 158 } 159 160 public void setFilterQuantor( 164 short newValue 165 ) { 166 setFilterQuantor(0, newValue); 167 } 168 169 protected void setFilterQuantor( 170 int index, 171 short newValue 172 ) { 173 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor", index, new Short (newValue)); 174 } 175 public Boolean isActive ( 179 ) { 180 return (Boolean )this.refGetValue("isActive", 0); 181 } 182 public void setActive( 186 Boolean newValue 187 ) { 188 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:isActive", 0, newValue); 189 } 190 191 public String getName( 195 ) { 196 return getName(0); 197 } 198 199 protected String getName( 200 int index 201 ) { 202 return (String )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:name", index); 203 } 204 205 public void setName( 209 String newValue 210 ) { 211 setName(0, newValue); 212 } 213 214 protected void setName( 215 int index, 216 String newValue 217 ) { 218 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:name", index, newValue); 219 } 220 public short getAccessLevelBrowse( 224 ) { 225 return getAccessLevelBrowse(0); 226 } 227 228 protected short getAccessLevelBrowse( 229 int index 230 ) { 231 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 232 } 233 234 public void setAccessLevelBrowse( 238 short newValue 239 ) { 240 setAccessLevelBrowse(0, newValue); 241 } 242 243 protected void setAccessLevelBrowse( 244 int index, 245 short newValue 246 ) { 247 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 248 } 249 public short getAccessLevelDelete( 253 ) { 254 return getAccessLevelDelete(0); 255 } 256 257 protected short getAccessLevelDelete( 258 int index 259 ) { 260 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 261 } 262 263 public void setAccessLevelDelete( 267 short newValue 268 ) { 269 setAccessLevelDelete(0, newValue); 270 } 271 272 protected void setAccessLevelDelete( 273 int index, 274 short newValue 275 ) { 276 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 277 } 278 public short getAccessLevelUpdate( 282 ) { 283 return getAccessLevelUpdate(0); 284 } 285 286 protected short getAccessLevelUpdate( 287 int index 288 ) { 289 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 290 } 291 292 public void setAccessLevelUpdate( 296 short newValue 297 ) { 298 setAccessLevelUpdate(0, newValue); 299 } 300 301 protected void setAccessLevelUpdate( 302 int index, 303 short newValue 304 ) { 305 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 306 } 307 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 311 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 312 ) throws javax.jmi.reflect.RefException { 313 java.util.List args = new java.util.ArrayList (); 314 args.add(params); 315 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 316 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 317 args 318 ); 319 } 320 321 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 322 org.opencrx.security.realm1.cci.PrincipalGroup group 323 , short mode 324 ) throws javax.jmi.reflect.RefException { 325 return addOwningGroup( 326 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 327 group 328 , mode 329 ) 330 ); 331 } 332 333 public java.util.List getOwner ( 337 ) { 338 return (java.util.List )this.refGetValue("owner"); 339 } 340 public String getOwner( 341 int index 342 ) { 343 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 344 } 345 346 protected void setOwner( 350 java.util.List newValue 351 ) { 352 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 353 } 354 355 protected void setOwner( 356 String [] newValue 357 ) { 358 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 359 } 360 361 public void setOwningGroup( 365 java.util.List newValue 366 ) { 367 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 368 } 369 370 public void setOwningGroup( 371 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 372 ) { 373 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 374 } 375 376 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 380 int index 381 ) { 382 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 383 "org:opencrx:kernel:base:SecureObject:owningGroup", 384 new Integer (index) 385 ); 386 } 387 388 public java.util.Collection getOwningGroup( 392 ) { 393 return (java.util.Collection )refGetValue( 394 "org:opencrx:kernel:base:SecureObject:owningGroup" 395 ); 396 } 397 398 public void addOwningGroup ( 402 int index, 403 org.opencrx.security.realm1.cci.PrincipalGroup newValue 404 ) { 405 refAddValue( 406 "org:opencrx:kernel:base:SecureObject:owningGroup", 407 new Integer (index), 408 newValue 409 ); 410 } 411 412 public void addOwningGroup ( 416 org.opencrx.security.realm1.cci.PrincipalGroup newValue 417 ) { 418 refAddValue( 419 "org:opencrx:kernel:base:SecureObject:owningGroup", 420 newValue 421 ); 422 } 423 424 public void removeOwningGroup ( 428 int index 429 ) { 430 refRemoveValue( 431 "org:opencrx:kernel:base:SecureObject:owningGroup", 432 new Integer (index) 433 ); 434 } 435 436 public org.opencrx.security.realm1.cci.User getOwningUser( 440 ) { 441 return (org.opencrx.security.realm1.cci.User)refGetValue( 442 "org:opencrx:kernel:base:SecureObject:owningUser" 443 ); 444 } 445 446 public void setOwningUser( 450 org.opencrx.security.realm1.cci.User newValue 451 ) { 452 refSetValue( 453 "org:opencrx:kernel:base:SecureObject:owningUser", 454 newValue 455 ); 456 } 457 458 public void removeOwningUser ( 462 ) { 463 refRemoveValue( 464 "org:opencrx:kernel:base:SecureObject:owningUser" 465 ); 466 } 467 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 471 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 472 ) throws javax.jmi.reflect.RefException { 473 java.util.List args = new java.util.ArrayList (); 474 args.add(params); 475 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 476 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 477 args 478 ); 479 } 480 481 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 482 short mode 483 ) throws javax.jmi.reflect.RefException { 484 return removeAllOwningGroup( 485 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 486 mode 487 ) 488 ); 489 } 490 491 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 495 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 496 ) throws javax.jmi.reflect.RefException { 497 java.util.List args = new java.util.ArrayList (); 498 args.add(params); 499 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 500 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 501 args 502 ); 503 } 504 505 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 506 org.opencrx.security.realm1.cci.PrincipalGroup group 507 , short mode 508 ) throws javax.jmi.reflect.RefException { 509 return removeOwningGroup( 510 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 511 group 512 , mode 513 ) 514 ); 515 } 516 517 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 521 org.opencrx.kernel.base.cci.SetAccessLevelParams params 522 ) throws javax.jmi.reflect.RefException { 523 java.util.List args = new java.util.ArrayList (); 524 args.add(params); 525 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 526 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 527 args 528 ); 529 } 530 531 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 532 short accessLevelBrowse 533 , short accessLevelDelete 534 , short accessLevelUpdate 535 , short mode 536 ) throws javax.jmi.reflect.RefException { 537 return setAccessLevel( 538 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 539 accessLevelBrowse 540 , accessLevelDelete 541 , accessLevelUpdate 542 , mode 543 ) 544 ); 545 } 546 547 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 551 org.opencrx.kernel.base.cci.SetOwningUserParams params 552 ) throws javax.jmi.reflect.RefException { 553 java.util.List args = new java.util.ArrayList (); 554 args.add(params); 555 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 556 "org:opencrx:kernel:base:SecureObject:setOwningUser", 557 args 558 ); 559 } 560 561 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 562 short mode 563 , org.opencrx.security.realm1.cci.User user 564 ) throws javax.jmi.reflect.RefException { 565 return setOwningUser( 566 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 567 mode 568 , user 569 ) 570 ); 571 } 572 573 public java.util.Date getCreatedAt( 577 ) { 578 return getCreatedAt(0); 579 } 580 581 protected java.util.Date getCreatedAt( 582 int index 583 ) { 584 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 585 } 586 587 protected void setCreatedAt( 591 java.util.Date newValue 592 ) { 593 setCreatedAt(0, newValue); 594 } 595 596 protected void setCreatedAt( 597 int index, 598 java.util.Date newValue 599 ) { 600 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 601 } 602 public java.util.Set getCreatedBy ( 606 ) { 607 return (java.util.Set )this.refGetValue("createdBy"); 608 } 609 protected void setCreatedBy( 613 java.util.Set newValue 614 ) { 615 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 616 } 617 618 protected void setCreatedBy( 619 String [] newValue 620 ) { 621 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 622 } 623 624 public java.util.Date getModifiedAt( 628 ) { 629 return getModifiedAt(0); 630 } 631 632 protected java.util.Date getModifiedAt( 633 int index 634 ) { 635 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 636 } 637 638 protected void setModifiedAt( 642 java.util.Date newValue 643 ) { 644 setModifiedAt(0, newValue); 645 } 646 647 protected void setModifiedAt( 648 int index, 649 java.util.Date newValue 650 ) { 651 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 652 } 653 public java.util.Set getModifiedBy ( 657 ) { 658 return (java.util.Set )this.refGetValue("modifiedBy"); 659 } 660 protected void setModifiedBy( 664 java.util.Set newValue 665 ) { 666 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 667 } 668 669 protected void setModifiedBy( 670 String [] newValue 671 ) { 672 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 673 } 674 675 protected void setContext( 679 java.util.List newValue 680 ) { 681 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 682 } 683 684 protected void setContext( 685 org.openmdx.base.cci.Context[] newValue 686 ) { 687 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 688 } 689 690 public org.openmdx.base.cci.Context getContext( 694 String id 695 ) { 696 return (org.openmdx.base.cci.Context)refGetValue( 697 "org:openmdx:base:ContextCapable:context", 698 id 699 ); 700 } 701 702 public java.util.Collection getContext( 706 ) { 707 return (java.util.Collection )refGetValue( 708 "org:openmdx:base:ContextCapable:context" 709 ); 710 } 711 712 protected void addContext ( 716 String id, 717 org.openmdx.base.cci.Context newValue 718 ) { 719 refAddValue( 720 "org:openmdx:base:ContextCapable:context", 721 id, 722 newValue 723 ); 724 } 725 726 protected void addContext ( 730 org.openmdx.base.cci.Context newValue 731 ) { 732 refAddValue( 733 "org:openmdx:base:ContextCapable:context", 734 newValue 735 ); 736 } 737 738 protected void removeContext ( 742 String id 743 ) { 744 refRemoveValue( 745 "org:openmdx:base:ContextCapable:context", 746 id 747 ); 748 } 749 750 public String getIdentity( 754 ) { 755 return getIdentity(0); 756 } 757 758 protected String getIdentity( 759 int index 760 ) { 761 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 762 } 763 764 protected void setIdentity( 768 String newValue 769 ) { 770 setIdentity(0, newValue); 771 } 772 773 protected void setIdentity( 774 int index, 775 String newValue 776 ) { 777 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 778 } 779 protected void setView( 783 java.util.List newValue 784 ) { 785 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 786 } 787 788 protected void setView( 789 org.openmdx.compatibility.view1.cci.View[] newValue 790 ) { 791 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 792 } 793 794 public org.openmdx.compatibility.view1.cci.View getView( 798 String namespace 799 ) { 800 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 801 "org:openmdx:compatibility:view1:ViewCapable:view", 802 namespace 803 ); 804 } 805 806 public java.util.Collection getView( 810 ) { 811 return (java.util.Collection )refGetValue( 812 "org:openmdx:compatibility:view1:ViewCapable:view" 813 ); 814 } 815 816 public java.util.List getView( 817 org.openmdx.compatibility.view1.cci.ViewFilter filter 818 ) { 819 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 820 "org:openmdx:compatibility:view1:ViewCapable:view" 821 )).toList(filter); 822 } 823 824 protected void addView ( 828 String namespace, 829 org.openmdx.compatibility.view1.cci.View newValue 830 ) { 831 refAddValue( 832 "org:openmdx:compatibility:view1:ViewCapable:view", 833 namespace, 834 newValue 835 ); 836 } 837 838 protected void addView ( 842 org.openmdx.compatibility.view1.cci.View newValue 843 ) { 844 refAddValue( 845 "org:openmdx:compatibility:view1:ViewCapable:view", 846 newValue 847 ); 848 } 849 850 protected void removeView ( 854 String namespace 855 ) { 856 refRemoveValue( 857 "org:openmdx:compatibility:view1:ViewCapable:view", 858 namespace 859 ); 860 } 861 862 } 866 | Popular Tags |