1 package org.opencrx.kernel.activity1.cci; 14 15 public class ActivityVoteImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ActivityVote { 18 19 public ActivityVoteImpl( 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 org.opencrx.kernel.account1.cci.Contact getAssignedTo( 30 ) { 31 return (org.opencrx.kernel.account1.cci.Contact)refGetValue( 32 "org:opencrx:kernel:activity1:AbstractVote:assignedTo" 33 ); 34 } 35 36 public void setAssignedTo( 40 org.opencrx.kernel.account1.cci.Contact newValue 41 ) { 42 refSetValue( 43 "org:opencrx:kernel:activity1:AbstractVote:assignedTo", 44 newValue 45 ); 46 } 47 48 public void removeAssignedTo ( 52 ) { 53 refRemoveValue( 54 "org:opencrx:kernel:activity1:AbstractVote:assignedTo" 55 ); 56 } 57 public String getDescription ( 61 ) { 62 return (String )this.refGetValue("description", 0); 63 } 64 public void setDescription( 68 String newValue 69 ) { 70 refSetValue("org:opencrx:kernel:activity1:AbstractVote:description", 0, newValue); 71 } 72 73 public String getName( 77 ) { 78 return getName(0); 79 } 80 81 protected String getName( 82 int index 83 ) { 84 return (String )this.refGetValue("org:opencrx:kernel:activity1:AbstractVote:name", index); 85 } 86 87 public void setName( 91 String newValue 92 ) { 93 setName(0, newValue); 94 } 95 96 protected void setName( 97 int index, 98 String newValue 99 ) { 100 refSetValue("org:opencrx:kernel:activity1:AbstractVote:name", index, newValue); 101 } 102 public org.openmdx.base.cci.Void assignToMe( 106 org.openmdx.base.cci.Void params 107 ) throws javax.jmi.reflect.RefException { 108 java.util.List args = new java.util.ArrayList (); 109 args.add(params); 110 return (org.openmdx.base.cci.Void)refInvokeOperation( 111 "org:opencrx:kernel:base:Assignable:assignToMe", 112 args 113 ); 114 } 115 116 public org.openmdx.base.cci.Void assignToMe( 117 ) throws javax.jmi.reflect.RefException { 118 return assignToMe( 119 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 120 ) 121 ); 122 } 123 124 public short getAccessLevelBrowse( 128 ) { 129 return getAccessLevelBrowse(0); 130 } 131 132 protected short getAccessLevelBrowse( 133 int index 134 ) { 135 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 136 } 137 138 public void setAccessLevelBrowse( 142 short newValue 143 ) { 144 setAccessLevelBrowse(0, newValue); 145 } 146 147 protected void setAccessLevelBrowse( 148 int index, 149 short newValue 150 ) { 151 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 152 } 153 public short getAccessLevelDelete( 157 ) { 158 return getAccessLevelDelete(0); 159 } 160 161 protected short getAccessLevelDelete( 162 int index 163 ) { 164 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 165 } 166 167 public void setAccessLevelDelete( 171 short newValue 172 ) { 173 setAccessLevelDelete(0, newValue); 174 } 175 176 protected void setAccessLevelDelete( 177 int index, 178 short newValue 179 ) { 180 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 181 } 182 public short getAccessLevelUpdate( 186 ) { 187 return getAccessLevelUpdate(0); 188 } 189 190 protected short getAccessLevelUpdate( 191 int index 192 ) { 193 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 194 } 195 196 public void setAccessLevelUpdate( 200 short newValue 201 ) { 202 setAccessLevelUpdate(0, newValue); 203 } 204 205 protected void setAccessLevelUpdate( 206 int index, 207 short newValue 208 ) { 209 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 210 } 211 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 215 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 216 ) throws javax.jmi.reflect.RefException { 217 java.util.List args = new java.util.ArrayList (); 218 args.add(params); 219 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 220 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 221 args 222 ); 223 } 224 225 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 226 org.opencrx.security.realm1.cci.PrincipalGroup group 227 , short mode 228 ) throws javax.jmi.reflect.RefException { 229 return addOwningGroup( 230 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 231 group 232 , mode 233 ) 234 ); 235 } 236 237 public java.util.List getOwner ( 241 ) { 242 return (java.util.List )this.refGetValue("owner"); 243 } 244 public String getOwner( 245 int index 246 ) { 247 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 248 } 249 250 protected void setOwner( 254 java.util.List newValue 255 ) { 256 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 257 } 258 259 protected void setOwner( 260 String [] newValue 261 ) { 262 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 263 } 264 265 public void setOwningGroup( 269 java.util.List newValue 270 ) { 271 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 272 } 273 274 public void setOwningGroup( 275 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 276 ) { 277 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 278 } 279 280 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 284 int index 285 ) { 286 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 287 "org:opencrx:kernel:base:SecureObject:owningGroup", 288 new Integer (index) 289 ); 290 } 291 292 public java.util.Collection getOwningGroup( 296 ) { 297 return (java.util.Collection )refGetValue( 298 "org:opencrx:kernel:base:SecureObject:owningGroup" 299 ); 300 } 301 302 public void addOwningGroup ( 306 int index, 307 org.opencrx.security.realm1.cci.PrincipalGroup newValue 308 ) { 309 refAddValue( 310 "org:opencrx:kernel:base:SecureObject:owningGroup", 311 new Integer (index), 312 newValue 313 ); 314 } 315 316 public void addOwningGroup ( 320 org.opencrx.security.realm1.cci.PrincipalGroup newValue 321 ) { 322 refAddValue( 323 "org:opencrx:kernel:base:SecureObject:owningGroup", 324 newValue 325 ); 326 } 327 328 public void removeOwningGroup ( 332 int index 333 ) { 334 refRemoveValue( 335 "org:opencrx:kernel:base:SecureObject:owningGroup", 336 new Integer (index) 337 ); 338 } 339 340 public org.opencrx.security.realm1.cci.User getOwningUser( 344 ) { 345 return (org.opencrx.security.realm1.cci.User)refGetValue( 346 "org:opencrx:kernel:base:SecureObject:owningUser" 347 ); 348 } 349 350 public void setOwningUser( 354 org.opencrx.security.realm1.cci.User newValue 355 ) { 356 refSetValue( 357 "org:opencrx:kernel:base:SecureObject:owningUser", 358 newValue 359 ); 360 } 361 362 public void removeOwningUser ( 366 ) { 367 refRemoveValue( 368 "org:opencrx:kernel:base:SecureObject:owningUser" 369 ); 370 } 371 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 375 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 376 ) throws javax.jmi.reflect.RefException { 377 java.util.List args = new java.util.ArrayList (); 378 args.add(params); 379 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 380 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 381 args 382 ); 383 } 384 385 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 386 short mode 387 ) throws javax.jmi.reflect.RefException { 388 return removeAllOwningGroup( 389 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 390 mode 391 ) 392 ); 393 } 394 395 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 399 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 400 ) throws javax.jmi.reflect.RefException { 401 java.util.List args = new java.util.ArrayList (); 402 args.add(params); 403 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 404 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 405 args 406 ); 407 } 408 409 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 410 org.opencrx.security.realm1.cci.PrincipalGroup group 411 , short mode 412 ) throws javax.jmi.reflect.RefException { 413 return removeOwningGroup( 414 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 415 group 416 , mode 417 ) 418 ); 419 } 420 421 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 425 org.opencrx.kernel.base.cci.SetAccessLevelParams params 426 ) throws javax.jmi.reflect.RefException { 427 java.util.List args = new java.util.ArrayList (); 428 args.add(params); 429 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 430 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 431 args 432 ); 433 } 434 435 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 436 short accessLevelBrowse 437 , short accessLevelDelete 438 , short accessLevelUpdate 439 , short mode 440 ) throws javax.jmi.reflect.RefException { 441 return setAccessLevel( 442 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 443 accessLevelBrowse 444 , accessLevelDelete 445 , accessLevelUpdate 446 , mode 447 ) 448 ); 449 } 450 451 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 455 org.opencrx.kernel.base.cci.SetOwningUserParams params 456 ) throws javax.jmi.reflect.RefException { 457 java.util.List args = new java.util.ArrayList (); 458 args.add(params); 459 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 460 "org:opencrx:kernel:base:SecureObject:setOwningUser", 461 args 462 ); 463 } 464 465 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 466 short mode 467 , org.opencrx.security.realm1.cci.User user 468 ) throws javax.jmi.reflect.RefException { 469 return setOwningUser( 470 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 471 mode 472 , user 473 ) 474 ); 475 } 476 477 public java.util.Date getCreatedAt( 481 ) { 482 return getCreatedAt(0); 483 } 484 485 protected java.util.Date getCreatedAt( 486 int index 487 ) { 488 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 489 } 490 491 protected void setCreatedAt( 495 java.util.Date newValue 496 ) { 497 setCreatedAt(0, newValue); 498 } 499 500 protected void setCreatedAt( 501 int index, 502 java.util.Date newValue 503 ) { 504 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 505 } 506 public java.util.Set getCreatedBy ( 510 ) { 511 return (java.util.Set )this.refGetValue("createdBy"); 512 } 513 protected void setCreatedBy( 517 java.util.Set newValue 518 ) { 519 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 520 } 521 522 protected void setCreatedBy( 523 String [] newValue 524 ) { 525 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 526 } 527 528 public java.util.Date getModifiedAt( 532 ) { 533 return getModifiedAt(0); 534 } 535 536 protected java.util.Date getModifiedAt( 537 int index 538 ) { 539 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 540 } 541 542 protected void setModifiedAt( 546 java.util.Date newValue 547 ) { 548 setModifiedAt(0, newValue); 549 } 550 551 protected void setModifiedAt( 552 int index, 553 java.util.Date newValue 554 ) { 555 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 556 } 557 public java.util.Set getModifiedBy ( 561 ) { 562 return (java.util.Set )this.refGetValue("modifiedBy"); 563 } 564 protected void setModifiedBy( 568 java.util.Set newValue 569 ) { 570 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 571 } 572 573 protected void setModifiedBy( 574 String [] newValue 575 ) { 576 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 577 } 578 579 protected void setContext( 583 java.util.List newValue 584 ) { 585 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 586 } 587 588 protected void setContext( 589 org.openmdx.base.cci.Context[] newValue 590 ) { 591 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 592 } 593 594 public org.openmdx.base.cci.Context getContext( 598 String id 599 ) { 600 return (org.openmdx.base.cci.Context)refGetValue( 601 "org:openmdx:base:ContextCapable:context", 602 id 603 ); 604 } 605 606 public java.util.Collection getContext( 610 ) { 611 return (java.util.Collection )refGetValue( 612 "org:openmdx:base:ContextCapable:context" 613 ); 614 } 615 616 protected void addContext ( 620 String id, 621 org.openmdx.base.cci.Context newValue 622 ) { 623 refAddValue( 624 "org:openmdx:base:ContextCapable:context", 625 id, 626 newValue 627 ); 628 } 629 630 protected void addContext ( 634 org.openmdx.base.cci.Context newValue 635 ) { 636 refAddValue( 637 "org:openmdx:base:ContextCapable:context", 638 newValue 639 ); 640 } 641 642 protected void removeContext ( 646 String id 647 ) { 648 refRemoveValue( 649 "org:openmdx:base:ContextCapable:context", 650 id 651 ); 652 } 653 654 public String getIdentity( 658 ) { 659 return getIdentity(0); 660 } 661 662 protected String getIdentity( 663 int index 664 ) { 665 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 666 } 667 668 protected void setIdentity( 672 String newValue 673 ) { 674 setIdentity(0, newValue); 675 } 676 677 protected void setIdentity( 678 int index, 679 String newValue 680 ) { 681 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 682 } 683 protected void setView( 687 java.util.List newValue 688 ) { 689 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 690 } 691 692 protected void setView( 693 org.openmdx.compatibility.view1.cci.View[] newValue 694 ) { 695 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 696 } 697 698 public org.openmdx.compatibility.view1.cci.View getView( 702 String namespace 703 ) { 704 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 705 "org:openmdx:compatibility:view1:ViewCapable:view", 706 namespace 707 ); 708 } 709 710 public java.util.Collection getView( 714 ) { 715 return (java.util.Collection )refGetValue( 716 "org:openmdx:compatibility:view1:ViewCapable:view" 717 ); 718 } 719 720 public java.util.List getView( 721 org.openmdx.compatibility.view1.cci.ViewFilter filter 722 ) { 723 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 724 "org:openmdx:compatibility:view1:ViewCapable:view" 725 )).toList(filter); 726 } 727 728 protected void addView ( 732 String namespace, 733 org.openmdx.compatibility.view1.cci.View newValue 734 ) { 735 refAddValue( 736 "org:openmdx:compatibility:view1:ViewCapable:view", 737 namespace, 738 newValue 739 ); 740 } 741 742 protected void addView ( 746 org.openmdx.compatibility.view1.cci.View newValue 747 ) { 748 refAddValue( 749 "org:openmdx:compatibility:view1:ViewCapable:view", 750 newValue 751 ); 752 } 753 754 protected void removeView ( 758 String namespace 759 ) { 760 refRemoveValue( 761 "org:openmdx:compatibility:view1:ViewCapable:view", 762 namespace 763 ); 764 } 765 766 } 770 | Popular Tags |