1 package org.opencrx.kernel.home1.cci; 14 15 public class ChartImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Chart { 18 19 public ChartImpl( 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 byte[] getChart( 30 ) { 31 return getChart(0); 32 } 33 34 protected byte[] getChart( 35 int index 36 ) { 37 return (byte[])this.refGetValue("org:opencrx:kernel:base:Chart:chart", index); 38 } 39 40 protected void setChart( 44 byte[] newValue 45 ) { 46 setChart(0, newValue); 47 } 48 49 protected void setChart( 50 int index, 51 byte[] newValue 52 ) { 53 refSetValue("org:opencrx:kernel:base:Chart:chart", index, newValue); 54 } 55 public String getChartMimeType( 59 ) { 60 return getChartMimeType(0); 61 } 62 63 protected String getChartMimeType( 64 int index 65 ) { 66 return (String )this.refGetValue("org:opencrx:kernel:base:Chart:chartMimeType", index); 67 } 68 69 protected void setChartMimeType( 73 String newValue 74 ) { 75 setChartMimeType(0, newValue); 76 } 77 78 protected void setChartMimeType( 79 int index, 80 String newValue 81 ) { 82 refSetValue("org:opencrx:kernel:base:Chart:chartMimeType", index, newValue); 83 } 84 public String getChartName( 88 ) { 89 return getChartName(0); 90 } 91 92 protected String getChartName( 93 int index 94 ) { 95 return (String )this.refGetValue("org:opencrx:kernel:base:Chart:chartName", index); 96 } 97 98 protected void setChartName( 102 String newValue 103 ) { 104 setChartName(0, newValue); 105 } 106 107 protected void setChartName( 108 int index, 109 String newValue 110 ) { 111 refSetValue("org:opencrx:kernel:base:Chart:chartName", index, newValue); 112 } 113 public String getDescription( 117 ) { 118 return getDescription(0); 119 } 120 121 protected String getDescription( 122 int index 123 ) { 124 return (String )this.refGetValue("org:opencrx:kernel:base:Chart:description", index); 125 } 126 127 protected void setDescription( 131 String newValue 132 ) { 133 setDescription(0, newValue); 134 } 135 136 protected void setDescription( 137 int index, 138 String newValue 139 ) { 140 refSetValue("org:opencrx:kernel:base:Chart:description", index, newValue); 141 } 142 public short getAccessLevelBrowse( 146 ) { 147 return getAccessLevelBrowse(0); 148 } 149 150 protected short getAccessLevelBrowse( 151 int index 152 ) { 153 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 154 } 155 156 public void setAccessLevelBrowse( 160 short newValue 161 ) { 162 setAccessLevelBrowse(0, newValue); 163 } 164 165 protected void setAccessLevelBrowse( 166 int index, 167 short newValue 168 ) { 169 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 170 } 171 public short getAccessLevelDelete( 175 ) { 176 return getAccessLevelDelete(0); 177 } 178 179 protected short getAccessLevelDelete( 180 int index 181 ) { 182 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 183 } 184 185 public void setAccessLevelDelete( 189 short newValue 190 ) { 191 setAccessLevelDelete(0, newValue); 192 } 193 194 protected void setAccessLevelDelete( 195 int index, 196 short newValue 197 ) { 198 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 199 } 200 public short getAccessLevelUpdate( 204 ) { 205 return getAccessLevelUpdate(0); 206 } 207 208 protected short getAccessLevelUpdate( 209 int index 210 ) { 211 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 212 } 213 214 public void setAccessLevelUpdate( 218 short newValue 219 ) { 220 setAccessLevelUpdate(0, newValue); 221 } 222 223 protected void setAccessLevelUpdate( 224 int index, 225 short newValue 226 ) { 227 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 228 } 229 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 233 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 234 ) throws javax.jmi.reflect.RefException { 235 java.util.List args = new java.util.ArrayList (); 236 args.add(params); 237 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 238 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 239 args 240 ); 241 } 242 243 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 244 org.opencrx.security.realm1.cci.PrincipalGroup group 245 , short mode 246 ) throws javax.jmi.reflect.RefException { 247 return addOwningGroup( 248 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 249 group 250 , mode 251 ) 252 ); 253 } 254 255 public java.util.List getOwner ( 259 ) { 260 return (java.util.List )this.refGetValue("owner"); 261 } 262 public String getOwner( 263 int index 264 ) { 265 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 266 } 267 268 protected void setOwner( 272 java.util.List newValue 273 ) { 274 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 275 } 276 277 protected void setOwner( 278 String [] newValue 279 ) { 280 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 281 } 282 283 public void setOwningGroup( 287 java.util.List newValue 288 ) { 289 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 290 } 291 292 public void setOwningGroup( 293 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 294 ) { 295 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 296 } 297 298 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 302 int index 303 ) { 304 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 305 "org:opencrx:kernel:base:SecureObject:owningGroup", 306 new Integer (index) 307 ); 308 } 309 310 public java.util.Collection getOwningGroup( 314 ) { 315 return (java.util.Collection )refGetValue( 316 "org:opencrx:kernel:base:SecureObject:owningGroup" 317 ); 318 } 319 320 public void addOwningGroup ( 324 int index, 325 org.opencrx.security.realm1.cci.PrincipalGroup newValue 326 ) { 327 refAddValue( 328 "org:opencrx:kernel:base:SecureObject:owningGroup", 329 new Integer (index), 330 newValue 331 ); 332 } 333 334 public void addOwningGroup ( 338 org.opencrx.security.realm1.cci.PrincipalGroup newValue 339 ) { 340 refAddValue( 341 "org:opencrx:kernel:base:SecureObject:owningGroup", 342 newValue 343 ); 344 } 345 346 public void removeOwningGroup ( 350 int index 351 ) { 352 refRemoveValue( 353 "org:opencrx:kernel:base:SecureObject:owningGroup", 354 new Integer (index) 355 ); 356 } 357 358 public org.opencrx.security.realm1.cci.User getOwningUser( 362 ) { 363 return (org.opencrx.security.realm1.cci.User)refGetValue( 364 "org:opencrx:kernel:base:SecureObject:owningUser" 365 ); 366 } 367 368 public void setOwningUser( 372 org.opencrx.security.realm1.cci.User newValue 373 ) { 374 refSetValue( 375 "org:opencrx:kernel:base:SecureObject:owningUser", 376 newValue 377 ); 378 } 379 380 public void removeOwningUser ( 384 ) { 385 refRemoveValue( 386 "org:opencrx:kernel:base:SecureObject:owningUser" 387 ); 388 } 389 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 393 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 394 ) throws javax.jmi.reflect.RefException { 395 java.util.List args = new java.util.ArrayList (); 396 args.add(params); 397 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 398 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 399 args 400 ); 401 } 402 403 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 404 short mode 405 ) throws javax.jmi.reflect.RefException { 406 return removeAllOwningGroup( 407 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 408 mode 409 ) 410 ); 411 } 412 413 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 417 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 418 ) throws javax.jmi.reflect.RefException { 419 java.util.List args = new java.util.ArrayList (); 420 args.add(params); 421 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 422 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 423 args 424 ); 425 } 426 427 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 428 org.opencrx.security.realm1.cci.PrincipalGroup group 429 , short mode 430 ) throws javax.jmi.reflect.RefException { 431 return removeOwningGroup( 432 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 433 group 434 , mode 435 ) 436 ); 437 } 438 439 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 443 org.opencrx.kernel.base.cci.SetAccessLevelParams params 444 ) throws javax.jmi.reflect.RefException { 445 java.util.List args = new java.util.ArrayList (); 446 args.add(params); 447 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 448 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 449 args 450 ); 451 } 452 453 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 454 short accessLevelBrowse 455 , short accessLevelDelete 456 , short accessLevelUpdate 457 , short mode 458 ) throws javax.jmi.reflect.RefException { 459 return setAccessLevel( 460 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 461 accessLevelBrowse 462 , accessLevelDelete 463 , accessLevelUpdate 464 , mode 465 ) 466 ); 467 } 468 469 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 473 org.opencrx.kernel.base.cci.SetOwningUserParams params 474 ) throws javax.jmi.reflect.RefException { 475 java.util.List args = new java.util.ArrayList (); 476 args.add(params); 477 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 478 "org:opencrx:kernel:base:SecureObject:setOwningUser", 479 args 480 ); 481 } 482 483 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 484 short mode 485 , org.opencrx.security.realm1.cci.User user 486 ) throws javax.jmi.reflect.RefException { 487 return setOwningUser( 488 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 489 mode 490 , user 491 ) 492 ); 493 } 494 495 public java.util.Date getCreatedAt( 499 ) { 500 return getCreatedAt(0); 501 } 502 503 protected java.util.Date getCreatedAt( 504 int index 505 ) { 506 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 507 } 508 509 protected void setCreatedAt( 513 java.util.Date newValue 514 ) { 515 setCreatedAt(0, newValue); 516 } 517 518 protected void setCreatedAt( 519 int index, 520 java.util.Date newValue 521 ) { 522 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 523 } 524 public java.util.Set getCreatedBy ( 528 ) { 529 return (java.util.Set )this.refGetValue("createdBy"); 530 } 531 protected void setCreatedBy( 535 java.util.Set newValue 536 ) { 537 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 538 } 539 540 protected void setCreatedBy( 541 String [] newValue 542 ) { 543 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 544 } 545 546 public java.util.Date getModifiedAt( 550 ) { 551 return getModifiedAt(0); 552 } 553 554 protected java.util.Date getModifiedAt( 555 int index 556 ) { 557 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 558 } 559 560 protected void setModifiedAt( 564 java.util.Date newValue 565 ) { 566 setModifiedAt(0, newValue); 567 } 568 569 protected void setModifiedAt( 570 int index, 571 java.util.Date newValue 572 ) { 573 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 574 } 575 public java.util.Set getModifiedBy ( 579 ) { 580 return (java.util.Set )this.refGetValue("modifiedBy"); 581 } 582 protected void setModifiedBy( 586 java.util.Set newValue 587 ) { 588 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 589 } 590 591 protected void setModifiedBy( 592 String [] newValue 593 ) { 594 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 595 } 596 597 protected void setContext( 601 java.util.List newValue 602 ) { 603 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 604 } 605 606 protected void setContext( 607 org.openmdx.base.cci.Context[] newValue 608 ) { 609 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 610 } 611 612 public org.openmdx.base.cci.Context getContext( 616 String id 617 ) { 618 return (org.openmdx.base.cci.Context)refGetValue( 619 "org:openmdx:base:ContextCapable:context", 620 id 621 ); 622 } 623 624 public java.util.Collection getContext( 628 ) { 629 return (java.util.Collection )refGetValue( 630 "org:openmdx:base:ContextCapable:context" 631 ); 632 } 633 634 protected void addContext ( 638 String id, 639 org.openmdx.base.cci.Context newValue 640 ) { 641 refAddValue( 642 "org:openmdx:base:ContextCapable:context", 643 id, 644 newValue 645 ); 646 } 647 648 protected void addContext ( 652 org.openmdx.base.cci.Context newValue 653 ) { 654 refAddValue( 655 "org:openmdx:base:ContextCapable:context", 656 newValue 657 ); 658 } 659 660 protected void removeContext ( 664 String id 665 ) { 666 refRemoveValue( 667 "org:openmdx:base:ContextCapable:context", 668 id 669 ); 670 } 671 672 public String getIdentity( 676 ) { 677 return getIdentity(0); 678 } 679 680 protected String getIdentity( 681 int index 682 ) { 683 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 684 } 685 686 protected void setIdentity( 690 String newValue 691 ) { 692 setIdentity(0, newValue); 693 } 694 695 protected void setIdentity( 696 int index, 697 String newValue 698 ) { 699 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 700 } 701 protected void setView( 705 java.util.List newValue 706 ) { 707 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 708 } 709 710 protected void setView( 711 org.openmdx.compatibility.view1.cci.View[] newValue 712 ) { 713 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 714 } 715 716 public org.openmdx.compatibility.view1.cci.View getView( 720 String namespace 721 ) { 722 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 723 "org:openmdx:compatibility:view1:ViewCapable:view", 724 namespace 725 ); 726 } 727 728 public java.util.Collection getView( 732 ) { 733 return (java.util.Collection )refGetValue( 734 "org:openmdx:compatibility:view1:ViewCapable:view" 735 ); 736 } 737 738 public java.util.List getView( 739 org.openmdx.compatibility.view1.cci.ViewFilter filter 740 ) { 741 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 742 "org:openmdx:compatibility:view1:ViewCapable:view" 743 )).toList(filter); 744 } 745 746 protected void addView ( 750 String namespace, 751 org.openmdx.compatibility.view1.cci.View newValue 752 ) { 753 refAddValue( 754 "org:openmdx:compatibility:view1:ViewCapable:view", 755 namespace, 756 newValue 757 ); 758 } 759 760 protected void addView ( 764 org.openmdx.compatibility.view1.cci.View newValue 765 ) { 766 refAddValue( 767 "org:openmdx:compatibility:view1:ViewCapable:view", 768 newValue 769 ); 770 } 771 772 protected void removeView ( 776 String namespace 777 ) { 778 refRemoveValue( 779 "org:openmdx:compatibility:view1:ViewCapable:view", 780 namespace 781 ); 782 } 783 784 } 788 | Popular Tags |