1 package org.opencrx.kernel.base.cci; 14 15 public class BooleanReplacementImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements BooleanReplacement { 18 19 public BooleanReplacementImpl( 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 boolean isNewBoolean( 30 ) { 31 return isNewBoolean(0); 32 } 33 34 protected boolean isNewBoolean( 35 int index 36 ) { 37 return ((Boolean )this.refGetValue("org:opencrx:kernel:base:BooleanReplacement:newBoolean", index)).booleanValue(); 38 } 39 40 public void setNewBoolean( 44 boolean newValue 45 ) { 46 setNewBoolean(0, newValue); 47 } 48 49 protected void setNewBoolean( 50 int index, 51 boolean newValue 52 ) { 53 refSetValue("org:opencrx:kernel:base:BooleanReplacement:newBoolean", index, new Boolean (newValue)); 54 } 55 public Boolean isOldBoolean ( 59 ) { 60 return (Boolean )this.refGetValue("oldBoolean", 0); 61 } 62 public void setOldBoolean( 66 Boolean newValue 67 ) { 68 refSetValue("org:opencrx:kernel:base:BooleanReplacement:oldBoolean", 0, newValue); 69 } 70 71 public short getAccessLevelBrowse( 75 ) { 76 return getAccessLevelBrowse(0); 77 } 78 79 protected short getAccessLevelBrowse( 80 int index 81 ) { 82 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 83 } 84 85 public void setAccessLevelBrowse( 89 short newValue 90 ) { 91 setAccessLevelBrowse(0, newValue); 92 } 93 94 protected void setAccessLevelBrowse( 95 int index, 96 short newValue 97 ) { 98 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 99 } 100 public short getAccessLevelDelete( 104 ) { 105 return getAccessLevelDelete(0); 106 } 107 108 protected short getAccessLevelDelete( 109 int index 110 ) { 111 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 112 } 113 114 public void setAccessLevelDelete( 118 short newValue 119 ) { 120 setAccessLevelDelete(0, newValue); 121 } 122 123 protected void setAccessLevelDelete( 124 int index, 125 short newValue 126 ) { 127 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 128 } 129 public short getAccessLevelUpdate( 133 ) { 134 return getAccessLevelUpdate(0); 135 } 136 137 protected short getAccessLevelUpdate( 138 int index 139 ) { 140 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 141 } 142 143 public void setAccessLevelUpdate( 147 short newValue 148 ) { 149 setAccessLevelUpdate(0, newValue); 150 } 151 152 protected void setAccessLevelUpdate( 153 int index, 154 short newValue 155 ) { 156 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 157 } 158 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 162 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 163 ) throws javax.jmi.reflect.RefException { 164 java.util.List args = new java.util.ArrayList (); 165 args.add(params); 166 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 167 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 168 args 169 ); 170 } 171 172 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 173 org.opencrx.security.realm1.cci.PrincipalGroup group 174 , short mode 175 ) throws javax.jmi.reflect.RefException { 176 return addOwningGroup( 177 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 178 group 179 , mode 180 ) 181 ); 182 } 183 184 public java.util.List getOwner ( 188 ) { 189 return (java.util.List )this.refGetValue("owner"); 190 } 191 public String getOwner( 192 int index 193 ) { 194 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 195 } 196 197 protected void setOwner( 201 java.util.List newValue 202 ) { 203 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 204 } 205 206 protected void setOwner( 207 String [] newValue 208 ) { 209 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 210 } 211 212 public void setOwningGroup( 216 java.util.List newValue 217 ) { 218 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 219 } 220 221 public void setOwningGroup( 222 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 223 ) { 224 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 225 } 226 227 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 231 int index 232 ) { 233 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 234 "org:opencrx:kernel:base:SecureObject:owningGroup", 235 new Integer (index) 236 ); 237 } 238 239 public java.util.Collection getOwningGroup( 243 ) { 244 return (java.util.Collection )refGetValue( 245 "org:opencrx:kernel:base:SecureObject:owningGroup" 246 ); 247 } 248 249 public void addOwningGroup ( 253 int index, 254 org.opencrx.security.realm1.cci.PrincipalGroup newValue 255 ) { 256 refAddValue( 257 "org:opencrx:kernel:base:SecureObject:owningGroup", 258 new Integer (index), 259 newValue 260 ); 261 } 262 263 public void addOwningGroup ( 267 org.opencrx.security.realm1.cci.PrincipalGroup newValue 268 ) { 269 refAddValue( 270 "org:opencrx:kernel:base:SecureObject:owningGroup", 271 newValue 272 ); 273 } 274 275 public void removeOwningGroup ( 279 int index 280 ) { 281 refRemoveValue( 282 "org:opencrx:kernel:base:SecureObject:owningGroup", 283 new Integer (index) 284 ); 285 } 286 287 public org.opencrx.security.realm1.cci.User getOwningUser( 291 ) { 292 return (org.opencrx.security.realm1.cci.User)refGetValue( 293 "org:opencrx:kernel:base:SecureObject:owningUser" 294 ); 295 } 296 297 public void setOwningUser( 301 org.opencrx.security.realm1.cci.User newValue 302 ) { 303 refSetValue( 304 "org:opencrx:kernel:base:SecureObject:owningUser", 305 newValue 306 ); 307 } 308 309 public void removeOwningUser ( 313 ) { 314 refRemoveValue( 315 "org:opencrx:kernel:base:SecureObject:owningUser" 316 ); 317 } 318 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 322 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 323 ) throws javax.jmi.reflect.RefException { 324 java.util.List args = new java.util.ArrayList (); 325 args.add(params); 326 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 327 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 328 args 329 ); 330 } 331 332 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 333 short mode 334 ) throws javax.jmi.reflect.RefException { 335 return removeAllOwningGroup( 336 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 337 mode 338 ) 339 ); 340 } 341 342 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 346 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 347 ) throws javax.jmi.reflect.RefException { 348 java.util.List args = new java.util.ArrayList (); 349 args.add(params); 350 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 351 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 352 args 353 ); 354 } 355 356 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 357 org.opencrx.security.realm1.cci.PrincipalGroup group 358 , short mode 359 ) throws javax.jmi.reflect.RefException { 360 return removeOwningGroup( 361 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 362 group 363 , mode 364 ) 365 ); 366 } 367 368 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 372 org.opencrx.kernel.base.cci.SetAccessLevelParams params 373 ) throws javax.jmi.reflect.RefException { 374 java.util.List args = new java.util.ArrayList (); 375 args.add(params); 376 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 377 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 378 args 379 ); 380 } 381 382 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 383 short accessLevelBrowse 384 , short accessLevelDelete 385 , short accessLevelUpdate 386 , short mode 387 ) throws javax.jmi.reflect.RefException { 388 return setAccessLevel( 389 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 390 accessLevelBrowse 391 , accessLevelDelete 392 , accessLevelUpdate 393 , mode 394 ) 395 ); 396 } 397 398 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 402 org.opencrx.kernel.base.cci.SetOwningUserParams params 403 ) throws javax.jmi.reflect.RefException { 404 java.util.List args = new java.util.ArrayList (); 405 args.add(params); 406 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 407 "org:opencrx:kernel:base:SecureObject:setOwningUser", 408 args 409 ); 410 } 411 412 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 413 short mode 414 , org.opencrx.security.realm1.cci.User user 415 ) throws javax.jmi.reflect.RefException { 416 return setOwningUser( 417 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 418 mode 419 , user 420 ) 421 ); 422 } 423 424 public String getDescription ( 428 ) { 429 return (String )this.refGetValue("description", 0); 430 } 431 public void setDescription( 435 String newValue 436 ) { 437 refSetValue("org:opencrx:kernel:base:TemplateReplacement:description", 0, newValue); 438 } 439 440 public java.util.List getName ( 444 ) { 445 return (java.util.List )this.refGetValue("name"); 446 } 447 public String getName( 448 int index 449 ) { 450 return (String )this.refGetValue("org:opencrx:kernel:base:TemplateReplacement:name", index); 451 } 452 453 public void setName( 457 java.util.List newValue 458 ) { 459 refSetValue("org:opencrx:kernel:base:TemplateReplacement:name", newValue); 460 } 461 462 public void setName( 463 String [] newValue 464 ) { 465 refSetValue("org:opencrx:kernel:base:TemplateReplacement:name", newValue); 466 } 467 468 public java.util.Date getCreatedAt( 472 ) { 473 return getCreatedAt(0); 474 } 475 476 protected java.util.Date getCreatedAt( 477 int index 478 ) { 479 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 480 } 481 482 protected void setCreatedAt( 486 java.util.Date newValue 487 ) { 488 setCreatedAt(0, newValue); 489 } 490 491 protected void setCreatedAt( 492 int index, 493 java.util.Date newValue 494 ) { 495 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 496 } 497 public java.util.Set getCreatedBy ( 501 ) { 502 return (java.util.Set )this.refGetValue("createdBy"); 503 } 504 protected void setCreatedBy( 508 java.util.Set newValue 509 ) { 510 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 511 } 512 513 protected void setCreatedBy( 514 String [] newValue 515 ) { 516 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 517 } 518 519 public java.util.Date getModifiedAt( 523 ) { 524 return getModifiedAt(0); 525 } 526 527 protected java.util.Date getModifiedAt( 528 int index 529 ) { 530 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 531 } 532 533 protected void setModifiedAt( 537 java.util.Date newValue 538 ) { 539 setModifiedAt(0, newValue); 540 } 541 542 protected void setModifiedAt( 543 int index, 544 java.util.Date newValue 545 ) { 546 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 547 } 548 public java.util.Set getModifiedBy ( 552 ) { 553 return (java.util.Set )this.refGetValue("modifiedBy"); 554 } 555 protected void setModifiedBy( 559 java.util.Set newValue 560 ) { 561 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 562 } 563 564 protected void setModifiedBy( 565 String [] newValue 566 ) { 567 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 568 } 569 570 protected void setContext( 574 java.util.List newValue 575 ) { 576 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 577 } 578 579 protected void setContext( 580 org.openmdx.base.cci.Context[] newValue 581 ) { 582 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 583 } 584 585 public org.openmdx.base.cci.Context getContext( 589 String id 590 ) { 591 return (org.openmdx.base.cci.Context)refGetValue( 592 "org:openmdx:base:ContextCapable:context", 593 id 594 ); 595 } 596 597 public java.util.Collection getContext( 601 ) { 602 return (java.util.Collection )refGetValue( 603 "org:openmdx:base:ContextCapable:context" 604 ); 605 } 606 607 protected void addContext ( 611 String id, 612 org.openmdx.base.cci.Context newValue 613 ) { 614 refAddValue( 615 "org:openmdx:base:ContextCapable:context", 616 id, 617 newValue 618 ); 619 } 620 621 protected void addContext ( 625 org.openmdx.base.cci.Context newValue 626 ) { 627 refAddValue( 628 "org:openmdx:base:ContextCapable:context", 629 newValue 630 ); 631 } 632 633 protected void removeContext ( 637 String id 638 ) { 639 refRemoveValue( 640 "org:openmdx:base:ContextCapable:context", 641 id 642 ); 643 } 644 645 public String getIdentity( 649 ) { 650 return getIdentity(0); 651 } 652 653 protected String getIdentity( 654 int index 655 ) { 656 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 657 } 658 659 protected void setIdentity( 663 String newValue 664 ) { 665 setIdentity(0, newValue); 666 } 667 668 protected void setIdentity( 669 int index, 670 String newValue 671 ) { 672 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 673 } 674 protected void setView( 678 java.util.List newValue 679 ) { 680 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 681 } 682 683 protected void setView( 684 org.openmdx.compatibility.view1.cci.View[] newValue 685 ) { 686 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 687 } 688 689 public org.openmdx.compatibility.view1.cci.View getView( 693 String namespace 694 ) { 695 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 696 "org:openmdx:compatibility:view1:ViewCapable:view", 697 namespace 698 ); 699 } 700 701 public java.util.Collection getView( 705 ) { 706 return (java.util.Collection )refGetValue( 707 "org:openmdx:compatibility:view1:ViewCapable:view" 708 ); 709 } 710 711 public java.util.List getView( 712 org.openmdx.compatibility.view1.cci.ViewFilter filter 713 ) { 714 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 715 "org:openmdx:compatibility:view1:ViewCapable:view" 716 )).toList(filter); 717 } 718 719 protected void addView ( 723 String namespace, 724 org.openmdx.compatibility.view1.cci.View newValue 725 ) { 726 refAddValue( 727 "org:openmdx:compatibility:view1:ViewCapable:view", 728 namespace, 729 newValue 730 ); 731 } 732 733 protected void addView ( 737 org.openmdx.compatibility.view1.cci.View newValue 738 ) { 739 refAddValue( 740 "org:openmdx:compatibility:view1:ViewCapable:view", 741 newValue 742 ); 743 } 744 745 protected void removeView ( 749 String namespace 750 ) { 751 refRemoveValue( 752 "org:openmdx:compatibility:view1:ViewCapable:view", 753 namespace 754 ); 755 } 756 757 } 761 | Popular Tags |