1 package org.opencrx.kernel.activity1.cci; 14 15 public class EMailRecipientImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements EMailRecipient { 18 19 public EMailRecipientImpl( 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.EMailAddress getParty( 59 ) { 60 return (org.opencrx.kernel.account1.cci.EMailAddress)refGetValue( 61 "org:opencrx:kernel:activity1:EMailRecipient:party" 62 ); 63 } 64 65 public void setParty( 69 org.opencrx.kernel.account1.cci.EMailAddress newValue 70 ) { 71 refSetValue( 72 "org:opencrx:kernel:activity1:EMailRecipient:party", 73 newValue 74 ); 75 } 76 77 public void removeParty ( 81 ) { 82 refRemoveValue( 83 "org:opencrx:kernel:activity1:EMailRecipient:party" 84 ); 85 } 86 public short getAccessLevelBrowse( 90 ) { 91 return getAccessLevelBrowse(0); 92 } 93 94 protected short getAccessLevelBrowse( 95 int index 96 ) { 97 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 98 } 99 100 public void setAccessLevelBrowse( 104 short newValue 105 ) { 106 setAccessLevelBrowse(0, newValue); 107 } 108 109 protected void setAccessLevelBrowse( 110 int index, 111 short newValue 112 ) { 113 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 114 } 115 public short getAccessLevelDelete( 119 ) { 120 return getAccessLevelDelete(0); 121 } 122 123 protected short getAccessLevelDelete( 124 int index 125 ) { 126 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 127 } 128 129 public void setAccessLevelDelete( 133 short newValue 134 ) { 135 setAccessLevelDelete(0, newValue); 136 } 137 138 protected void setAccessLevelDelete( 139 int index, 140 short newValue 141 ) { 142 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 143 } 144 public short getAccessLevelUpdate( 148 ) { 149 return getAccessLevelUpdate(0); 150 } 151 152 protected short getAccessLevelUpdate( 153 int index 154 ) { 155 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 156 } 157 158 public void setAccessLevelUpdate( 162 short newValue 163 ) { 164 setAccessLevelUpdate(0, newValue); 165 } 166 167 protected void setAccessLevelUpdate( 168 int index, 169 short newValue 170 ) { 171 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 172 } 173 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 177 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 178 ) throws javax.jmi.reflect.RefException { 179 java.util.List args = new java.util.ArrayList (); 180 args.add(params); 181 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 182 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 183 args 184 ); 185 } 186 187 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 188 org.opencrx.security.realm1.cci.PrincipalGroup group 189 , short mode 190 ) throws javax.jmi.reflect.RefException { 191 return addOwningGroup( 192 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 193 group 194 , mode 195 ) 196 ); 197 } 198 199 public java.util.List getOwner ( 203 ) { 204 return (java.util.List )this.refGetValue("owner"); 205 } 206 public String getOwner( 207 int index 208 ) { 209 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 210 } 211 212 protected void setOwner( 216 java.util.List newValue 217 ) { 218 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 219 } 220 221 protected void setOwner( 222 String [] newValue 223 ) { 224 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 225 } 226 227 public void setOwningGroup( 231 java.util.List newValue 232 ) { 233 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 234 } 235 236 public void setOwningGroup( 237 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 238 ) { 239 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 240 } 241 242 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 246 int index 247 ) { 248 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 249 "org:opencrx:kernel:base:SecureObject:owningGroup", 250 new Integer (index) 251 ); 252 } 253 254 public java.util.Collection getOwningGroup( 258 ) { 259 return (java.util.Collection )refGetValue( 260 "org:opencrx:kernel:base:SecureObject:owningGroup" 261 ); 262 } 263 264 public void addOwningGroup ( 268 int index, 269 org.opencrx.security.realm1.cci.PrincipalGroup newValue 270 ) { 271 refAddValue( 272 "org:opencrx:kernel:base:SecureObject:owningGroup", 273 new Integer (index), 274 newValue 275 ); 276 } 277 278 public void addOwningGroup ( 282 org.opencrx.security.realm1.cci.PrincipalGroup newValue 283 ) { 284 refAddValue( 285 "org:opencrx:kernel:base:SecureObject:owningGroup", 286 newValue 287 ); 288 } 289 290 public void removeOwningGroup ( 294 int index 295 ) { 296 refRemoveValue( 297 "org:opencrx:kernel:base:SecureObject:owningGroup", 298 new Integer (index) 299 ); 300 } 301 302 public org.opencrx.security.realm1.cci.User getOwningUser( 306 ) { 307 return (org.opencrx.security.realm1.cci.User)refGetValue( 308 "org:opencrx:kernel:base:SecureObject:owningUser" 309 ); 310 } 311 312 public void setOwningUser( 316 org.opencrx.security.realm1.cci.User newValue 317 ) { 318 refSetValue( 319 "org:opencrx:kernel:base:SecureObject:owningUser", 320 newValue 321 ); 322 } 323 324 public void removeOwningUser ( 328 ) { 329 refRemoveValue( 330 "org:opencrx:kernel:base:SecureObject:owningUser" 331 ); 332 } 333 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 337 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 338 ) throws javax.jmi.reflect.RefException { 339 java.util.List args = new java.util.ArrayList (); 340 args.add(params); 341 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 342 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 343 args 344 ); 345 } 346 347 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 348 short mode 349 ) throws javax.jmi.reflect.RefException { 350 return removeAllOwningGroup( 351 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 352 mode 353 ) 354 ); 355 } 356 357 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 361 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 362 ) throws javax.jmi.reflect.RefException { 363 java.util.List args = new java.util.ArrayList (); 364 args.add(params); 365 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 366 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 367 args 368 ); 369 } 370 371 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 372 org.opencrx.security.realm1.cci.PrincipalGroup group 373 , short mode 374 ) throws javax.jmi.reflect.RefException { 375 return removeOwningGroup( 376 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 377 group 378 , mode 379 ) 380 ); 381 } 382 383 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 387 org.opencrx.kernel.base.cci.SetAccessLevelParams params 388 ) throws javax.jmi.reflect.RefException { 389 java.util.List args = new java.util.ArrayList (); 390 args.add(params); 391 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 392 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 393 args 394 ); 395 } 396 397 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 398 short accessLevelBrowse 399 , short accessLevelDelete 400 , short accessLevelUpdate 401 , short mode 402 ) throws javax.jmi.reflect.RefException { 403 return setAccessLevel( 404 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 405 accessLevelBrowse 406 , accessLevelDelete 407 , accessLevelUpdate 408 , mode 409 ) 410 ); 411 } 412 413 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 417 org.opencrx.kernel.base.cci.SetOwningUserParams params 418 ) throws javax.jmi.reflect.RefException { 419 java.util.List args = new java.util.ArrayList (); 420 args.add(params); 421 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 422 "org:opencrx:kernel:base:SecureObject:setOwningUser", 423 args 424 ); 425 } 426 427 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 428 short mode 429 , org.opencrx.security.realm1.cci.User user 430 ) throws javax.jmi.reflect.RefException { 431 return setOwningUser( 432 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 433 mode 434 , user 435 ) 436 ); 437 } 438 439 public java.util.Date getCreatedAt( 443 ) { 444 return getCreatedAt(0); 445 } 446 447 protected java.util.Date getCreatedAt( 448 int index 449 ) { 450 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 451 } 452 453 protected void setCreatedAt( 457 java.util.Date newValue 458 ) { 459 setCreatedAt(0, newValue); 460 } 461 462 protected void setCreatedAt( 463 int index, 464 java.util.Date newValue 465 ) { 466 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 467 } 468 public java.util.Set getCreatedBy ( 472 ) { 473 return (java.util.Set )this.refGetValue("createdBy"); 474 } 475 protected void setCreatedBy( 479 java.util.Set newValue 480 ) { 481 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 482 } 483 484 protected void setCreatedBy( 485 String [] newValue 486 ) { 487 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 488 } 489 490 public java.util.Date getModifiedAt( 494 ) { 495 return getModifiedAt(0); 496 } 497 498 protected java.util.Date getModifiedAt( 499 int index 500 ) { 501 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 502 } 503 504 protected void setModifiedAt( 508 java.util.Date newValue 509 ) { 510 setModifiedAt(0, newValue); 511 } 512 513 protected void setModifiedAt( 514 int index, 515 java.util.Date newValue 516 ) { 517 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 518 } 519 public java.util.Set getModifiedBy ( 523 ) { 524 return (java.util.Set )this.refGetValue("modifiedBy"); 525 } 526 protected void setModifiedBy( 530 java.util.Set newValue 531 ) { 532 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 533 } 534 535 protected void setModifiedBy( 536 String [] newValue 537 ) { 538 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 539 } 540 541 protected void setContext( 545 java.util.List newValue 546 ) { 547 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 548 } 549 550 protected void setContext( 551 org.openmdx.base.cci.Context[] newValue 552 ) { 553 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 554 } 555 556 public org.openmdx.base.cci.Context getContext( 560 String id 561 ) { 562 return (org.openmdx.base.cci.Context)refGetValue( 563 "org:openmdx:base:ContextCapable:context", 564 id 565 ); 566 } 567 568 public java.util.Collection getContext( 572 ) { 573 return (java.util.Collection )refGetValue( 574 "org:openmdx:base:ContextCapable:context" 575 ); 576 } 577 578 protected void addContext ( 582 String id, 583 org.openmdx.base.cci.Context newValue 584 ) { 585 refAddValue( 586 "org:openmdx:base:ContextCapable:context", 587 id, 588 newValue 589 ); 590 } 591 592 protected void addContext ( 596 org.openmdx.base.cci.Context newValue 597 ) { 598 refAddValue( 599 "org:openmdx:base:ContextCapable:context", 600 newValue 601 ); 602 } 603 604 protected void removeContext ( 608 String id 609 ) { 610 refRemoveValue( 611 "org:openmdx:base:ContextCapable:context", 612 id 613 ); 614 } 615 616 public String getIdentity( 620 ) { 621 return getIdentity(0); 622 } 623 624 protected String getIdentity( 625 int index 626 ) { 627 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 628 } 629 630 protected void setIdentity( 634 String newValue 635 ) { 636 setIdentity(0, newValue); 637 } 638 639 protected void setIdentity( 640 int index, 641 String newValue 642 ) { 643 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 644 } 645 protected void setView( 649 java.util.List newValue 650 ) { 651 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 652 } 653 654 protected void setView( 655 org.openmdx.compatibility.view1.cci.View[] newValue 656 ) { 657 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 658 } 659 660 public org.openmdx.compatibility.view1.cci.View getView( 664 String namespace 665 ) { 666 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 667 "org:openmdx:compatibility:view1:ViewCapable:view", 668 namespace 669 ); 670 } 671 672 public java.util.Collection getView( 676 ) { 677 return (java.util.Collection )refGetValue( 678 "org:openmdx:compatibility:view1:ViewCapable:view" 679 ); 680 } 681 682 public java.util.List getView( 683 org.openmdx.compatibility.view1.cci.ViewFilter filter 684 ) { 685 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 686 "org:openmdx:compatibility:view1:ViewCapable:view" 687 )).toList(filter); 688 } 689 690 protected void addView ( 694 String namespace, 695 org.openmdx.compatibility.view1.cci.View newValue 696 ) { 697 refAddValue( 698 "org:openmdx:compatibility:view1:ViewCapable:view", 699 namespace, 700 newValue 701 ); 702 } 703 704 protected void addView ( 708 org.openmdx.compatibility.view1.cci.View newValue 709 ) { 710 refAddValue( 711 "org:openmdx:compatibility:view1:ViewCapable:view", 712 newValue 713 ); 714 } 715 716 protected void removeView ( 720 String namespace 721 ) { 722 refRemoveValue( 723 "org:openmdx:compatibility:view1:ViewCapable:view", 724 namespace 725 ); 726 } 727 728 } 732 | Popular Tags |