1 package org.opencrx.kernel.base.cci; 14 15 public class PropertyImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Property { 18 19 public PropertyImpl( 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 java.util.Date getCreatedAt( 428 ) { 429 return getCreatedAt(0); 430 } 431 432 protected java.util.Date getCreatedAt( 433 int index 434 ) { 435 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 436 } 437 438 protected void setCreatedAt( 442 java.util.Date newValue 443 ) { 444 setCreatedAt(0, newValue); 445 } 446 447 protected void setCreatedAt( 448 int index, 449 java.util.Date newValue 450 ) { 451 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 452 } 453 public java.util.Set getCreatedBy ( 457 ) { 458 return (java.util.Set )this.refGetValue("createdBy"); 459 } 460 protected void setCreatedBy( 464 java.util.Set newValue 465 ) { 466 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 467 } 468 469 protected void setCreatedBy( 470 String [] newValue 471 ) { 472 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 473 } 474 475 public java.util.Date getModifiedAt( 479 ) { 480 return getModifiedAt(0); 481 } 482 483 protected java.util.Date getModifiedAt( 484 int index 485 ) { 486 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 487 } 488 489 protected void setModifiedAt( 493 java.util.Date newValue 494 ) { 495 setModifiedAt(0, newValue); 496 } 497 498 protected void setModifiedAt( 499 int index, 500 java.util.Date newValue 501 ) { 502 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 503 } 504 public java.util.Set getModifiedBy ( 508 ) { 509 return (java.util.Set )this.refGetValue("modifiedBy"); 510 } 511 protected void setModifiedBy( 515 java.util.Set newValue 516 ) { 517 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 518 } 519 520 protected void setModifiedBy( 521 String [] newValue 522 ) { 523 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 524 } 525 526 protected void setContext( 530 java.util.List newValue 531 ) { 532 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 533 } 534 535 protected void setContext( 536 org.openmdx.base.cci.Context[] newValue 537 ) { 538 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 539 } 540 541 public org.openmdx.base.cci.Context getContext( 545 String id 546 ) { 547 return (org.openmdx.base.cci.Context)refGetValue( 548 "org:openmdx:base:ContextCapable:context", 549 id 550 ); 551 } 552 553 public java.util.Collection getContext( 557 ) { 558 return (java.util.Collection )refGetValue( 559 "org:openmdx:base:ContextCapable:context" 560 ); 561 } 562 563 protected void addContext ( 567 String id, 568 org.openmdx.base.cci.Context newValue 569 ) { 570 refAddValue( 571 "org:openmdx:base:ContextCapable:context", 572 id, 573 newValue 574 ); 575 } 576 577 protected void addContext ( 581 org.openmdx.base.cci.Context newValue 582 ) { 583 refAddValue( 584 "org:openmdx:base:ContextCapable:context", 585 newValue 586 ); 587 } 588 589 protected void removeContext ( 593 String id 594 ) { 595 refRemoveValue( 596 "org:openmdx:base:ContextCapable:context", 597 id 598 ); 599 } 600 601 public String getIdentity( 605 ) { 606 return getIdentity(0); 607 } 608 609 protected String getIdentity( 610 int index 611 ) { 612 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 613 } 614 615 protected void setIdentity( 619 String newValue 620 ) { 621 setIdentity(0, newValue); 622 } 623 624 protected void setIdentity( 625 int index, 626 String newValue 627 ) { 628 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 629 } 630 protected void setView( 634 java.util.List newValue 635 ) { 636 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 637 } 638 639 protected void setView( 640 org.openmdx.compatibility.view1.cci.View[] newValue 641 ) { 642 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 643 } 644 645 public org.openmdx.compatibility.view1.cci.View getView( 649 String namespace 650 ) { 651 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 652 "org:openmdx:compatibility:view1:ViewCapable:view", 653 namespace 654 ); 655 } 656 657 public java.util.Collection getView( 661 ) { 662 return (java.util.Collection )refGetValue( 663 "org:openmdx:compatibility:view1:ViewCapable:view" 664 ); 665 } 666 667 public java.util.List getView( 668 org.openmdx.compatibility.view1.cci.ViewFilter filter 669 ) { 670 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 671 "org:openmdx:compatibility:view1:ViewCapable:view" 672 )).toList(filter); 673 } 674 675 protected void addView ( 679 String namespace, 680 org.openmdx.compatibility.view1.cci.View newValue 681 ) { 682 refAddValue( 683 "org:openmdx:compatibility:view1:ViewCapable:view", 684 namespace, 685 newValue 686 ); 687 } 688 689 protected void addView ( 693 org.openmdx.compatibility.view1.cci.View newValue 694 ) { 695 refAddValue( 696 "org:openmdx:compatibility:view1:ViewCapable:view", 697 newValue 698 ); 699 } 700 701 protected void removeView ( 705 String namespace 706 ) { 707 refRemoveValue( 708 "org:openmdx:compatibility:view1:ViewCapable:view", 709 namespace 710 ); 711 } 712 713 } 717 | Popular Tags |