1 package org.opencrx.kernel.activity1.cci; 14 15 public class ActivityLinkFromImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ActivityLinkFrom { 18 19 public ActivityLinkFromImpl( 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 short getActivityLinkType( 30 ) { 31 return getActivityLinkType(0); 32 } 33 34 protected short getActivityLinkType( 35 int index 36 ) { 37 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:ActivityLinkFrom:activityLinkType", index)).shortValue(); 38 } 39 40 public void setActivityLinkType( 44 short newValue 45 ) { 46 setActivityLinkType(0, newValue); 47 } 48 49 protected void setActivityLinkType( 50 int index, 51 short newValue 52 ) { 53 refSetValue("org:opencrx:kernel:activity1:ActivityLinkFrom:activityLinkType", index, new Short (newValue)); 54 } 55 public String getDescription ( 59 ) { 60 return (String )this.refGetValue("description", 0); 61 } 62 public void setDescription( 66 String newValue 67 ) { 68 refSetValue("org:opencrx:kernel:activity1:ActivityLinkFrom:description", 0, newValue); 69 } 70 71 public org.opencrx.kernel.activity1.cci.Activity getLinkFrom( 75 ) { 76 return (org.opencrx.kernel.activity1.cci.Activity)refGetValue( 77 "org:opencrx:kernel:activity1:ActivityLinkFrom:linkFrom" 78 ); 79 } 80 81 public void setLinkFrom( 85 org.opencrx.kernel.activity1.cci.Activity newValue 86 ) { 87 refSetValue( 88 "org:opencrx:kernel:activity1:ActivityLinkFrom:linkFrom", 89 newValue 90 ); 91 } 92 93 public void removeLinkFrom ( 97 ) { 98 refRemoveValue( 99 "org:opencrx:kernel:activity1:ActivityLinkFrom:linkFrom" 100 ); 101 } 102 public String getName( 106 ) { 107 return getName(0); 108 } 109 110 protected String getName( 111 int index 112 ) { 113 return (String )this.refGetValue("org:opencrx:kernel:activity1:ActivityLinkFrom:name", index); 114 } 115 116 public void setName( 120 String newValue 121 ) { 122 setName(0, newValue); 123 } 124 125 protected void setName( 126 int index, 127 String newValue 128 ) { 129 refSetValue("org:opencrx:kernel:activity1:ActivityLinkFrom:name", index, newValue); 130 } 131 public short getAccessLevelBrowse( 135 ) { 136 return getAccessLevelBrowse(0); 137 } 138 139 protected short getAccessLevelBrowse( 140 int index 141 ) { 142 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 143 } 144 145 public void setAccessLevelBrowse( 149 short newValue 150 ) { 151 setAccessLevelBrowse(0, newValue); 152 } 153 154 protected void setAccessLevelBrowse( 155 int index, 156 short newValue 157 ) { 158 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 159 } 160 public short getAccessLevelDelete( 164 ) { 165 return getAccessLevelDelete(0); 166 } 167 168 protected short getAccessLevelDelete( 169 int index 170 ) { 171 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 172 } 173 174 public void setAccessLevelDelete( 178 short newValue 179 ) { 180 setAccessLevelDelete(0, newValue); 181 } 182 183 protected void setAccessLevelDelete( 184 int index, 185 short newValue 186 ) { 187 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 188 } 189 public short getAccessLevelUpdate( 193 ) { 194 return getAccessLevelUpdate(0); 195 } 196 197 protected short getAccessLevelUpdate( 198 int index 199 ) { 200 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 201 } 202 203 public void setAccessLevelUpdate( 207 short newValue 208 ) { 209 setAccessLevelUpdate(0, newValue); 210 } 211 212 protected void setAccessLevelUpdate( 213 int index, 214 short newValue 215 ) { 216 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 217 } 218 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 222 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 223 ) throws javax.jmi.reflect.RefException { 224 java.util.List args = new java.util.ArrayList (); 225 args.add(params); 226 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 227 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 228 args 229 ); 230 } 231 232 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 233 org.opencrx.security.realm1.cci.PrincipalGroup group 234 , short mode 235 ) throws javax.jmi.reflect.RefException { 236 return addOwningGroup( 237 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 238 group 239 , mode 240 ) 241 ); 242 } 243 244 public java.util.List getOwner ( 248 ) { 249 return (java.util.List )this.refGetValue("owner"); 250 } 251 public String getOwner( 252 int index 253 ) { 254 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 255 } 256 257 protected void setOwner( 261 java.util.List newValue 262 ) { 263 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 264 } 265 266 protected void setOwner( 267 String [] newValue 268 ) { 269 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 270 } 271 272 public void setOwningGroup( 276 java.util.List newValue 277 ) { 278 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 279 } 280 281 public void setOwningGroup( 282 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 283 ) { 284 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 285 } 286 287 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 291 int index 292 ) { 293 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 294 "org:opencrx:kernel:base:SecureObject:owningGroup", 295 new Integer (index) 296 ); 297 } 298 299 public java.util.Collection getOwningGroup( 303 ) { 304 return (java.util.Collection )refGetValue( 305 "org:opencrx:kernel:base:SecureObject:owningGroup" 306 ); 307 } 308 309 public void addOwningGroup ( 313 int index, 314 org.opencrx.security.realm1.cci.PrincipalGroup newValue 315 ) { 316 refAddValue( 317 "org:opencrx:kernel:base:SecureObject:owningGroup", 318 new Integer (index), 319 newValue 320 ); 321 } 322 323 public void addOwningGroup ( 327 org.opencrx.security.realm1.cci.PrincipalGroup newValue 328 ) { 329 refAddValue( 330 "org:opencrx:kernel:base:SecureObject:owningGroup", 331 newValue 332 ); 333 } 334 335 public void removeOwningGroup ( 339 int index 340 ) { 341 refRemoveValue( 342 "org:opencrx:kernel:base:SecureObject:owningGroup", 343 new Integer (index) 344 ); 345 } 346 347 public org.opencrx.security.realm1.cci.User getOwningUser( 351 ) { 352 return (org.opencrx.security.realm1.cci.User)refGetValue( 353 "org:opencrx:kernel:base:SecureObject:owningUser" 354 ); 355 } 356 357 public void setOwningUser( 361 org.opencrx.security.realm1.cci.User newValue 362 ) { 363 refSetValue( 364 "org:opencrx:kernel:base:SecureObject:owningUser", 365 newValue 366 ); 367 } 368 369 public void removeOwningUser ( 373 ) { 374 refRemoveValue( 375 "org:opencrx:kernel:base:SecureObject:owningUser" 376 ); 377 } 378 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 382 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 383 ) throws javax.jmi.reflect.RefException { 384 java.util.List args = new java.util.ArrayList (); 385 args.add(params); 386 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 387 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 388 args 389 ); 390 } 391 392 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 393 short mode 394 ) throws javax.jmi.reflect.RefException { 395 return removeAllOwningGroup( 396 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 397 mode 398 ) 399 ); 400 } 401 402 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 406 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 407 ) throws javax.jmi.reflect.RefException { 408 java.util.List args = new java.util.ArrayList (); 409 args.add(params); 410 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 411 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 412 args 413 ); 414 } 415 416 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 417 org.opencrx.security.realm1.cci.PrincipalGroup group 418 , short mode 419 ) throws javax.jmi.reflect.RefException { 420 return removeOwningGroup( 421 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 422 group 423 , mode 424 ) 425 ); 426 } 427 428 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 432 org.opencrx.kernel.base.cci.SetAccessLevelParams params 433 ) throws javax.jmi.reflect.RefException { 434 java.util.List args = new java.util.ArrayList (); 435 args.add(params); 436 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 437 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 438 args 439 ); 440 } 441 442 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 443 short accessLevelBrowse 444 , short accessLevelDelete 445 , short accessLevelUpdate 446 , short mode 447 ) throws javax.jmi.reflect.RefException { 448 return setAccessLevel( 449 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 450 accessLevelBrowse 451 , accessLevelDelete 452 , accessLevelUpdate 453 , mode 454 ) 455 ); 456 } 457 458 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 462 org.opencrx.kernel.base.cci.SetOwningUserParams params 463 ) throws javax.jmi.reflect.RefException { 464 java.util.List args = new java.util.ArrayList (); 465 args.add(params); 466 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 467 "org:opencrx:kernel:base:SecureObject:setOwningUser", 468 args 469 ); 470 } 471 472 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 473 short mode 474 , org.opencrx.security.realm1.cci.User user 475 ) throws javax.jmi.reflect.RefException { 476 return setOwningUser( 477 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 478 mode 479 , user 480 ) 481 ); 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 |