1 package org.opencrx.kernel.activity1.cci; 14 15 public class MeetingPartyImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements MeetingParty { 18 19 public MeetingPartyImpl( 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 getPartyType( 30 ) { 31 return getPartyType(0); 32 } 33 34 protected short getPartyType( 35 int index 36 ) { 37 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:AbstractActivityParty:partyType", index)).shortValue(); 38 } 39 40 public void setPartyType( 44 short newValue 45 ) { 46 setPartyType(0, newValue); 47 } 48 49 protected void setPartyType( 50 int index, 51 short newValue 52 ) { 53 refSetValue("org:opencrx:kernel:activity1:AbstractActivityParty:partyType", index, new Short (newValue)); 54 } 55 public org.opencrx.kernel.account1.cci.Contact getParty( 59 ) { 60 return (org.opencrx.kernel.account1.cci.Contact)refGetValue( 61 "org:opencrx:kernel:activity1:MeetingParty:party" 62 ); 63 } 64 65 public void setParty( 69 org.opencrx.kernel.account1.cci.Contact newValue 70 ) { 71 refSetValue( 72 "org:opencrx:kernel:activity1:MeetingParty:party", 73 newValue 74 ); 75 } 76 77 public short getAccessLevelBrowse( 81 ) { 82 return getAccessLevelBrowse(0); 83 } 84 85 protected short getAccessLevelBrowse( 86 int index 87 ) { 88 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 89 } 90 91 public void setAccessLevelBrowse( 95 short newValue 96 ) { 97 setAccessLevelBrowse(0, newValue); 98 } 99 100 protected void setAccessLevelBrowse( 101 int index, 102 short newValue 103 ) { 104 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 105 } 106 public short getAccessLevelDelete( 110 ) { 111 return getAccessLevelDelete(0); 112 } 113 114 protected short getAccessLevelDelete( 115 int index 116 ) { 117 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 118 } 119 120 public void setAccessLevelDelete( 124 short newValue 125 ) { 126 setAccessLevelDelete(0, newValue); 127 } 128 129 protected void setAccessLevelDelete( 130 int index, 131 short newValue 132 ) { 133 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 134 } 135 public short getAccessLevelUpdate( 139 ) { 140 return getAccessLevelUpdate(0); 141 } 142 143 protected short getAccessLevelUpdate( 144 int index 145 ) { 146 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 147 } 148 149 public void setAccessLevelUpdate( 153 short newValue 154 ) { 155 setAccessLevelUpdate(0, newValue); 156 } 157 158 protected void setAccessLevelUpdate( 159 int index, 160 short newValue 161 ) { 162 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 163 } 164 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 168 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 169 ) throws javax.jmi.reflect.RefException { 170 java.util.List args = new java.util.ArrayList (); 171 args.add(params); 172 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 173 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 174 args 175 ); 176 } 177 178 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 179 org.opencrx.security.realm1.cci.PrincipalGroup group 180 , short mode 181 ) throws javax.jmi.reflect.RefException { 182 return addOwningGroup( 183 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 184 group 185 , mode 186 ) 187 ); 188 } 189 190 public java.util.List getOwner ( 194 ) { 195 return (java.util.List )this.refGetValue("owner"); 196 } 197 public String getOwner( 198 int index 199 ) { 200 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 201 } 202 203 protected void setOwner( 207 java.util.List newValue 208 ) { 209 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 210 } 211 212 protected void setOwner( 213 String [] newValue 214 ) { 215 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 216 } 217 218 public void setOwningGroup( 222 java.util.List newValue 223 ) { 224 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 225 } 226 227 public void setOwningGroup( 228 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 229 ) { 230 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 231 } 232 233 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 237 int index 238 ) { 239 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 240 "org:opencrx:kernel:base:SecureObject:owningGroup", 241 new Integer (index) 242 ); 243 } 244 245 public java.util.Collection getOwningGroup( 249 ) { 250 return (java.util.Collection )refGetValue( 251 "org:opencrx:kernel:base:SecureObject:owningGroup" 252 ); 253 } 254 255 public void addOwningGroup ( 259 int index, 260 org.opencrx.security.realm1.cci.PrincipalGroup newValue 261 ) { 262 refAddValue( 263 "org:opencrx:kernel:base:SecureObject:owningGroup", 264 new Integer (index), 265 newValue 266 ); 267 } 268 269 public void addOwningGroup ( 273 org.opencrx.security.realm1.cci.PrincipalGroup newValue 274 ) { 275 refAddValue( 276 "org:opencrx:kernel:base:SecureObject:owningGroup", 277 newValue 278 ); 279 } 280 281 public void removeOwningGroup ( 285 int index 286 ) { 287 refRemoveValue( 288 "org:opencrx:kernel:base:SecureObject:owningGroup", 289 new Integer (index) 290 ); 291 } 292 293 public org.opencrx.security.realm1.cci.User getOwningUser( 297 ) { 298 return (org.opencrx.security.realm1.cci.User)refGetValue( 299 "org:opencrx:kernel:base:SecureObject:owningUser" 300 ); 301 } 302 303 public void setOwningUser( 307 org.opencrx.security.realm1.cci.User newValue 308 ) { 309 refSetValue( 310 "org:opencrx:kernel:base:SecureObject:owningUser", 311 newValue 312 ); 313 } 314 315 public void removeOwningUser ( 319 ) { 320 refRemoveValue( 321 "org:opencrx:kernel:base:SecureObject:owningUser" 322 ); 323 } 324 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 328 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 329 ) throws javax.jmi.reflect.RefException { 330 java.util.List args = new java.util.ArrayList (); 331 args.add(params); 332 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 333 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 334 args 335 ); 336 } 337 338 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 339 short mode 340 ) throws javax.jmi.reflect.RefException { 341 return removeAllOwningGroup( 342 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 343 mode 344 ) 345 ); 346 } 347 348 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 352 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 353 ) throws javax.jmi.reflect.RefException { 354 java.util.List args = new java.util.ArrayList (); 355 args.add(params); 356 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 357 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 358 args 359 ); 360 } 361 362 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 363 org.opencrx.security.realm1.cci.PrincipalGroup group 364 , short mode 365 ) throws javax.jmi.reflect.RefException { 366 return removeOwningGroup( 367 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 368 group 369 , mode 370 ) 371 ); 372 } 373 374 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 378 org.opencrx.kernel.base.cci.SetAccessLevelParams params 379 ) throws javax.jmi.reflect.RefException { 380 java.util.List args = new java.util.ArrayList (); 381 args.add(params); 382 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 383 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 384 args 385 ); 386 } 387 388 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 389 short accessLevelBrowse 390 , short accessLevelDelete 391 , short accessLevelUpdate 392 , short mode 393 ) throws javax.jmi.reflect.RefException { 394 return setAccessLevel( 395 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 396 accessLevelBrowse 397 , accessLevelDelete 398 , accessLevelUpdate 399 , mode 400 ) 401 ); 402 } 403 404 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 408 org.opencrx.kernel.base.cci.SetOwningUserParams params 409 ) throws javax.jmi.reflect.RefException { 410 java.util.List args = new java.util.ArrayList (); 411 args.add(params); 412 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 413 "org:opencrx:kernel:base:SecureObject:setOwningUser", 414 args 415 ); 416 } 417 418 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 419 short mode 420 , org.opencrx.security.realm1.cci.User user 421 ) throws javax.jmi.reflect.RefException { 422 return setOwningUser( 423 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 424 mode 425 , user 426 ) 427 ); 428 } 429 430 public java.util.Date getCreatedAt( 434 ) { 435 return getCreatedAt(0); 436 } 437 438 protected java.util.Date getCreatedAt( 439 int index 440 ) { 441 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 442 } 443 444 protected void setCreatedAt( 448 java.util.Date newValue 449 ) { 450 setCreatedAt(0, newValue); 451 } 452 453 protected void setCreatedAt( 454 int index, 455 java.util.Date newValue 456 ) { 457 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 458 } 459 public java.util.Set getCreatedBy ( 463 ) { 464 return (java.util.Set )this.refGetValue("createdBy"); 465 } 466 protected void setCreatedBy( 470 java.util.Set newValue 471 ) { 472 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 473 } 474 475 protected void setCreatedBy( 476 String [] newValue 477 ) { 478 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 479 } 480 481 public java.util.Date getModifiedAt( 485 ) { 486 return getModifiedAt(0); 487 } 488 489 protected java.util.Date getModifiedAt( 490 int index 491 ) { 492 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 493 } 494 495 protected void setModifiedAt( 499 java.util.Date newValue 500 ) { 501 setModifiedAt(0, newValue); 502 } 503 504 protected void setModifiedAt( 505 int index, 506 java.util.Date newValue 507 ) { 508 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 509 } 510 public java.util.Set getModifiedBy ( 514 ) { 515 return (java.util.Set )this.refGetValue("modifiedBy"); 516 } 517 protected void setModifiedBy( 521 java.util.Set newValue 522 ) { 523 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 524 } 525 526 protected void setModifiedBy( 527 String [] newValue 528 ) { 529 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 530 } 531 532 protected void setContext( 536 java.util.List newValue 537 ) { 538 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 539 } 540 541 protected void setContext( 542 org.openmdx.base.cci.Context[] newValue 543 ) { 544 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 545 } 546 547 public org.openmdx.base.cci.Context getContext( 551 String id 552 ) { 553 return (org.openmdx.base.cci.Context)refGetValue( 554 "org:openmdx:base:ContextCapable:context", 555 id 556 ); 557 } 558 559 public java.util.Collection getContext( 563 ) { 564 return (java.util.Collection )refGetValue( 565 "org:openmdx:base:ContextCapable:context" 566 ); 567 } 568 569 protected void addContext ( 573 String id, 574 org.openmdx.base.cci.Context newValue 575 ) { 576 refAddValue( 577 "org:openmdx:base:ContextCapable:context", 578 id, 579 newValue 580 ); 581 } 582 583 protected void addContext ( 587 org.openmdx.base.cci.Context newValue 588 ) { 589 refAddValue( 590 "org:openmdx:base:ContextCapable:context", 591 newValue 592 ); 593 } 594 595 protected void removeContext ( 599 String id 600 ) { 601 refRemoveValue( 602 "org:openmdx:base:ContextCapable:context", 603 id 604 ); 605 } 606 607 public String getIdentity( 611 ) { 612 return getIdentity(0); 613 } 614 615 protected String getIdentity( 616 int index 617 ) { 618 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 619 } 620 621 protected void setIdentity( 625 String newValue 626 ) { 627 setIdentity(0, newValue); 628 } 629 630 protected void setIdentity( 631 int index, 632 String newValue 633 ) { 634 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 635 } 636 protected void setView( 640 java.util.List newValue 641 ) { 642 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 643 } 644 645 protected void setView( 646 org.openmdx.compatibility.view1.cci.View[] newValue 647 ) { 648 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 649 } 650 651 public org.openmdx.compatibility.view1.cci.View getView( 655 String namespace 656 ) { 657 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 658 "org:openmdx:compatibility:view1:ViewCapable:view", 659 namespace 660 ); 661 } 662 663 public java.util.Collection getView( 667 ) { 668 return (java.util.Collection )refGetValue( 669 "org:openmdx:compatibility:view1:ViewCapable:view" 670 ); 671 } 672 673 public java.util.List getView( 674 org.openmdx.compatibility.view1.cci.ViewFilter filter 675 ) { 676 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 677 "org:openmdx:compatibility:view1:ViewCapable:view" 678 )).toList(filter); 679 } 680 681 protected void addView ( 685 String namespace, 686 org.openmdx.compatibility.view1.cci.View newValue 687 ) { 688 refAddValue( 689 "org:openmdx:compatibility:view1:ViewCapable:view", 690 namespace, 691 newValue 692 ); 693 } 694 695 protected void addView ( 699 org.openmdx.compatibility.view1.cci.View newValue 700 ) { 701 refAddValue( 702 "org:openmdx:compatibility:view1:ViewCapable:view", 703 newValue 704 ); 705 } 706 707 protected void removeView ( 711 String namespace 712 ) { 713 refRemoveValue( 714 "org:openmdx:compatibility:view1:ViewCapable:view", 715 namespace 716 ); 717 } 718 719 } 723 | Popular Tags |