1 package org.opencrx.kernel.base.cci; 14 15 public class UriPropertyImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements UriProperty { 18 19 public UriPropertyImpl( 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 getDescription ( 30 ) { 31 return (String )this.refGetValue("description", 0); 32 } 33 public void setDescription( 37 String newValue 38 ) { 39 refSetValue("org:opencrx:kernel:base:Property:description", 0, newValue); 40 } 41 42 public String getName( 46 ) { 47 return getName(0); 48 } 49 50 protected String getName( 51 int index 52 ) { 53 return (String )this.refGetValue("org:opencrx:kernel:base:Property:name", index); 54 } 55 56 public void setName( 60 String newValue 61 ) { 62 setName(0, newValue); 63 } 64 65 protected void setName( 66 int index, 67 String newValue 68 ) { 69 refSetValue("org:opencrx:kernel:base:Property:name", index, newValue); 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 getUriValue( 428 ) { 429 return getUriValue(0); 430 } 431 432 protected String getUriValue( 433 int index 434 ) { 435 return (String )this.refGetValue("org:opencrx:kernel:base:UriProperty:uriValue", index); 436 } 437 438 public void setUriValue( 442 String newValue 443 ) { 444 setUriValue(0, newValue); 445 } 446 447 protected void setUriValue( 448 int index, 449 String newValue 450 ) { 451 refSetValue("org:opencrx:kernel:base:UriProperty:uriValue", index, newValue); 452 } 453 public java.util.Date getCreatedAt( 457 ) { 458 return getCreatedAt(0); 459 } 460 461 protected java.util.Date getCreatedAt( 462 int index 463 ) { 464 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 465 } 466 467 protected void setCreatedAt( 471 java.util.Date newValue 472 ) { 473 setCreatedAt(0, newValue); 474 } 475 476 protected void setCreatedAt( 477 int index, 478 java.util.Date newValue 479 ) { 480 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 481 } 482 public java.util.Set getCreatedBy ( 486 ) { 487 return (java.util.Set )this.refGetValue("createdBy"); 488 } 489 protected void setCreatedBy( 493 java.util.Set newValue 494 ) { 495 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 496 } 497 498 protected void setCreatedBy( 499 String [] newValue 500 ) { 501 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 502 } 503 504 public java.util.Date getModifiedAt( 508 ) { 509 return getModifiedAt(0); 510 } 511 512 protected java.util.Date getModifiedAt( 513 int index 514 ) { 515 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 516 } 517 518 protected void setModifiedAt( 522 java.util.Date newValue 523 ) { 524 setModifiedAt(0, newValue); 525 } 526 527 protected void setModifiedAt( 528 int index, 529 java.util.Date newValue 530 ) { 531 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 532 } 533 public java.util.Set getModifiedBy ( 537 ) { 538 return (java.util.Set )this.refGetValue("modifiedBy"); 539 } 540 protected void setModifiedBy( 544 java.util.Set newValue 545 ) { 546 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 547 } 548 549 protected void setModifiedBy( 550 String [] newValue 551 ) { 552 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 553 } 554 555 protected void setContext( 559 java.util.List newValue 560 ) { 561 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 562 } 563 564 protected void setContext( 565 org.openmdx.base.cci.Context[] newValue 566 ) { 567 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 568 } 569 570 public org.openmdx.base.cci.Context getContext( 574 String id 575 ) { 576 return (org.openmdx.base.cci.Context)refGetValue( 577 "org:openmdx:base:ContextCapable:context", 578 id 579 ); 580 } 581 582 public java.util.Collection getContext( 586 ) { 587 return (java.util.Collection )refGetValue( 588 "org:openmdx:base:ContextCapable:context" 589 ); 590 } 591 592 protected void addContext ( 596 String id, 597 org.openmdx.base.cci.Context newValue 598 ) { 599 refAddValue( 600 "org:openmdx:base:ContextCapable:context", 601 id, 602 newValue 603 ); 604 } 605 606 protected void addContext ( 610 org.openmdx.base.cci.Context newValue 611 ) { 612 refAddValue( 613 "org:openmdx:base:ContextCapable:context", 614 newValue 615 ); 616 } 617 618 protected void removeContext ( 622 String id 623 ) { 624 refRemoveValue( 625 "org:openmdx:base:ContextCapable:context", 626 id 627 ); 628 } 629 630 public String getIdentity( 634 ) { 635 return getIdentity(0); 636 } 637 638 protected String getIdentity( 639 int index 640 ) { 641 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 642 } 643 644 protected void setIdentity( 648 String newValue 649 ) { 650 setIdentity(0, newValue); 651 } 652 653 protected void setIdentity( 654 int index, 655 String newValue 656 ) { 657 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 658 } 659 protected void setView( 663 java.util.List newValue 664 ) { 665 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 666 } 667 668 protected void setView( 669 org.openmdx.compatibility.view1.cci.View[] newValue 670 ) { 671 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 672 } 673 674 public org.openmdx.compatibility.view1.cci.View getView( 678 String namespace 679 ) { 680 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 681 "org:openmdx:compatibility:view1:ViewCapable:view", 682 namespace 683 ); 684 } 685 686 public java.util.Collection getView( 690 ) { 691 return (java.util.Collection )refGetValue( 692 "org:openmdx:compatibility:view1:ViewCapable:view" 693 ); 694 } 695 696 public java.util.List getView( 697 org.openmdx.compatibility.view1.cci.ViewFilter filter 698 ) { 699 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 700 "org:openmdx:compatibility:view1:ViewCapable:view" 701 )).toList(filter); 702 } 703 704 protected void addView ( 708 String namespace, 709 org.openmdx.compatibility.view1.cci.View newValue 710 ) { 711 refAddValue( 712 "org:openmdx:compatibility:view1:ViewCapable:view", 713 namespace, 714 newValue 715 ); 716 } 717 718 protected void addView ( 722 org.openmdx.compatibility.view1.cci.View newValue 723 ) { 724 refAddValue( 725 "org:openmdx:compatibility:view1:ViewCapable:view", 726 newValue 727 ); 728 } 729 730 protected void removeView ( 734 String namespace 735 ) { 736 refRemoveValue( 737 "org:openmdx:compatibility:view1:ViewCapable:view", 738 namespace 739 ); 740 } 741 742 } 746 | Popular Tags |