1 package org.opencrx.kernel.home1.cci; 14 15 public class WfProcessInstanceImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements WfProcessInstance { 18 19 public WfProcessInstanceImpl( 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 setProperty( 30 java.util.List newValue 31 ) { 32 refSetValue("org:opencrx:kernel:base:PropertySet:property", newValue); 33 } 34 35 public void setProperty( 36 org.opencrx.kernel.base.cci.Property[] newValue 37 ) { 38 refSetValue("org:opencrx:kernel:base:PropertySet:property", newValue); 39 } 40 41 public org.opencrx.kernel.base.cci.Property getProperty( 45 String id 46 ) { 47 return (org.opencrx.kernel.base.cci.Property)refGetValue( 48 "org:opencrx:kernel:base:PropertySet:property", 49 id 50 ); 51 } 52 53 public java.util.Collection getProperty( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:opencrx:kernel:base:PropertySet:property" 60 ); 61 } 62 63 public java.util.List getProperty( 64 org.opencrx.kernel.base.cci.PropertyFilter filter 65 ) { 66 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 67 "org:opencrx:kernel:base:PropertySet:property" 68 )).toList(filter); 69 } 70 71 public void addProperty ( 75 String id, 76 org.opencrx.kernel.base.cci.Property newValue 77 ) { 78 refAddValue( 79 "org:opencrx:kernel:base:PropertySet:property", 80 id, 81 newValue 82 ); 83 } 84 85 public void addProperty ( 89 org.opencrx.kernel.base.cci.Property newValue 90 ) { 91 refAddValue( 92 "org:opencrx:kernel:base:PropertySet:property", 93 newValue 94 ); 95 } 96 97 public void removeProperty ( 101 String id 102 ) { 103 refRemoveValue( 104 "org:opencrx:kernel:base:PropertySet:property", 105 id 106 ); 107 } 108 109 public short getAccessLevelBrowse( 113 ) { 114 return getAccessLevelBrowse(0); 115 } 116 117 protected short getAccessLevelBrowse( 118 int index 119 ) { 120 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 121 } 122 123 public void setAccessLevelBrowse( 127 short newValue 128 ) { 129 setAccessLevelBrowse(0, newValue); 130 } 131 132 protected void setAccessLevelBrowse( 133 int index, 134 short newValue 135 ) { 136 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 137 } 138 public short getAccessLevelDelete( 142 ) { 143 return getAccessLevelDelete(0); 144 } 145 146 protected short getAccessLevelDelete( 147 int index 148 ) { 149 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 150 } 151 152 public void setAccessLevelDelete( 156 short newValue 157 ) { 158 setAccessLevelDelete(0, newValue); 159 } 160 161 protected void setAccessLevelDelete( 162 int index, 163 short newValue 164 ) { 165 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 166 } 167 public short getAccessLevelUpdate( 171 ) { 172 return getAccessLevelUpdate(0); 173 } 174 175 protected short getAccessLevelUpdate( 176 int index 177 ) { 178 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 179 } 180 181 public void setAccessLevelUpdate( 185 short newValue 186 ) { 187 setAccessLevelUpdate(0, newValue); 188 } 189 190 protected void setAccessLevelUpdate( 191 int index, 192 short newValue 193 ) { 194 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 195 } 196 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 200 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 201 ) throws javax.jmi.reflect.RefException { 202 java.util.List args = new java.util.ArrayList (); 203 args.add(params); 204 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 205 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 206 args 207 ); 208 } 209 210 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 211 org.opencrx.security.realm1.cci.PrincipalGroup group 212 , short mode 213 ) throws javax.jmi.reflect.RefException { 214 return addOwningGroup( 215 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 216 group 217 , mode 218 ) 219 ); 220 } 221 222 public java.util.List getOwner ( 226 ) { 227 return (java.util.List )this.refGetValue("owner"); 228 } 229 public String getOwner( 230 int index 231 ) { 232 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 233 } 234 235 protected void setOwner( 239 java.util.List newValue 240 ) { 241 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 242 } 243 244 protected void setOwner( 245 String [] newValue 246 ) { 247 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 248 } 249 250 public void setOwningGroup( 254 java.util.List newValue 255 ) { 256 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 257 } 258 259 public void setOwningGroup( 260 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 261 ) { 262 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 263 } 264 265 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 269 int index 270 ) { 271 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 272 "org:opencrx:kernel:base:SecureObject:owningGroup", 273 new Integer (index) 274 ); 275 } 276 277 public java.util.Collection getOwningGroup( 281 ) { 282 return (java.util.Collection )refGetValue( 283 "org:opencrx:kernel:base:SecureObject:owningGroup" 284 ); 285 } 286 287 public void addOwningGroup ( 291 int index, 292 org.opencrx.security.realm1.cci.PrincipalGroup newValue 293 ) { 294 refAddValue( 295 "org:opencrx:kernel:base:SecureObject:owningGroup", 296 new Integer (index), 297 newValue 298 ); 299 } 300 301 public void addOwningGroup ( 305 org.opencrx.security.realm1.cci.PrincipalGroup newValue 306 ) { 307 refAddValue( 308 "org:opencrx:kernel:base:SecureObject:owningGroup", 309 newValue 310 ); 311 } 312 313 public void removeOwningGroup ( 317 int index 318 ) { 319 refRemoveValue( 320 "org:opencrx:kernel:base:SecureObject:owningGroup", 321 new Integer (index) 322 ); 323 } 324 325 public org.opencrx.security.realm1.cci.User getOwningUser( 329 ) { 330 return (org.opencrx.security.realm1.cci.User)refGetValue( 331 "org:opencrx:kernel:base:SecureObject:owningUser" 332 ); 333 } 334 335 public void setOwningUser( 339 org.opencrx.security.realm1.cci.User newValue 340 ) { 341 refSetValue( 342 "org:opencrx:kernel:base:SecureObject:owningUser", 343 newValue 344 ); 345 } 346 347 public void removeOwningUser ( 351 ) { 352 refRemoveValue( 353 "org:opencrx:kernel:base:SecureObject:owningUser" 354 ); 355 } 356 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 360 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 361 ) throws javax.jmi.reflect.RefException { 362 java.util.List args = new java.util.ArrayList (); 363 args.add(params); 364 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 365 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 366 args 367 ); 368 } 369 370 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 371 short mode 372 ) throws javax.jmi.reflect.RefException { 373 return removeAllOwningGroup( 374 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 375 mode 376 ) 377 ); 378 } 379 380 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 384 org.opencrx.kernel.base.cci.ModifyOwningGroupParams 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:removeOwningGroup", 390 args 391 ); 392 } 393 394 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 395 org.opencrx.security.realm1.cci.PrincipalGroup group 396 , short mode 397 ) throws javax.jmi.reflect.RefException { 398 return removeOwningGroup( 399 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 400 group 401 , mode 402 ) 403 ); 404 } 405 406 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 410 org.opencrx.kernel.base.cci.SetAccessLevelParams params 411 ) throws javax.jmi.reflect.RefException { 412 java.util.List args = new java.util.ArrayList (); 413 args.add(params); 414 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 415 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 416 args 417 ); 418 } 419 420 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 421 short accessLevelBrowse 422 , short accessLevelDelete 423 , short accessLevelUpdate 424 , short mode 425 ) throws javax.jmi.reflect.RefException { 426 return setAccessLevel( 427 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 428 accessLevelBrowse 429 , accessLevelDelete 430 , accessLevelUpdate 431 , mode 432 ) 433 ); 434 } 435 436 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 440 org.opencrx.kernel.base.cci.SetOwningUserParams params 441 ) throws javax.jmi.reflect.RefException { 442 java.util.List args = new java.util.ArrayList (); 443 args.add(params); 444 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 445 "org:opencrx:kernel:base:SecureObject:setOwningUser", 446 args 447 ); 448 } 449 450 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 451 short mode 452 , org.opencrx.security.realm1.cci.User user 453 ) throws javax.jmi.reflect.RefException { 454 return setOwningUser( 455 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 456 mode 457 , user 458 ) 459 ); 460 } 461 462 public void setActionLog( 466 java.util.List newValue 467 ) { 468 refSetValue("org:opencrx:kernel:home1:WfProcessInstance:actionLog", newValue); 469 } 470 471 public void setActionLog( 472 org.opencrx.kernel.home1.cci.WfActionLogEntry[] newValue 473 ) { 474 refSetValue("org:opencrx:kernel:home1:WfProcessInstance:actionLog", newValue); 475 } 476 477 public org.opencrx.kernel.home1.cci.WfActionLogEntry getActionLog( 481 String id 482 ) { 483 return (org.opencrx.kernel.home1.cci.WfActionLogEntry)refGetValue( 484 "org:opencrx:kernel:home1:WfProcessInstance:actionLog", 485 id 486 ); 487 } 488 489 public java.util.Collection getActionLog( 493 ) { 494 return (java.util.Collection )refGetValue( 495 "org:opencrx:kernel:home1:WfProcessInstance:actionLog" 496 ); 497 } 498 499 public java.util.List getActionLog( 500 org.opencrx.kernel.home1.cci.WfActionLogEntryFilter filter 501 ) { 502 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 503 "org:opencrx:kernel:home1:WfProcessInstance:actionLog" 504 )).toList(filter); 505 } 506 507 public void addActionLog ( 511 String id, 512 org.opencrx.kernel.home1.cci.WfActionLogEntry newValue 513 ) { 514 refAddValue( 515 "org:opencrx:kernel:home1:WfProcessInstance:actionLog", 516 id, 517 newValue 518 ); 519 } 520 521 public void addActionLog ( 525 org.opencrx.kernel.home1.cci.WfActionLogEntry newValue 526 ) { 527 refAddValue( 528 "org:opencrx:kernel:home1:WfProcessInstance:actionLog", 529 newValue 530 ); 531 } 532 533 public void removeActionLog ( 537 String id 538 ) { 539 refRemoveValue( 540 "org:opencrx:kernel:home1:WfProcessInstance:actionLog", 541 id 542 ); 543 } 544 545 public java.util.Date getLastActivityOn ( 549 ) { 550 return (java.util.Date )this.refGetValue("lastActivityOn", 0); 551 } 552 public void setLastActivityOn( 556 java.util.Date newValue 557 ) { 558 refSetValue("org:opencrx:kernel:home1:WfProcessInstance:lastActivityOn", 0, newValue); 559 } 560 561 public org.opencrx.kernel.home1.cci.WfProcessInstance getParent( 565 ) { 566 return (org.opencrx.kernel.home1.cci.WfProcessInstance)refGetValue( 567 "org:opencrx:kernel:home1:WfProcessInstance:parent" 568 ); 569 } 570 571 public void setParent( 575 org.opencrx.kernel.home1.cci.WfProcessInstance newValue 576 ) { 577 refSetValue( 578 "org:opencrx:kernel:home1:WfProcessInstance:parent", 579 newValue 580 ); 581 } 582 583 public void removeParent ( 587 ) { 588 refRemoveValue( 589 "org:opencrx:kernel:home1:WfProcessInstance:parent" 590 ); 591 } 592 public org.opencrx.kernel.workflow1.cci.WfProcess getProcess( 596 ) { 597 return (org.opencrx.kernel.workflow1.cci.WfProcess)refGetValue( 598 "org:opencrx:kernel:home1:WfProcessInstance:process" 599 ); 600 } 601 602 public void setProcess( 606 org.opencrx.kernel.workflow1.cci.WfProcess newValue 607 ) { 608 refSetValue( 609 "org:opencrx:kernel:home1:WfProcessInstance:process", 610 newValue 611 ); 612 } 613 614 public java.util.Date getStartedOn ( 618 ) { 619 return (java.util.Date )this.refGetValue("startedOn", 0); 620 } 621 public void setStartedOn( 625 java.util.Date newValue 626 ) { 627 refSetValue("org:opencrx:kernel:home1:WfProcessInstance:startedOn", 0, newValue); 628 } 629 630 public Integer getStepCounter ( 634 ) { 635 return (Integer )this.refGetValue("stepCounter", 0); 636 } 637 public void setStepCounter( 641 Integer newValue 642 ) { 643 refSetValue("org:opencrx:kernel:home1:WfProcessInstance:stepCounter", 0, newValue); 644 } 645 646 public String getTargetObject ( 650 ) { 651 return (String )this.refGetValue("targetObject", 0); 652 } 653 public void setTargetObject( 657 String newValue 658 ) { 659 refSetValue("org:opencrx:kernel:home1:WfProcessInstance:targetObject", 0, newValue); 660 } 661 662 public java.util.Date getCreatedAt( 666 ) { 667 return getCreatedAt(0); 668 } 669 670 protected java.util.Date getCreatedAt( 671 int index 672 ) { 673 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 674 } 675 676 protected void setCreatedAt( 680 java.util.Date newValue 681 ) { 682 setCreatedAt(0, newValue); 683 } 684 685 protected void setCreatedAt( 686 int index, 687 java.util.Date newValue 688 ) { 689 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 690 } 691 public java.util.Set getCreatedBy ( 695 ) { 696 return (java.util.Set )this.refGetValue("createdBy"); 697 } 698 protected void setCreatedBy( 702 java.util.Set newValue 703 ) { 704 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 705 } 706 707 protected void setCreatedBy( 708 String [] newValue 709 ) { 710 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 711 } 712 713 public java.util.Date getModifiedAt( 717 ) { 718 return getModifiedAt(0); 719 } 720 721 protected java.util.Date getModifiedAt( 722 int index 723 ) { 724 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 725 } 726 727 protected void setModifiedAt( 731 java.util.Date newValue 732 ) { 733 setModifiedAt(0, newValue); 734 } 735 736 protected void setModifiedAt( 737 int index, 738 java.util.Date newValue 739 ) { 740 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 741 } 742 public java.util.Set getModifiedBy ( 746 ) { 747 return (java.util.Set )this.refGetValue("modifiedBy"); 748 } 749 protected void setModifiedBy( 753 java.util.Set newValue 754 ) { 755 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 756 } 757 758 protected void setModifiedBy( 759 String [] newValue 760 ) { 761 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 762 } 763 764 protected void setContext( 768 java.util.List newValue 769 ) { 770 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 771 } 772 773 protected void setContext( 774 org.openmdx.base.cci.Context[] newValue 775 ) { 776 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 777 } 778 779 public org.openmdx.base.cci.Context getContext( 783 String id 784 ) { 785 return (org.openmdx.base.cci.Context)refGetValue( 786 "org:openmdx:base:ContextCapable:context", 787 id 788 ); 789 } 790 791 public java.util.Collection getContext( 795 ) { 796 return (java.util.Collection )refGetValue( 797 "org:openmdx:base:ContextCapable:context" 798 ); 799 } 800 801 protected void addContext ( 805 String id, 806 org.openmdx.base.cci.Context newValue 807 ) { 808 refAddValue( 809 "org:openmdx:base:ContextCapable:context", 810 id, 811 newValue 812 ); 813 } 814 815 protected void addContext ( 819 org.openmdx.base.cci.Context newValue 820 ) { 821 refAddValue( 822 "org:openmdx:base:ContextCapable:context", 823 newValue 824 ); 825 } 826 827 protected void removeContext ( 831 String id 832 ) { 833 refRemoveValue( 834 "org:openmdx:base:ContextCapable:context", 835 id 836 ); 837 } 838 839 public String getIdentity( 843 ) { 844 return getIdentity(0); 845 } 846 847 protected String getIdentity( 848 int index 849 ) { 850 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 851 } 852 853 protected void setIdentity( 857 String newValue 858 ) { 859 setIdentity(0, newValue); 860 } 861 862 protected void setIdentity( 863 int index, 864 String newValue 865 ) { 866 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 867 } 868 protected void setView( 872 java.util.List newValue 873 ) { 874 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 875 } 876 877 protected void setView( 878 org.openmdx.compatibility.view1.cci.View[] newValue 879 ) { 880 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 881 } 882 883 public org.openmdx.compatibility.view1.cci.View getView( 887 String namespace 888 ) { 889 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 890 "org:openmdx:compatibility:view1:ViewCapable:view", 891 namespace 892 ); 893 } 894 895 public java.util.Collection getView( 899 ) { 900 return (java.util.Collection )refGetValue( 901 "org:openmdx:compatibility:view1:ViewCapable:view" 902 ); 903 } 904 905 public java.util.List getView( 906 org.openmdx.compatibility.view1.cci.ViewFilter filter 907 ) { 908 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 909 "org:openmdx:compatibility:view1:ViewCapable:view" 910 )).toList(filter); 911 } 912 913 protected void addView ( 917 String namespace, 918 org.openmdx.compatibility.view1.cci.View newValue 919 ) { 920 refAddValue( 921 "org:openmdx:compatibility:view1:ViewCapable:view", 922 namespace, 923 newValue 924 ); 925 } 926 927 protected void addView ( 931 org.openmdx.compatibility.view1.cci.View newValue 932 ) { 933 refAddValue( 934 "org:openmdx:compatibility:view1:ViewCapable:view", 935 newValue 936 ); 937 } 938 939 protected void removeView ( 943 String namespace 944 ) { 945 refRemoveValue( 946 "org:openmdx:compatibility:view1:ViewCapable:view", 947 namespace 948 ); 949 } 950 951 } 955 | Popular Tags |