1 package org.opencrx.kernel.base.cci; 14 15 public class DateTimeReplacementImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements DateTimeReplacement { 18 19 public DateTimeReplacementImpl( 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 java.util.Date getBaseDateTime ( 30 ) { 31 return (java.util.Date )this.refGetValue("baseDateTime", 0); 32 } 33 public void setBaseDateTime( 37 java.util.Date newValue 38 ) { 39 refSetValue("org:opencrx:kernel:base:DateTimeReplacement:baseDateTime", 0, newValue); 40 } 41 42 public java.util.Date getNewDateTime( 46 ) { 47 return getNewDateTime(0); 48 } 49 50 protected java.util.Date getNewDateTime( 51 int index 52 ) { 53 return (java.util.Date )this.refGetValue("org:opencrx:kernel:base:DateTimeReplacement:newDateTime", index); 54 } 55 56 public void setNewDateTime( 60 java.util.Date newValue 61 ) { 62 setNewDateTime(0, newValue); 63 } 64 65 protected void setNewDateTime( 66 int index, 67 java.util.Date newValue 68 ) { 69 refSetValue("org:opencrx:kernel:base:DateTimeReplacement:newDateTime", index, newValue); 70 } 71 public java.util.Date getOldDateTime ( 75 ) { 76 return (java.util.Date )this.refGetValue("oldDateTime", 0); 77 } 78 public void setOldDateTime( 82 java.util.Date newValue 83 ) { 84 refSetValue("org:opencrx:kernel:base:DateTimeReplacement:oldDateTime", 0, newValue); 85 } 86 87 public short getAccessLevelBrowse( 91 ) { 92 return getAccessLevelBrowse(0); 93 } 94 95 protected short getAccessLevelBrowse( 96 int index 97 ) { 98 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 99 } 100 101 public void setAccessLevelBrowse( 105 short newValue 106 ) { 107 setAccessLevelBrowse(0, newValue); 108 } 109 110 protected void setAccessLevelBrowse( 111 int index, 112 short newValue 113 ) { 114 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 115 } 116 public short getAccessLevelDelete( 120 ) { 121 return getAccessLevelDelete(0); 122 } 123 124 protected short getAccessLevelDelete( 125 int index 126 ) { 127 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 128 } 129 130 public void setAccessLevelDelete( 134 short newValue 135 ) { 136 setAccessLevelDelete(0, newValue); 137 } 138 139 protected void setAccessLevelDelete( 140 int index, 141 short newValue 142 ) { 143 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 144 } 145 public short getAccessLevelUpdate( 149 ) { 150 return getAccessLevelUpdate(0); 151 } 152 153 protected short getAccessLevelUpdate( 154 int index 155 ) { 156 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 157 } 158 159 public void setAccessLevelUpdate( 163 short newValue 164 ) { 165 setAccessLevelUpdate(0, newValue); 166 } 167 168 protected void setAccessLevelUpdate( 169 int index, 170 short newValue 171 ) { 172 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 173 } 174 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 178 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 179 ) throws javax.jmi.reflect.RefException { 180 java.util.List args = new java.util.ArrayList (); 181 args.add(params); 182 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 183 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 184 args 185 ); 186 } 187 188 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 189 org.opencrx.security.realm1.cci.PrincipalGroup group 190 , short mode 191 ) throws javax.jmi.reflect.RefException { 192 return addOwningGroup( 193 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 194 group 195 , mode 196 ) 197 ); 198 } 199 200 public java.util.List getOwner ( 204 ) { 205 return (java.util.List )this.refGetValue("owner"); 206 } 207 public String getOwner( 208 int index 209 ) { 210 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 211 } 212 213 protected void setOwner( 217 java.util.List newValue 218 ) { 219 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 220 } 221 222 protected void setOwner( 223 String [] newValue 224 ) { 225 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 226 } 227 228 public void setOwningGroup( 232 java.util.List newValue 233 ) { 234 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 235 } 236 237 public void setOwningGroup( 238 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 239 ) { 240 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 241 } 242 243 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 247 int index 248 ) { 249 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 250 "org:opencrx:kernel:base:SecureObject:owningGroup", 251 new Integer (index) 252 ); 253 } 254 255 public java.util.Collection getOwningGroup( 259 ) { 260 return (java.util.Collection )refGetValue( 261 "org:opencrx:kernel:base:SecureObject:owningGroup" 262 ); 263 } 264 265 public void addOwningGroup ( 269 int index, 270 org.opencrx.security.realm1.cci.PrincipalGroup newValue 271 ) { 272 refAddValue( 273 "org:opencrx:kernel:base:SecureObject:owningGroup", 274 new Integer (index), 275 newValue 276 ); 277 } 278 279 public void addOwningGroup ( 283 org.opencrx.security.realm1.cci.PrincipalGroup newValue 284 ) { 285 refAddValue( 286 "org:opencrx:kernel:base:SecureObject:owningGroup", 287 newValue 288 ); 289 } 290 291 public void removeOwningGroup ( 295 int index 296 ) { 297 refRemoveValue( 298 "org:opencrx:kernel:base:SecureObject:owningGroup", 299 new Integer (index) 300 ); 301 } 302 303 public org.opencrx.security.realm1.cci.User getOwningUser( 307 ) { 308 return (org.opencrx.security.realm1.cci.User)refGetValue( 309 "org:opencrx:kernel:base:SecureObject:owningUser" 310 ); 311 } 312 313 public void setOwningUser( 317 org.opencrx.security.realm1.cci.User newValue 318 ) { 319 refSetValue( 320 "org:opencrx:kernel:base:SecureObject:owningUser", 321 newValue 322 ); 323 } 324 325 public void removeOwningUser ( 329 ) { 330 refRemoveValue( 331 "org:opencrx:kernel:base:SecureObject:owningUser" 332 ); 333 } 334 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 338 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 339 ) throws javax.jmi.reflect.RefException { 340 java.util.List args = new java.util.ArrayList (); 341 args.add(params); 342 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 343 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 344 args 345 ); 346 } 347 348 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 349 short mode 350 ) throws javax.jmi.reflect.RefException { 351 return removeAllOwningGroup( 352 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 353 mode 354 ) 355 ); 356 } 357 358 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 362 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 363 ) throws javax.jmi.reflect.RefException { 364 java.util.List args = new java.util.ArrayList (); 365 args.add(params); 366 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 367 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 368 args 369 ); 370 } 371 372 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 373 org.opencrx.security.realm1.cci.PrincipalGroup group 374 , short mode 375 ) throws javax.jmi.reflect.RefException { 376 return removeOwningGroup( 377 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 378 group 379 , mode 380 ) 381 ); 382 } 383 384 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 388 org.opencrx.kernel.base.cci.SetAccessLevelParams params 389 ) throws javax.jmi.reflect.RefException { 390 java.util.List args = new java.util.ArrayList (); 391 args.add(params); 392 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 393 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 394 args 395 ); 396 } 397 398 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 399 short accessLevelBrowse 400 , short accessLevelDelete 401 , short accessLevelUpdate 402 , short mode 403 ) throws javax.jmi.reflect.RefException { 404 return setAccessLevel( 405 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 406 accessLevelBrowse 407 , accessLevelDelete 408 , accessLevelUpdate 409 , mode 410 ) 411 ); 412 } 413 414 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 418 org.opencrx.kernel.base.cci.SetOwningUserParams params 419 ) throws javax.jmi.reflect.RefException { 420 java.util.List args = new java.util.ArrayList (); 421 args.add(params); 422 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 423 "org:opencrx:kernel:base:SecureObject:setOwningUser", 424 args 425 ); 426 } 427 428 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 429 short mode 430 , org.opencrx.security.realm1.cci.User user 431 ) throws javax.jmi.reflect.RefException { 432 return setOwningUser( 433 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 434 mode 435 , user 436 ) 437 ); 438 } 439 440 public String getDescription ( 444 ) { 445 return (String )this.refGetValue("description", 0); 446 } 447 public void setDescription( 451 String newValue 452 ) { 453 refSetValue("org:opencrx:kernel:base:TemplateReplacement:description", 0, newValue); 454 } 455 456 public java.util.List getName ( 460 ) { 461 return (java.util.List )this.refGetValue("name"); 462 } 463 public String getName( 464 int index 465 ) { 466 return (String )this.refGetValue("org:opencrx:kernel:base:TemplateReplacement:name", index); 467 } 468 469 public void setName( 473 java.util.List newValue 474 ) { 475 refSetValue("org:opencrx:kernel:base:TemplateReplacement:name", newValue); 476 } 477 478 public void setName( 479 String [] newValue 480 ) { 481 refSetValue("org:opencrx:kernel:base:TemplateReplacement:name", newValue); 482 } 483 484 public java.util.Date getCreatedAt( 488 ) { 489 return getCreatedAt(0); 490 } 491 492 protected java.util.Date getCreatedAt( 493 int index 494 ) { 495 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 496 } 497 498 protected void setCreatedAt( 502 java.util.Date newValue 503 ) { 504 setCreatedAt(0, newValue); 505 } 506 507 protected void setCreatedAt( 508 int index, 509 java.util.Date newValue 510 ) { 511 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 512 } 513 public java.util.Set getCreatedBy ( 517 ) { 518 return (java.util.Set )this.refGetValue("createdBy"); 519 } 520 protected void setCreatedBy( 524 java.util.Set newValue 525 ) { 526 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 527 } 528 529 protected void setCreatedBy( 530 String [] newValue 531 ) { 532 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 533 } 534 535 public java.util.Date getModifiedAt( 539 ) { 540 return getModifiedAt(0); 541 } 542 543 protected java.util.Date getModifiedAt( 544 int index 545 ) { 546 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 547 } 548 549 protected void setModifiedAt( 553 java.util.Date newValue 554 ) { 555 setModifiedAt(0, newValue); 556 } 557 558 protected void setModifiedAt( 559 int index, 560 java.util.Date newValue 561 ) { 562 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 563 } 564 public java.util.Set getModifiedBy ( 568 ) { 569 return (java.util.Set )this.refGetValue("modifiedBy"); 570 } 571 protected void setModifiedBy( 575 java.util.Set newValue 576 ) { 577 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 578 } 579 580 protected void setModifiedBy( 581 String [] newValue 582 ) { 583 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 584 } 585 586 protected void setContext( 590 java.util.List newValue 591 ) { 592 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 593 } 594 595 protected void setContext( 596 org.openmdx.base.cci.Context[] newValue 597 ) { 598 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 599 } 600 601 public org.openmdx.base.cci.Context getContext( 605 String id 606 ) { 607 return (org.openmdx.base.cci.Context)refGetValue( 608 "org:openmdx:base:ContextCapable:context", 609 id 610 ); 611 } 612 613 public java.util.Collection getContext( 617 ) { 618 return (java.util.Collection )refGetValue( 619 "org:openmdx:base:ContextCapable:context" 620 ); 621 } 622 623 protected void addContext ( 627 String id, 628 org.openmdx.base.cci.Context newValue 629 ) { 630 refAddValue( 631 "org:openmdx:base:ContextCapable:context", 632 id, 633 newValue 634 ); 635 } 636 637 protected void addContext ( 641 org.openmdx.base.cci.Context newValue 642 ) { 643 refAddValue( 644 "org:openmdx:base:ContextCapable:context", 645 newValue 646 ); 647 } 648 649 protected void removeContext ( 653 String id 654 ) { 655 refRemoveValue( 656 "org:openmdx:base:ContextCapable:context", 657 id 658 ); 659 } 660 661 public String getIdentity( 665 ) { 666 return getIdentity(0); 667 } 668 669 protected String getIdentity( 670 int index 671 ) { 672 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 673 } 674 675 protected void setIdentity( 679 String newValue 680 ) { 681 setIdentity(0, newValue); 682 } 683 684 protected void setIdentity( 685 int index, 686 String newValue 687 ) { 688 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 689 } 690 protected void setView( 694 java.util.List newValue 695 ) { 696 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 697 } 698 699 protected void setView( 700 org.openmdx.compatibility.view1.cci.View[] newValue 701 ) { 702 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 703 } 704 705 public org.openmdx.compatibility.view1.cci.View getView( 709 String namespace 710 ) { 711 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 712 "org:openmdx:compatibility:view1:ViewCapable:view", 713 namespace 714 ); 715 } 716 717 public java.util.Collection getView( 721 ) { 722 return (java.util.Collection )refGetValue( 723 "org:openmdx:compatibility:view1:ViewCapable:view" 724 ); 725 } 726 727 public java.util.List getView( 728 org.openmdx.compatibility.view1.cci.ViewFilter filter 729 ) { 730 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 731 "org:openmdx:compatibility:view1:ViewCapable:view" 732 )).toList(filter); 733 } 734 735 protected void addView ( 739 String namespace, 740 org.openmdx.compatibility.view1.cci.View newValue 741 ) { 742 refAddValue( 743 "org:openmdx:compatibility:view1:ViewCapable:view", 744 namespace, 745 newValue 746 ); 747 } 748 749 protected void addView ( 753 org.openmdx.compatibility.view1.cci.View newValue 754 ) { 755 refAddValue( 756 "org:openmdx:compatibility:view1:ViewCapable:view", 757 newValue 758 ); 759 } 760 761 protected void removeView ( 765 String namespace 766 ) { 767 refRemoveValue( 768 "org:openmdx:compatibility:view1:ViewCapable:view", 769 namespace 770 ); 771 } 772 773 } 777 | Popular Tags |