1 package org.opencrx.kernel.home1.cci; 14 15 public class AlertImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Alert { 18 19 public AlertImpl( 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 org.opencrx.kernel.base.cci.ExecuteWorkflowResult executeWorkflow( 383 org.opencrx.kernel.base.cci.ExecuteWorkflowParams params 384 ) throws javax.jmi.reflect.RefException { 385 java.util.List args = new java.util.ArrayList (); 386 args.add(params); 387 return (org.opencrx.kernel.base.cci.ExecuteWorkflowResult)refInvokeOperation( 388 "org:opencrx:kernel:base:WorkflowTarget:executeWorkflow", 389 args 390 ); 391 } 392 393 public org.opencrx.kernel.base.cci.ExecuteWorkflowResult executeWorkflow( 394 java.util.Date startAt 395 , org.openmdx.base.cci.BasicObject targetObject 396 , String targetObjectXri 397 , String triggeredByEventId 398 , Integer triggeredByEventType 399 , org.opencrx.kernel.base.cci.Subscription triggeredBySubscription 400 , org.opencrx.kernel.base.cci.WfProcess workflow 401 ) throws javax.jmi.reflect.RefException { 402 return executeWorkflow( 403 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createExecuteWorkflowParams( 404 startAt 405 , targetObject 406 , targetObjectXri 407 , triggeredByEventId 408 , triggeredByEventType 409 , triggeredBySubscription 410 , workflow 411 ) 412 ); 413 } 414 415 public short getAlertState( 419 ) { 420 return getAlertState(0); 421 } 422 423 protected short getAlertState( 424 int index 425 ) { 426 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:home1:Alert:alertState", index)).shortValue(); 427 } 428 429 public void setAlertState( 433 short newValue 434 ) { 435 setAlertState(0, newValue); 436 } 437 438 protected void setAlertState( 439 int index, 440 short newValue 441 ) { 442 refSetValue("org:opencrx:kernel:home1:Alert:alertState", index, new Short (newValue)); 443 } 444 public String getDescription ( 448 ) { 449 return (String )this.refGetValue("description", 0); 450 } 451 public void setDescription( 455 String newValue 456 ) { 457 refSetValue("org:opencrx:kernel:home1:Alert:description", 0, newValue); 458 } 459 460 public short getImportance( 464 ) { 465 return getImportance(0); 466 } 467 468 protected short getImportance( 469 int index 470 ) { 471 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:home1:Alert:importance", index)).shortValue(); 472 } 473 474 public void setImportance( 478 short newValue 479 ) { 480 setImportance(0, newValue); 481 } 482 483 protected void setImportance( 484 int index, 485 short newValue 486 ) { 487 refSetValue("org:opencrx:kernel:home1:Alert:importance", index, new Short (newValue)); 488 } 489 public org.openmdx.base.cci.Void markAsAccepted( 493 org.openmdx.base.cci.Void params 494 ) throws javax.jmi.reflect.RefException { 495 java.util.List args = new java.util.ArrayList (); 496 args.add(params); 497 return (org.openmdx.base.cci.Void)refInvokeOperation( 498 "org:opencrx:kernel:home1:Alert:markAsAccepted", 499 args 500 ); 501 } 502 503 public org.openmdx.base.cci.Void markAsAccepted( 504 ) throws javax.jmi.reflect.RefException { 505 return markAsAccepted( 506 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 507 ) 508 ); 509 } 510 511 public org.openmdx.base.cci.Void markAsRead( 515 org.openmdx.base.cci.Void params 516 ) throws javax.jmi.reflect.RefException { 517 java.util.List args = new java.util.ArrayList (); 518 args.add(params); 519 return (org.openmdx.base.cci.Void)refInvokeOperation( 520 "org:opencrx:kernel:home1:Alert:markAsRead", 521 args 522 ); 523 } 524 525 public org.openmdx.base.cci.Void markAsRead( 526 ) throws javax.jmi.reflect.RefException { 527 return markAsRead( 528 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 529 ) 530 ); 531 } 532 533 public String getName( 537 ) { 538 return getName(0); 539 } 540 541 protected String getName( 542 int index 543 ) { 544 return (String )this.refGetValue("org:opencrx:kernel:home1:Alert:name", index); 545 } 546 547 public void setName( 551 String newValue 552 ) { 553 setName(0, newValue); 554 } 555 556 protected void setName( 557 int index, 558 String newValue 559 ) { 560 refSetValue("org:opencrx:kernel:home1:Alert:name", index, newValue); 561 } 562 public org.openmdx.base.cci.BasicObject getReference( 566 ) { 567 return (org.openmdx.base.cci.BasicObject)refGetValue( 568 "org:opencrx:kernel:home1:Alert:reference" 569 ); 570 } 571 572 public void setReference( 576 org.openmdx.base.cci.BasicObject newValue 577 ) { 578 refSetValue( 579 "org:opencrx:kernel:home1:Alert:reference", 580 newValue 581 ); 582 } 583 584 public void removeReference ( 588 ) { 589 refRemoveValue( 590 "org:opencrx:kernel:home1:Alert:reference" 591 ); 592 } 593 public java.util.Date getCreatedAt( 597 ) { 598 return getCreatedAt(0); 599 } 600 601 protected java.util.Date getCreatedAt( 602 int index 603 ) { 604 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 605 } 606 607 protected void setCreatedAt( 611 java.util.Date newValue 612 ) { 613 setCreatedAt(0, newValue); 614 } 615 616 protected void setCreatedAt( 617 int index, 618 java.util.Date newValue 619 ) { 620 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 621 } 622 public java.util.Set getCreatedBy ( 626 ) { 627 return (java.util.Set )this.refGetValue("createdBy"); 628 } 629 protected void setCreatedBy( 633 java.util.Set newValue 634 ) { 635 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 636 } 637 638 protected void setCreatedBy( 639 String [] newValue 640 ) { 641 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 642 } 643 644 public java.util.Date getModifiedAt( 648 ) { 649 return getModifiedAt(0); 650 } 651 652 protected java.util.Date getModifiedAt( 653 int index 654 ) { 655 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 656 } 657 658 protected void setModifiedAt( 662 java.util.Date newValue 663 ) { 664 setModifiedAt(0, newValue); 665 } 666 667 protected void setModifiedAt( 668 int index, 669 java.util.Date newValue 670 ) { 671 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 672 } 673 public java.util.Set getModifiedBy ( 677 ) { 678 return (java.util.Set )this.refGetValue("modifiedBy"); 679 } 680 protected void setModifiedBy( 684 java.util.Set newValue 685 ) { 686 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 687 } 688 689 protected void setModifiedBy( 690 String [] newValue 691 ) { 692 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 693 } 694 695 protected void setContext( 699 java.util.List newValue 700 ) { 701 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 702 } 703 704 protected void setContext( 705 org.openmdx.base.cci.Context[] newValue 706 ) { 707 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 708 } 709 710 public org.openmdx.base.cci.Context getContext( 714 String id 715 ) { 716 return (org.openmdx.base.cci.Context)refGetValue( 717 "org:openmdx:base:ContextCapable:context", 718 id 719 ); 720 } 721 722 public java.util.Collection getContext( 726 ) { 727 return (java.util.Collection )refGetValue( 728 "org:openmdx:base:ContextCapable:context" 729 ); 730 } 731 732 protected void addContext ( 736 String id, 737 org.openmdx.base.cci.Context newValue 738 ) { 739 refAddValue( 740 "org:openmdx:base:ContextCapable:context", 741 id, 742 newValue 743 ); 744 } 745 746 protected void addContext ( 750 org.openmdx.base.cci.Context newValue 751 ) { 752 refAddValue( 753 "org:openmdx:base:ContextCapable:context", 754 newValue 755 ); 756 } 757 758 protected void removeContext ( 762 String id 763 ) { 764 refRemoveValue( 765 "org:openmdx:base:ContextCapable:context", 766 id 767 ); 768 } 769 770 public String getIdentity( 774 ) { 775 return getIdentity(0); 776 } 777 778 protected String getIdentity( 779 int index 780 ) { 781 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 782 } 783 784 protected void setIdentity( 788 String newValue 789 ) { 790 setIdentity(0, newValue); 791 } 792 793 protected void setIdentity( 794 int index, 795 String newValue 796 ) { 797 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 798 } 799 protected void setView( 803 java.util.List newValue 804 ) { 805 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 806 } 807 808 protected void setView( 809 org.openmdx.compatibility.view1.cci.View[] newValue 810 ) { 811 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 812 } 813 814 public org.openmdx.compatibility.view1.cci.View getView( 818 String namespace 819 ) { 820 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 821 "org:openmdx:compatibility:view1:ViewCapable:view", 822 namespace 823 ); 824 } 825 826 public java.util.Collection getView( 830 ) { 831 return (java.util.Collection )refGetValue( 832 "org:openmdx:compatibility:view1:ViewCapable:view" 833 ); 834 } 835 836 public java.util.List getView( 837 org.openmdx.compatibility.view1.cci.ViewFilter filter 838 ) { 839 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 840 "org:openmdx:compatibility:view1:ViewCapable:view" 841 )).toList(filter); 842 } 843 844 protected void addView ( 848 String namespace, 849 org.openmdx.compatibility.view1.cci.View newValue 850 ) { 851 refAddValue( 852 "org:openmdx:compatibility:view1:ViewCapable:view", 853 namespace, 854 newValue 855 ); 856 } 857 858 protected void addView ( 862 org.openmdx.compatibility.view1.cci.View newValue 863 ) { 864 refAddValue( 865 "org:openmdx:compatibility:view1:ViewCapable:view", 866 newValue 867 ); 868 } 869 870 protected void removeView ( 874 String namespace 875 ) { 876 refRemoveValue( 877 "org:openmdx:compatibility:view1:ViewCapable:view", 878 namespace 879 ); 880 } 881 882 } 886 | Popular Tags |