1 package org.opencrx.kernel.activity1.cci; 14 15 public class ResourceRoleFilterPropertyImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ResourceRoleFilterProperty { 18 19 public ResourceRoleFilterPropertyImpl( 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 java.util.List getResourceRole ( 30 ) { 31 return (java.util.List )this.refGetValue("resourceRole"); 32 } 33 public short getResourceRole( 34 int index 35 ) { 36 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:ResourceRoleFilterProperty:resourceRole", index)).shortValue(); 37 } 38 39 public void setResourceRole( 43 java.util.List newValue 44 ) { 45 refSetValue("org:opencrx:kernel:activity1:ResourceRoleFilterProperty:resourceRole", newValue); 46 } 47 48 public void setResourceRole( 49 short[] newValue 50 ) { 51 refSetValue("org:opencrx:kernel:activity1:ResourceRoleFilterProperty:resourceRole", newValue); 52 } 53 54 public String getDescription ( 58 ) { 59 return (String )this.refGetValue("description", 0); 60 } 61 public void setDescription( 65 String newValue 66 ) { 67 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:description", 0, newValue); 68 } 69 70 public short getFilterOperator( 74 ) { 75 return getFilterOperator(0); 76 } 77 78 protected short getFilterOperator( 79 int index 80 ) { 81 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterOperator", index)).shortValue(); 82 } 83 84 public void setFilterOperator( 88 short newValue 89 ) { 90 setFilterOperator(0, newValue); 91 } 92 93 protected void setFilterOperator( 94 int index, 95 short newValue 96 ) { 97 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterOperator", index, new Short (newValue)); 98 } 99 public short getFilterQuantor( 103 ) { 104 return getFilterQuantor(0); 105 } 106 107 protected short getFilterQuantor( 108 int index 109 ) { 110 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor", index)).shortValue(); 111 } 112 113 public void setFilterQuantor( 117 short newValue 118 ) { 119 setFilterQuantor(0, newValue); 120 } 121 122 protected void setFilterQuantor( 123 int index, 124 short newValue 125 ) { 126 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor", index, new Short (newValue)); 127 } 128 public Boolean isActive ( 132 ) { 133 return (Boolean )this.refGetValue("isActive", 0); 134 } 135 public void setActive( 139 Boolean newValue 140 ) { 141 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:isActive", 0, newValue); 142 } 143 144 public String getName( 148 ) { 149 return getName(0); 150 } 151 152 protected String getName( 153 int index 154 ) { 155 return (String )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:name", index); 156 } 157 158 public void setName( 162 String newValue 163 ) { 164 setName(0, newValue); 165 } 166 167 protected void setName( 168 int index, 169 String newValue 170 ) { 171 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:name", index, newValue); 172 } 173 public short getAccessLevelBrowse( 177 ) { 178 return getAccessLevelBrowse(0); 179 } 180 181 protected short getAccessLevelBrowse( 182 int index 183 ) { 184 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 185 } 186 187 public void setAccessLevelBrowse( 191 short newValue 192 ) { 193 setAccessLevelBrowse(0, newValue); 194 } 195 196 protected void setAccessLevelBrowse( 197 int index, 198 short newValue 199 ) { 200 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 201 } 202 public short getAccessLevelDelete( 206 ) { 207 return getAccessLevelDelete(0); 208 } 209 210 protected short getAccessLevelDelete( 211 int index 212 ) { 213 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 214 } 215 216 public void setAccessLevelDelete( 220 short newValue 221 ) { 222 setAccessLevelDelete(0, newValue); 223 } 224 225 protected void setAccessLevelDelete( 226 int index, 227 short newValue 228 ) { 229 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 230 } 231 public short getAccessLevelUpdate( 235 ) { 236 return getAccessLevelUpdate(0); 237 } 238 239 protected short getAccessLevelUpdate( 240 int index 241 ) { 242 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 243 } 244 245 public void setAccessLevelUpdate( 249 short newValue 250 ) { 251 setAccessLevelUpdate(0, newValue); 252 } 253 254 protected void setAccessLevelUpdate( 255 int index, 256 short newValue 257 ) { 258 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 259 } 260 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 264 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 265 ) throws javax.jmi.reflect.RefException { 266 java.util.List args = new java.util.ArrayList (); 267 args.add(params); 268 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 269 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 270 args 271 ); 272 } 273 274 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 275 org.opencrx.security.realm1.cci.PrincipalGroup group 276 , short mode 277 ) throws javax.jmi.reflect.RefException { 278 return addOwningGroup( 279 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 280 group 281 , mode 282 ) 283 ); 284 } 285 286 public java.util.List getOwner ( 290 ) { 291 return (java.util.List )this.refGetValue("owner"); 292 } 293 public String getOwner( 294 int index 295 ) { 296 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 297 } 298 299 protected void setOwner( 303 java.util.List newValue 304 ) { 305 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 306 } 307 308 protected void setOwner( 309 String [] newValue 310 ) { 311 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 312 } 313 314 public void setOwningGroup( 318 java.util.List newValue 319 ) { 320 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 321 } 322 323 public void setOwningGroup( 324 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 325 ) { 326 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 327 } 328 329 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 333 int index 334 ) { 335 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 336 "org:opencrx:kernel:base:SecureObject:owningGroup", 337 new Integer (index) 338 ); 339 } 340 341 public java.util.Collection getOwningGroup( 345 ) { 346 return (java.util.Collection )refGetValue( 347 "org:opencrx:kernel:base:SecureObject:owningGroup" 348 ); 349 } 350 351 public void addOwningGroup ( 355 int index, 356 org.opencrx.security.realm1.cci.PrincipalGroup newValue 357 ) { 358 refAddValue( 359 "org:opencrx:kernel:base:SecureObject:owningGroup", 360 new Integer (index), 361 newValue 362 ); 363 } 364 365 public void addOwningGroup ( 369 org.opencrx.security.realm1.cci.PrincipalGroup newValue 370 ) { 371 refAddValue( 372 "org:opencrx:kernel:base:SecureObject:owningGroup", 373 newValue 374 ); 375 } 376 377 public void removeOwningGroup ( 381 int index 382 ) { 383 refRemoveValue( 384 "org:opencrx:kernel:base:SecureObject:owningGroup", 385 new Integer (index) 386 ); 387 } 388 389 public org.opencrx.security.realm1.cci.User getOwningUser( 393 ) { 394 return (org.opencrx.security.realm1.cci.User)refGetValue( 395 "org:opencrx:kernel:base:SecureObject:owningUser" 396 ); 397 } 398 399 public void setOwningUser( 403 org.opencrx.security.realm1.cci.User newValue 404 ) { 405 refSetValue( 406 "org:opencrx:kernel:base:SecureObject:owningUser", 407 newValue 408 ); 409 } 410 411 public void removeOwningUser ( 415 ) { 416 refRemoveValue( 417 "org:opencrx:kernel:base:SecureObject:owningUser" 418 ); 419 } 420 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 424 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 425 ) throws javax.jmi.reflect.RefException { 426 java.util.List args = new java.util.ArrayList (); 427 args.add(params); 428 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 429 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 430 args 431 ); 432 } 433 434 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 435 short mode 436 ) throws javax.jmi.reflect.RefException { 437 return removeAllOwningGroup( 438 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 439 mode 440 ) 441 ); 442 } 443 444 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 448 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 449 ) throws javax.jmi.reflect.RefException { 450 java.util.List args = new java.util.ArrayList (); 451 args.add(params); 452 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 453 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 454 args 455 ); 456 } 457 458 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 459 org.opencrx.security.realm1.cci.PrincipalGroup group 460 , short mode 461 ) throws javax.jmi.reflect.RefException { 462 return removeOwningGroup( 463 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 464 group 465 , mode 466 ) 467 ); 468 } 469 470 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 474 org.opencrx.kernel.base.cci.SetAccessLevelParams params 475 ) throws javax.jmi.reflect.RefException { 476 java.util.List args = new java.util.ArrayList (); 477 args.add(params); 478 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 479 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 480 args 481 ); 482 } 483 484 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 485 short accessLevelBrowse 486 , short accessLevelDelete 487 , short accessLevelUpdate 488 , short mode 489 ) throws javax.jmi.reflect.RefException { 490 return setAccessLevel( 491 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 492 accessLevelBrowse 493 , accessLevelDelete 494 , accessLevelUpdate 495 , mode 496 ) 497 ); 498 } 499 500 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 504 org.opencrx.kernel.base.cci.SetOwningUserParams params 505 ) throws javax.jmi.reflect.RefException { 506 java.util.List args = new java.util.ArrayList (); 507 args.add(params); 508 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 509 "org:opencrx:kernel:base:SecureObject:setOwningUser", 510 args 511 ); 512 } 513 514 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 515 short mode 516 , org.opencrx.security.realm1.cci.User user 517 ) throws javax.jmi.reflect.RefException { 518 return setOwningUser( 519 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 520 mode 521 , user 522 ) 523 ); 524 } 525 526 public java.util.Date getCreatedAt( 530 ) { 531 return getCreatedAt(0); 532 } 533 534 protected java.util.Date getCreatedAt( 535 int index 536 ) { 537 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 538 } 539 540 protected void setCreatedAt( 544 java.util.Date newValue 545 ) { 546 setCreatedAt(0, newValue); 547 } 548 549 protected void setCreatedAt( 550 int index, 551 java.util.Date newValue 552 ) { 553 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 554 } 555 public java.util.Set getCreatedBy ( 559 ) { 560 return (java.util.Set )this.refGetValue("createdBy"); 561 } 562 protected void setCreatedBy( 566 java.util.Set newValue 567 ) { 568 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 569 } 570 571 protected void setCreatedBy( 572 String [] newValue 573 ) { 574 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 575 } 576 577 public java.util.Date getModifiedAt( 581 ) { 582 return getModifiedAt(0); 583 } 584 585 protected java.util.Date getModifiedAt( 586 int index 587 ) { 588 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 589 } 590 591 protected void setModifiedAt( 595 java.util.Date newValue 596 ) { 597 setModifiedAt(0, newValue); 598 } 599 600 protected void setModifiedAt( 601 int index, 602 java.util.Date newValue 603 ) { 604 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 605 } 606 public java.util.Set getModifiedBy ( 610 ) { 611 return (java.util.Set )this.refGetValue("modifiedBy"); 612 } 613 protected void setModifiedBy( 617 java.util.Set newValue 618 ) { 619 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 620 } 621 622 protected void setModifiedBy( 623 String [] newValue 624 ) { 625 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 626 } 627 628 protected void setContext( 632 java.util.List newValue 633 ) { 634 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 635 } 636 637 protected void setContext( 638 org.openmdx.base.cci.Context[] newValue 639 ) { 640 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 641 } 642 643 public org.openmdx.base.cci.Context getContext( 647 String id 648 ) { 649 return (org.openmdx.base.cci.Context)refGetValue( 650 "org:openmdx:base:ContextCapable:context", 651 id 652 ); 653 } 654 655 public java.util.Collection getContext( 659 ) { 660 return (java.util.Collection )refGetValue( 661 "org:openmdx:base:ContextCapable:context" 662 ); 663 } 664 665 protected void addContext ( 669 String id, 670 org.openmdx.base.cci.Context newValue 671 ) { 672 refAddValue( 673 "org:openmdx:base:ContextCapable:context", 674 id, 675 newValue 676 ); 677 } 678 679 protected void addContext ( 683 org.openmdx.base.cci.Context newValue 684 ) { 685 refAddValue( 686 "org:openmdx:base:ContextCapable:context", 687 newValue 688 ); 689 } 690 691 protected void removeContext ( 695 String id 696 ) { 697 refRemoveValue( 698 "org:openmdx:base:ContextCapable:context", 699 id 700 ); 701 } 702 703 public String getIdentity( 707 ) { 708 return getIdentity(0); 709 } 710 711 protected String getIdentity( 712 int index 713 ) { 714 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 715 } 716 717 protected void setIdentity( 721 String newValue 722 ) { 723 setIdentity(0, newValue); 724 } 725 726 protected void setIdentity( 727 int index, 728 String newValue 729 ) { 730 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 731 } 732 protected void setView( 736 java.util.List newValue 737 ) { 738 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 739 } 740 741 protected void setView( 742 org.openmdx.compatibility.view1.cci.View[] newValue 743 ) { 744 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 745 } 746 747 public org.openmdx.compatibility.view1.cci.View getView( 751 String namespace 752 ) { 753 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 754 "org:openmdx:compatibility:view1:ViewCapable:view", 755 namespace 756 ); 757 } 758 759 public java.util.Collection getView( 763 ) { 764 return (java.util.Collection )refGetValue( 765 "org:openmdx:compatibility:view1:ViewCapable:view" 766 ); 767 } 768 769 public java.util.List getView( 770 org.openmdx.compatibility.view1.cci.ViewFilter filter 771 ) { 772 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 773 "org:openmdx:compatibility:view1:ViewCapable:view" 774 )).toList(filter); 775 } 776 777 protected void addView ( 781 String namespace, 782 org.openmdx.compatibility.view1.cci.View newValue 783 ) { 784 refAddValue( 785 "org:openmdx:compatibility:view1:ViewCapable:view", 786 namespace, 787 newValue 788 ); 789 } 790 791 protected void addView ( 795 org.openmdx.compatibility.view1.cci.View newValue 796 ) { 797 refAddValue( 798 "org:openmdx:compatibility:view1:ViewCapable:view", 799 newValue 800 ); 801 } 802 803 protected void removeView ( 807 String namespace 808 ) { 809 refRemoveValue( 810 "org:openmdx:compatibility:view1:ViewCapable:view", 811 namespace 812 ); 813 } 814 815 } 819 | Popular Tags |