1 package org.opencrx.kernel.generic.cci; 14 15 public class NoteImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Note { 18 19 public NoteImpl( 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 String getText ( 30 ) { 31 return (String )this.refGetValue("text", 0); 32 } 33 public void setText( 37 String newValue 38 ) { 39 refSetValue("org:opencrx:kernel:base:Note:text", 0, newValue); 40 } 41 42 public String getTitle ( 46 ) { 47 return (String )this.refGetValue("title", 0); 48 } 49 public void setTitle( 53 String newValue 54 ) { 55 refSetValue("org:opencrx:kernel:base:Note:title", 0, newValue); 56 } 57 58 public short getAccessLevelBrowse( 62 ) { 63 return getAccessLevelBrowse(0); 64 } 65 66 protected short getAccessLevelBrowse( 67 int index 68 ) { 69 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 70 } 71 72 public void setAccessLevelBrowse( 76 short newValue 77 ) { 78 setAccessLevelBrowse(0, newValue); 79 } 80 81 protected void setAccessLevelBrowse( 82 int index, 83 short newValue 84 ) { 85 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 86 } 87 public short getAccessLevelDelete( 91 ) { 92 return getAccessLevelDelete(0); 93 } 94 95 protected short getAccessLevelDelete( 96 int index 97 ) { 98 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 99 } 100 101 public void setAccessLevelDelete( 105 short newValue 106 ) { 107 setAccessLevelDelete(0, newValue); 108 } 109 110 protected void setAccessLevelDelete( 111 int index, 112 short newValue 113 ) { 114 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 115 } 116 public short getAccessLevelUpdate( 120 ) { 121 return getAccessLevelUpdate(0); 122 } 123 124 protected short getAccessLevelUpdate( 125 int index 126 ) { 127 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 128 } 129 130 public void setAccessLevelUpdate( 134 short newValue 135 ) { 136 setAccessLevelUpdate(0, newValue); 137 } 138 139 protected void setAccessLevelUpdate( 140 int index, 141 short newValue 142 ) { 143 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 144 } 145 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 149 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 150 ) throws javax.jmi.reflect.RefException { 151 java.util.List args = new java.util.ArrayList (); 152 args.add(params); 153 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 154 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 155 args 156 ); 157 } 158 159 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 160 org.opencrx.security.realm1.cci.PrincipalGroup group 161 , short mode 162 ) throws javax.jmi.reflect.RefException { 163 return addOwningGroup( 164 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 165 group 166 , mode 167 ) 168 ); 169 } 170 171 public java.util.List getOwner ( 175 ) { 176 return (java.util.List )this.refGetValue("owner"); 177 } 178 public String getOwner( 179 int index 180 ) { 181 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 182 } 183 184 protected void setOwner( 188 java.util.List newValue 189 ) { 190 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 191 } 192 193 protected void setOwner( 194 String [] newValue 195 ) { 196 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 197 } 198 199 public void setOwningGroup( 203 java.util.List newValue 204 ) { 205 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 206 } 207 208 public void setOwningGroup( 209 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 210 ) { 211 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 212 } 213 214 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 218 int index 219 ) { 220 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 221 "org:opencrx:kernel:base:SecureObject:owningGroup", 222 new Integer (index) 223 ); 224 } 225 226 public java.util.Collection getOwningGroup( 230 ) { 231 return (java.util.Collection )refGetValue( 232 "org:opencrx:kernel:base:SecureObject:owningGroup" 233 ); 234 } 235 236 public void addOwningGroup ( 240 int index, 241 org.opencrx.security.realm1.cci.PrincipalGroup newValue 242 ) { 243 refAddValue( 244 "org:opencrx:kernel:base:SecureObject:owningGroup", 245 new Integer (index), 246 newValue 247 ); 248 } 249 250 public void addOwningGroup ( 254 org.opencrx.security.realm1.cci.PrincipalGroup newValue 255 ) { 256 refAddValue( 257 "org:opencrx:kernel:base:SecureObject:owningGroup", 258 newValue 259 ); 260 } 261 262 public void removeOwningGroup ( 266 int index 267 ) { 268 refRemoveValue( 269 "org:opencrx:kernel:base:SecureObject:owningGroup", 270 new Integer (index) 271 ); 272 } 273 274 public org.opencrx.security.realm1.cci.User getOwningUser( 278 ) { 279 return (org.opencrx.security.realm1.cci.User)refGetValue( 280 "org:opencrx:kernel:base:SecureObject:owningUser" 281 ); 282 } 283 284 public void setOwningUser( 288 org.opencrx.security.realm1.cci.User newValue 289 ) { 290 refSetValue( 291 "org:opencrx:kernel:base:SecureObject:owningUser", 292 newValue 293 ); 294 } 295 296 public void removeOwningUser ( 300 ) { 301 refRemoveValue( 302 "org:opencrx:kernel:base:SecureObject:owningUser" 303 ); 304 } 305 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 309 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 310 ) throws javax.jmi.reflect.RefException { 311 java.util.List args = new java.util.ArrayList (); 312 args.add(params); 313 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 314 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 315 args 316 ); 317 } 318 319 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 320 short mode 321 ) throws javax.jmi.reflect.RefException { 322 return removeAllOwningGroup( 323 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 324 mode 325 ) 326 ); 327 } 328 329 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 333 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 334 ) throws javax.jmi.reflect.RefException { 335 java.util.List args = new java.util.ArrayList (); 336 args.add(params); 337 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 338 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 339 args 340 ); 341 } 342 343 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 344 org.opencrx.security.realm1.cci.PrincipalGroup group 345 , short mode 346 ) throws javax.jmi.reflect.RefException { 347 return removeOwningGroup( 348 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 349 group 350 , mode 351 ) 352 ); 353 } 354 355 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 359 org.opencrx.kernel.base.cci.SetAccessLevelParams params 360 ) throws javax.jmi.reflect.RefException { 361 java.util.List args = new java.util.ArrayList (); 362 args.add(params); 363 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 364 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 365 args 366 ); 367 } 368 369 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 370 short accessLevelBrowse 371 , short accessLevelDelete 372 , short accessLevelUpdate 373 , short mode 374 ) throws javax.jmi.reflect.RefException { 375 return setAccessLevel( 376 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 377 accessLevelBrowse 378 , accessLevelDelete 379 , accessLevelUpdate 380 , mode 381 ) 382 ); 383 } 384 385 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 389 org.opencrx.kernel.base.cci.SetOwningUserParams params 390 ) throws javax.jmi.reflect.RefException { 391 java.util.List args = new java.util.ArrayList (); 392 args.add(params); 393 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 394 "org:opencrx:kernel:base:SecureObject:setOwningUser", 395 args 396 ); 397 } 398 399 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 400 short mode 401 , org.opencrx.security.realm1.cci.User user 402 ) throws javax.jmi.reflect.RefException { 403 return setOwningUser( 404 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 405 mode 406 , user 407 ) 408 ); 409 } 410 411 public java.util.Date getCreatedAt( 415 ) { 416 return getCreatedAt(0); 417 } 418 419 protected java.util.Date getCreatedAt( 420 int index 421 ) { 422 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 423 } 424 425 protected void setCreatedAt( 429 java.util.Date newValue 430 ) { 431 setCreatedAt(0, newValue); 432 } 433 434 protected void setCreatedAt( 435 int index, 436 java.util.Date newValue 437 ) { 438 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 439 } 440 public java.util.Set getCreatedBy ( 444 ) { 445 return (java.util.Set )this.refGetValue("createdBy"); 446 } 447 protected void setCreatedBy( 451 java.util.Set newValue 452 ) { 453 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 454 } 455 456 protected void setCreatedBy( 457 String [] newValue 458 ) { 459 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 460 } 461 462 public java.util.Date getModifiedAt( 466 ) { 467 return getModifiedAt(0); 468 } 469 470 protected java.util.Date getModifiedAt( 471 int index 472 ) { 473 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 474 } 475 476 protected void setModifiedAt( 480 java.util.Date newValue 481 ) { 482 setModifiedAt(0, newValue); 483 } 484 485 protected void setModifiedAt( 486 int index, 487 java.util.Date newValue 488 ) { 489 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 490 } 491 public java.util.Set getModifiedBy ( 495 ) { 496 return (java.util.Set )this.refGetValue("modifiedBy"); 497 } 498 protected void setModifiedBy( 502 java.util.Set newValue 503 ) { 504 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 505 } 506 507 protected void setModifiedBy( 508 String [] newValue 509 ) { 510 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 511 } 512 513 protected void setContext( 517 java.util.List newValue 518 ) { 519 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 520 } 521 522 protected void setContext( 523 org.openmdx.base.cci.Context[] newValue 524 ) { 525 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 526 } 527 528 public org.openmdx.base.cci.Context getContext( 532 String id 533 ) { 534 return (org.openmdx.base.cci.Context)refGetValue( 535 "org:openmdx:base:ContextCapable:context", 536 id 537 ); 538 } 539 540 public java.util.Collection getContext( 544 ) { 545 return (java.util.Collection )refGetValue( 546 "org:openmdx:base:ContextCapable:context" 547 ); 548 } 549 550 protected void addContext ( 554 String id, 555 org.openmdx.base.cci.Context newValue 556 ) { 557 refAddValue( 558 "org:openmdx:base:ContextCapable:context", 559 id, 560 newValue 561 ); 562 } 563 564 protected void addContext ( 568 org.openmdx.base.cci.Context newValue 569 ) { 570 refAddValue( 571 "org:openmdx:base:ContextCapable:context", 572 newValue 573 ); 574 } 575 576 protected void removeContext ( 580 String id 581 ) { 582 refRemoveValue( 583 "org:openmdx:base:ContextCapable:context", 584 id 585 ); 586 } 587 588 public String getIdentity( 592 ) { 593 return getIdentity(0); 594 } 595 596 protected String getIdentity( 597 int index 598 ) { 599 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 600 } 601 602 protected void setIdentity( 606 String newValue 607 ) { 608 setIdentity(0, newValue); 609 } 610 611 protected void setIdentity( 612 int index, 613 String newValue 614 ) { 615 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 616 } 617 protected void setView( 621 java.util.List newValue 622 ) { 623 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 624 } 625 626 protected void setView( 627 org.openmdx.compatibility.view1.cci.View[] newValue 628 ) { 629 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 630 } 631 632 public org.openmdx.compatibility.view1.cci.View getView( 636 String namespace 637 ) { 638 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 639 "org:openmdx:compatibility:view1:ViewCapable:view", 640 namespace 641 ); 642 } 643 644 public java.util.Collection getView( 648 ) { 649 return (java.util.Collection )refGetValue( 650 "org:openmdx:compatibility:view1:ViewCapable:view" 651 ); 652 } 653 654 public java.util.List getView( 655 org.openmdx.compatibility.view1.cci.ViewFilter filter 656 ) { 657 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 658 "org:openmdx:compatibility:view1:ViewCapable:view" 659 )).toList(filter); 660 } 661 662 protected void addView ( 666 String namespace, 667 org.openmdx.compatibility.view1.cci.View newValue 668 ) { 669 refAddValue( 670 "org:openmdx:compatibility:view1:ViewCapable:view", 671 namespace, 672 newValue 673 ); 674 } 675 676 protected void addView ( 680 org.openmdx.compatibility.view1.cci.View newValue 681 ) { 682 refAddValue( 683 "org:openmdx:compatibility:view1:ViewCapable:view", 684 newValue 685 ); 686 } 687 688 protected void removeView ( 692 String namespace 693 ) { 694 refRemoveValue( 695 "org:openmdx:compatibility:view1:ViewCapable:view", 696 namespace 697 ); 698 } 699 700 } 704 | Popular Tags |