1 package org.opencrx.kernel.home1.cci; 14 15 public class SubscriptionImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Subscription { 18 19 public SubscriptionImpl( 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 short getAccessLevelBrowse( 30 ) { 31 return getAccessLevelBrowse(0); 32 } 33 34 protected short getAccessLevelBrowse( 35 int index 36 ) { 37 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 38 } 39 40 public void setAccessLevelBrowse( 44 short newValue 45 ) { 46 setAccessLevelBrowse(0, newValue); 47 } 48 49 protected void setAccessLevelBrowse( 50 int index, 51 short newValue 52 ) { 53 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 54 } 55 public short getAccessLevelDelete( 59 ) { 60 return getAccessLevelDelete(0); 61 } 62 63 protected short getAccessLevelDelete( 64 int index 65 ) { 66 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 67 } 68 69 public void setAccessLevelDelete( 73 short newValue 74 ) { 75 setAccessLevelDelete(0, newValue); 76 } 77 78 protected void setAccessLevelDelete( 79 int index, 80 short newValue 81 ) { 82 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 83 } 84 public short getAccessLevelUpdate( 88 ) { 89 return getAccessLevelUpdate(0); 90 } 91 92 protected short getAccessLevelUpdate( 93 int index 94 ) { 95 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 96 } 97 98 public void setAccessLevelUpdate( 102 short newValue 103 ) { 104 setAccessLevelUpdate(0, newValue); 105 } 106 107 protected void setAccessLevelUpdate( 108 int index, 109 short newValue 110 ) { 111 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 112 } 113 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 117 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 118 ) throws javax.jmi.reflect.RefException { 119 java.util.List args = new java.util.ArrayList (); 120 args.add(params); 121 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 122 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 123 args 124 ); 125 } 126 127 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 128 org.opencrx.security.realm1.cci.PrincipalGroup group 129 , short mode 130 ) throws javax.jmi.reflect.RefException { 131 return addOwningGroup( 132 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 133 group 134 , mode 135 ) 136 ); 137 } 138 139 public java.util.List getOwner ( 143 ) { 144 return (java.util.List )this.refGetValue("owner"); 145 } 146 public String getOwner( 147 int index 148 ) { 149 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 150 } 151 152 protected void setOwner( 156 java.util.List newValue 157 ) { 158 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 159 } 160 161 protected void setOwner( 162 String [] newValue 163 ) { 164 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 165 } 166 167 public void setOwningGroup( 171 java.util.List newValue 172 ) { 173 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 174 } 175 176 public void setOwningGroup( 177 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 178 ) { 179 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 180 } 181 182 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 186 int index 187 ) { 188 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 189 "org:opencrx:kernel:base:SecureObject:owningGroup", 190 new Integer (index) 191 ); 192 } 193 194 public java.util.Collection getOwningGroup( 198 ) { 199 return (java.util.Collection )refGetValue( 200 "org:opencrx:kernel:base:SecureObject:owningGroup" 201 ); 202 } 203 204 public void addOwningGroup ( 208 int index, 209 org.opencrx.security.realm1.cci.PrincipalGroup newValue 210 ) { 211 refAddValue( 212 "org:opencrx:kernel:base:SecureObject:owningGroup", 213 new Integer (index), 214 newValue 215 ); 216 } 217 218 public void addOwningGroup ( 222 org.opencrx.security.realm1.cci.PrincipalGroup newValue 223 ) { 224 refAddValue( 225 "org:opencrx:kernel:base:SecureObject:owningGroup", 226 newValue 227 ); 228 } 229 230 public void removeOwningGroup ( 234 int index 235 ) { 236 refRemoveValue( 237 "org:opencrx:kernel:base:SecureObject:owningGroup", 238 new Integer (index) 239 ); 240 } 241 242 public org.opencrx.security.realm1.cci.User getOwningUser( 246 ) { 247 return (org.opencrx.security.realm1.cci.User)refGetValue( 248 "org:opencrx:kernel:base:SecureObject:owningUser" 249 ); 250 } 251 252 public void setOwningUser( 256 org.opencrx.security.realm1.cci.User newValue 257 ) { 258 refSetValue( 259 "org:opencrx:kernel:base:SecureObject:owningUser", 260 newValue 261 ); 262 } 263 264 public void removeOwningUser ( 268 ) { 269 refRemoveValue( 270 "org:opencrx:kernel:base:SecureObject:owningUser" 271 ); 272 } 273 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 277 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 278 ) throws javax.jmi.reflect.RefException { 279 java.util.List args = new java.util.ArrayList (); 280 args.add(params); 281 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 282 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 283 args 284 ); 285 } 286 287 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 288 short mode 289 ) throws javax.jmi.reflect.RefException { 290 return removeAllOwningGroup( 291 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 292 mode 293 ) 294 ); 295 } 296 297 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 301 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 302 ) throws javax.jmi.reflect.RefException { 303 java.util.List args = new java.util.ArrayList (); 304 args.add(params); 305 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 306 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 307 args 308 ); 309 } 310 311 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 312 org.opencrx.security.realm1.cci.PrincipalGroup group 313 , short mode 314 ) throws javax.jmi.reflect.RefException { 315 return removeOwningGroup( 316 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 317 group 318 , mode 319 ) 320 ); 321 } 322 323 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 327 org.opencrx.kernel.base.cci.SetAccessLevelParams params 328 ) throws javax.jmi.reflect.RefException { 329 java.util.List args = new java.util.ArrayList (); 330 args.add(params); 331 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 332 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 333 args 334 ); 335 } 336 337 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 338 short accessLevelBrowse 339 , short accessLevelDelete 340 , short accessLevelUpdate 341 , short mode 342 ) throws javax.jmi.reflect.RefException { 343 return setAccessLevel( 344 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 345 accessLevelBrowse 346 , accessLevelDelete 347 , accessLevelUpdate 348 , mode 349 ) 350 ); 351 } 352 353 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 357 org.opencrx.kernel.base.cci.SetOwningUserParams params 358 ) throws javax.jmi.reflect.RefException { 359 java.util.List args = new java.util.ArrayList (); 360 args.add(params); 361 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 362 "org:opencrx:kernel:base:SecureObject:setOwningUser", 363 args 364 ); 365 } 366 367 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 368 short mode 369 , org.opencrx.security.realm1.cci.User user 370 ) throws javax.jmi.reflect.RefException { 371 return setOwningUser( 372 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 373 mode 374 , user 375 ) 376 ); 377 } 378 379 public String getDescription ( 383 ) { 384 return (String )this.refGetValue("description", 0); 385 } 386 public void setDescription( 390 String newValue 391 ) { 392 refSetValue("org:opencrx:kernel:home1:Subscription:description", 0, newValue); 393 } 394 395 public java.util.Set getEventType ( 399 ) { 400 return (java.util.Set )this.refGetValue("eventType"); 401 } 402 public void setEventType( 406 java.util.Set newValue 407 ) { 408 refSetValue("org:opencrx:kernel:home1:Subscription:eventType", newValue); 409 } 410 411 public void setEventType( 412 short[] newValue 413 ) { 414 refSetValue("org:opencrx:kernel:home1:Subscription:eventType", newValue); 415 } 416 417 public String getFilterName0 ( 421 ) { 422 return (String )this.refGetValue("filterName0", 0); 423 } 424 public void setFilterName0( 428 String newValue 429 ) { 430 refSetValue("org:opencrx:kernel:home1:Subscription:filterName0", 0, newValue); 431 } 432 433 public String getFilterName1 ( 437 ) { 438 return (String )this.refGetValue("filterName1", 0); 439 } 440 public void setFilterName1( 444 String newValue 445 ) { 446 refSetValue("org:opencrx:kernel:home1:Subscription:filterName1", 0, newValue); 447 } 448 449 public String getFilterName2 ( 453 ) { 454 return (String )this.refGetValue("filterName2", 0); 455 } 456 public void setFilterName2( 460 String newValue 461 ) { 462 refSetValue("org:opencrx:kernel:home1:Subscription:filterName2", 0, newValue); 463 } 464 465 public String getFilterName3 ( 469 ) { 470 return (String )this.refGetValue("filterName3", 0); 471 } 472 public void setFilterName3( 476 String newValue 477 ) { 478 refSetValue("org:opencrx:kernel:home1:Subscription:filterName3", 0, newValue); 479 } 480 481 public String getFilterName4 ( 485 ) { 486 return (String )this.refGetValue("filterName4", 0); 487 } 488 public void setFilterName4( 492 String newValue 493 ) { 494 refSetValue("org:opencrx:kernel:home1:Subscription:filterName4", 0, newValue); 495 } 496 497 public String getFilterValue0 ( 501 ) { 502 return (String )this.refGetValue("filterValue0", 0); 503 } 504 public void setFilterValue0( 508 String newValue 509 ) { 510 refSetValue("org:opencrx:kernel:home1:Subscription:filterValue0", 0, newValue); 511 } 512 513 public String getFilterValue1 ( 517 ) { 518 return (String )this.refGetValue("filterValue1", 0); 519 } 520 public void setFilterValue1( 524 String newValue 525 ) { 526 refSetValue("org:opencrx:kernel:home1:Subscription:filterValue1", 0, newValue); 527 } 528 529 public String getFilterValue2 ( 533 ) { 534 return (String )this.refGetValue("filterValue2", 0); 535 } 536 public void setFilterValue2( 540 String newValue 541 ) { 542 refSetValue("org:opencrx:kernel:home1:Subscription:filterValue2", 0, newValue); 543 } 544 545 public String getFilterValue3 ( 549 ) { 550 return (String )this.refGetValue("filterValue3", 0); 551 } 552 public void setFilterValue3( 556 String newValue 557 ) { 558 refSetValue("org:opencrx:kernel:home1:Subscription:filterValue3", 0, newValue); 559 } 560 561 public String getFilterValue4 ( 565 ) { 566 return (String )this.refGetValue("filterValue4", 0); 567 } 568 public void setFilterValue4( 572 String newValue 573 ) { 574 refSetValue("org:opencrx:kernel:home1:Subscription:filterValue4", 0, newValue); 575 } 576 577 public boolean isActive( 581 ) { 582 return isActive(0); 583 } 584 585 protected boolean isActive( 586 int index 587 ) { 588 return ((Boolean )this.refGetValue("org:opencrx:kernel:home1:Subscription:isActive", index)).booleanValue(); 589 } 590 591 public void setActive( 595 boolean newValue 596 ) { 597 setActive(0, newValue); 598 } 599 600 protected void setActive( 601 int index, 602 boolean newValue 603 ) { 604 refSetValue("org:opencrx:kernel:home1:Subscription:isActive", index, new Boolean (newValue)); 605 } 606 public String getName( 610 ) { 611 return getName(0); 612 } 613 614 protected String getName( 615 int index 616 ) { 617 return (String )this.refGetValue("org:opencrx:kernel:home1:Subscription:name", index); 618 } 619 620 public void setName( 624 String newValue 625 ) { 626 setName(0, newValue); 627 } 628 629 protected void setName( 630 int index, 631 String newValue 632 ) { 633 refSetValue("org:opencrx:kernel:home1:Subscription:name", index, newValue); 634 } 635 public org.opencrx.kernel.workflow1.cci.Topic getTopic( 639 ) { 640 return (org.opencrx.kernel.workflow1.cci.Topic)refGetValue( 641 "org:opencrx:kernel:home1:Subscription:topic" 642 ); 643 } 644 645 public void setTopic( 649 org.opencrx.kernel.workflow1.cci.Topic newValue 650 ) { 651 refSetValue( 652 "org:opencrx:kernel:home1:Subscription:topic", 653 newValue 654 ); 655 } 656 657 public void removeTopic ( 661 ) { 662 refRemoveValue( 663 "org:opencrx:kernel:home1:Subscription:topic" 664 ); 665 } 666 public java.util.Date getCreatedAt( 670 ) { 671 return getCreatedAt(0); 672 } 673 674 protected java.util.Date getCreatedAt( 675 int index 676 ) { 677 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 678 } 679 680 protected void setCreatedAt( 684 java.util.Date newValue 685 ) { 686 setCreatedAt(0, newValue); 687 } 688 689 protected void setCreatedAt( 690 int index, 691 java.util.Date newValue 692 ) { 693 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 694 } 695 public java.util.Set getCreatedBy ( 699 ) { 700 return (java.util.Set )this.refGetValue("createdBy"); 701 } 702 protected void setCreatedBy( 706 java.util.Set newValue 707 ) { 708 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 709 } 710 711 protected void setCreatedBy( 712 String [] newValue 713 ) { 714 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 715 } 716 717 public java.util.Date getModifiedAt( 721 ) { 722 return getModifiedAt(0); 723 } 724 725 protected java.util.Date getModifiedAt( 726 int index 727 ) { 728 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 729 } 730 731 protected void setModifiedAt( 735 java.util.Date newValue 736 ) { 737 setModifiedAt(0, newValue); 738 } 739 740 protected void setModifiedAt( 741 int index, 742 java.util.Date newValue 743 ) { 744 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 745 } 746 public java.util.Set getModifiedBy ( 750 ) { 751 return (java.util.Set )this.refGetValue("modifiedBy"); 752 } 753 protected void setModifiedBy( 757 java.util.Set newValue 758 ) { 759 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 760 } 761 762 protected void setModifiedBy( 763 String [] newValue 764 ) { 765 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 766 } 767 768 protected void setContext( 772 java.util.List newValue 773 ) { 774 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 775 } 776 777 protected void setContext( 778 org.openmdx.base.cci.Context[] newValue 779 ) { 780 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 781 } 782 783 public org.openmdx.base.cci.Context getContext( 787 String id 788 ) { 789 return (org.openmdx.base.cci.Context)refGetValue( 790 "org:openmdx:base:ContextCapable:context", 791 id 792 ); 793 } 794 795 public java.util.Collection getContext( 799 ) { 800 return (java.util.Collection )refGetValue( 801 "org:openmdx:base:ContextCapable:context" 802 ); 803 } 804 805 protected void addContext ( 809 String id, 810 org.openmdx.base.cci.Context newValue 811 ) { 812 refAddValue( 813 "org:openmdx:base:ContextCapable:context", 814 id, 815 newValue 816 ); 817 } 818 819 protected void addContext ( 823 org.openmdx.base.cci.Context newValue 824 ) { 825 refAddValue( 826 "org:openmdx:base:ContextCapable:context", 827 newValue 828 ); 829 } 830 831 protected void removeContext ( 835 String id 836 ) { 837 refRemoveValue( 838 "org:openmdx:base:ContextCapable:context", 839 id 840 ); 841 } 842 843 public String getIdentity( 847 ) { 848 return getIdentity(0); 849 } 850 851 protected String getIdentity( 852 int index 853 ) { 854 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 855 } 856 857 protected void setIdentity( 861 String newValue 862 ) { 863 setIdentity(0, newValue); 864 } 865 866 protected void setIdentity( 867 int index, 868 String newValue 869 ) { 870 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 871 } 872 protected void setView( 876 java.util.List newValue 877 ) { 878 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 879 } 880 881 protected void setView( 882 org.openmdx.compatibility.view1.cci.View[] newValue 883 ) { 884 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 885 } 886 887 public org.openmdx.compatibility.view1.cci.View getView( 891 String namespace 892 ) { 893 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 894 "org:openmdx:compatibility:view1:ViewCapable:view", 895 namespace 896 ); 897 } 898 899 public java.util.Collection getView( 903 ) { 904 return (java.util.Collection )refGetValue( 905 "org:openmdx:compatibility:view1:ViewCapable:view" 906 ); 907 } 908 909 public java.util.List getView( 910 org.openmdx.compatibility.view1.cci.ViewFilter filter 911 ) { 912 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 913 "org:openmdx:compatibility:view1:ViewCapable:view" 914 )).toList(filter); 915 } 916 917 protected void addView ( 921 String namespace, 922 org.openmdx.compatibility.view1.cci.View newValue 923 ) { 924 refAddValue( 925 "org:openmdx:compatibility:view1:ViewCapable:view", 926 namespace, 927 newValue 928 ); 929 } 930 931 protected void addView ( 935 org.openmdx.compatibility.view1.cci.View newValue 936 ) { 937 refAddValue( 938 "org:openmdx:compatibility:view1:ViewCapable:view", 939 newValue 940 ); 941 } 942 943 protected void removeView ( 947 String namespace 948 ) { 949 refRemoveValue( 950 "org:openmdx:compatibility:view1:ViewCapable:view", 951 namespace 952 ); 953 } 954 955 } 959 | Popular Tags |