1 package org.opencrx.kernel.activity1.cci; 14 15 public class AbstractMailingRecipientImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements AbstractMailingRecipient { 18 19 public AbstractMailingRecipientImpl( 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 short getAccessLevelBrowse( 59 ) { 60 return getAccessLevelBrowse(0); 61 } 62 63 protected short getAccessLevelBrowse( 64 int index 65 ) { 66 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 67 } 68 69 public void setAccessLevelBrowse( 73 short newValue 74 ) { 75 setAccessLevelBrowse(0, newValue); 76 } 77 78 protected void setAccessLevelBrowse( 79 int index, 80 short newValue 81 ) { 82 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 83 } 84 public short getAccessLevelDelete( 88 ) { 89 return getAccessLevelDelete(0); 90 } 91 92 protected short getAccessLevelDelete( 93 int index 94 ) { 95 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 96 } 97 98 public void setAccessLevelDelete( 102 short newValue 103 ) { 104 setAccessLevelDelete(0, newValue); 105 } 106 107 protected void setAccessLevelDelete( 108 int index, 109 short newValue 110 ) { 111 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 112 } 113 public short getAccessLevelUpdate( 117 ) { 118 return getAccessLevelUpdate(0); 119 } 120 121 protected short getAccessLevelUpdate( 122 int index 123 ) { 124 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 125 } 126 127 public void setAccessLevelUpdate( 131 short newValue 132 ) { 133 setAccessLevelUpdate(0, newValue); 134 } 135 136 protected void setAccessLevelUpdate( 137 int index, 138 short newValue 139 ) { 140 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 141 } 142 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 146 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 147 ) throws javax.jmi.reflect.RefException { 148 java.util.List args = new java.util.ArrayList (); 149 args.add(params); 150 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 151 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 152 args 153 ); 154 } 155 156 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 157 org.opencrx.security.realm1.cci.PrincipalGroup group 158 , short mode 159 ) throws javax.jmi.reflect.RefException { 160 return addOwningGroup( 161 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 162 group 163 , mode 164 ) 165 ); 166 } 167 168 public java.util.List getOwner ( 172 ) { 173 return (java.util.List )this.refGetValue("owner"); 174 } 175 public String getOwner( 176 int index 177 ) { 178 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 179 } 180 181 protected void setOwner( 185 java.util.List newValue 186 ) { 187 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 188 } 189 190 protected void setOwner( 191 String [] newValue 192 ) { 193 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 194 } 195 196 public void setOwningGroup( 200 java.util.List newValue 201 ) { 202 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 203 } 204 205 public void setOwningGroup( 206 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 207 ) { 208 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 209 } 210 211 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 215 int index 216 ) { 217 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 218 "org:opencrx:kernel:base:SecureObject:owningGroup", 219 new Integer (index) 220 ); 221 } 222 223 public java.util.Collection getOwningGroup( 227 ) { 228 return (java.util.Collection )refGetValue( 229 "org:opencrx:kernel:base:SecureObject:owningGroup" 230 ); 231 } 232 233 public void addOwningGroup ( 237 int index, 238 org.opencrx.security.realm1.cci.PrincipalGroup newValue 239 ) { 240 refAddValue( 241 "org:opencrx:kernel:base:SecureObject:owningGroup", 242 new Integer (index), 243 newValue 244 ); 245 } 246 247 public void addOwningGroup ( 251 org.opencrx.security.realm1.cci.PrincipalGroup newValue 252 ) { 253 refAddValue( 254 "org:opencrx:kernel:base:SecureObject:owningGroup", 255 newValue 256 ); 257 } 258 259 public void removeOwningGroup ( 263 int index 264 ) { 265 refRemoveValue( 266 "org:opencrx:kernel:base:SecureObject:owningGroup", 267 new Integer (index) 268 ); 269 } 270 271 public org.opencrx.security.realm1.cci.User getOwningUser( 275 ) { 276 return (org.opencrx.security.realm1.cci.User)refGetValue( 277 "org:opencrx:kernel:base:SecureObject:owningUser" 278 ); 279 } 280 281 public void setOwningUser( 285 org.opencrx.security.realm1.cci.User newValue 286 ) { 287 refSetValue( 288 "org:opencrx:kernel:base:SecureObject:owningUser", 289 newValue 290 ); 291 } 292 293 public void removeOwningUser ( 297 ) { 298 refRemoveValue( 299 "org:opencrx:kernel:base:SecureObject:owningUser" 300 ); 301 } 302 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 306 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 307 ) throws javax.jmi.reflect.RefException { 308 java.util.List args = new java.util.ArrayList (); 309 args.add(params); 310 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 311 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 312 args 313 ); 314 } 315 316 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 317 short mode 318 ) throws javax.jmi.reflect.RefException { 319 return removeAllOwningGroup( 320 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 321 mode 322 ) 323 ); 324 } 325 326 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 330 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 331 ) throws javax.jmi.reflect.RefException { 332 java.util.List args = new java.util.ArrayList (); 333 args.add(params); 334 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 335 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 336 args 337 ); 338 } 339 340 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 341 org.opencrx.security.realm1.cci.PrincipalGroup group 342 , short mode 343 ) throws javax.jmi.reflect.RefException { 344 return removeOwningGroup( 345 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 346 group 347 , mode 348 ) 349 ); 350 } 351 352 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 356 org.opencrx.kernel.base.cci.SetAccessLevelParams params 357 ) throws javax.jmi.reflect.RefException { 358 java.util.List args = new java.util.ArrayList (); 359 args.add(params); 360 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 361 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 362 args 363 ); 364 } 365 366 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 367 short accessLevelBrowse 368 , short accessLevelDelete 369 , short accessLevelUpdate 370 , short mode 371 ) throws javax.jmi.reflect.RefException { 372 return setAccessLevel( 373 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 374 accessLevelBrowse 375 , accessLevelDelete 376 , accessLevelUpdate 377 , mode 378 ) 379 ); 380 } 381 382 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 386 org.opencrx.kernel.base.cci.SetOwningUserParams params 387 ) throws javax.jmi.reflect.RefException { 388 java.util.List args = new java.util.ArrayList (); 389 args.add(params); 390 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 391 "org:opencrx:kernel:base:SecureObject:setOwningUser", 392 args 393 ); 394 } 395 396 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 397 short mode 398 , org.opencrx.security.realm1.cci.User user 399 ) throws javax.jmi.reflect.RefException { 400 return setOwningUser( 401 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 402 mode 403 , user 404 ) 405 ); 406 } 407 408 public java.util.Date getCreatedAt( 412 ) { 413 return getCreatedAt(0); 414 } 415 416 protected java.util.Date getCreatedAt( 417 int index 418 ) { 419 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 420 } 421 422 protected void setCreatedAt( 426 java.util.Date newValue 427 ) { 428 setCreatedAt(0, newValue); 429 } 430 431 protected void setCreatedAt( 432 int index, 433 java.util.Date newValue 434 ) { 435 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 436 } 437 public java.util.Set getCreatedBy ( 441 ) { 442 return (java.util.Set )this.refGetValue("createdBy"); 443 } 444 protected void setCreatedBy( 448 java.util.Set newValue 449 ) { 450 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 451 } 452 453 protected void setCreatedBy( 454 String [] newValue 455 ) { 456 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 457 } 458 459 public java.util.Date getModifiedAt( 463 ) { 464 return getModifiedAt(0); 465 } 466 467 protected java.util.Date getModifiedAt( 468 int index 469 ) { 470 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 471 } 472 473 protected void setModifiedAt( 477 java.util.Date newValue 478 ) { 479 setModifiedAt(0, newValue); 480 } 481 482 protected void setModifiedAt( 483 int index, 484 java.util.Date newValue 485 ) { 486 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 487 } 488 public java.util.Set getModifiedBy ( 492 ) { 493 return (java.util.Set )this.refGetValue("modifiedBy"); 494 } 495 protected void setModifiedBy( 499 java.util.Set newValue 500 ) { 501 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 502 } 503 504 protected void setModifiedBy( 505 String [] newValue 506 ) { 507 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 508 } 509 510 protected void setContext( 514 java.util.List newValue 515 ) { 516 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 517 } 518 519 protected void setContext( 520 org.openmdx.base.cci.Context[] newValue 521 ) { 522 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 523 } 524 525 public org.openmdx.base.cci.Context getContext( 529 String id 530 ) { 531 return (org.openmdx.base.cci.Context)refGetValue( 532 "org:openmdx:base:ContextCapable:context", 533 id 534 ); 535 } 536 537 public java.util.Collection getContext( 541 ) { 542 return (java.util.Collection )refGetValue( 543 "org:openmdx:base:ContextCapable:context" 544 ); 545 } 546 547 protected void addContext ( 551 String id, 552 org.openmdx.base.cci.Context newValue 553 ) { 554 refAddValue( 555 "org:openmdx:base:ContextCapable:context", 556 id, 557 newValue 558 ); 559 } 560 561 protected void addContext ( 565 org.openmdx.base.cci.Context newValue 566 ) { 567 refAddValue( 568 "org:openmdx:base:ContextCapable:context", 569 newValue 570 ); 571 } 572 573 protected void removeContext ( 577 String id 578 ) { 579 refRemoveValue( 580 "org:openmdx:base:ContextCapable:context", 581 id 582 ); 583 } 584 585 public String getIdentity( 589 ) { 590 return getIdentity(0); 591 } 592 593 protected String getIdentity( 594 int index 595 ) { 596 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 597 } 598 599 protected void setIdentity( 603 String newValue 604 ) { 605 setIdentity(0, newValue); 606 } 607 608 protected void setIdentity( 609 int index, 610 String newValue 611 ) { 612 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 613 } 614 protected void setView( 618 java.util.List newValue 619 ) { 620 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 621 } 622 623 protected void setView( 624 org.openmdx.compatibility.view1.cci.View[] newValue 625 ) { 626 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 627 } 628 629 public org.openmdx.compatibility.view1.cci.View getView( 633 String namespace 634 ) { 635 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 636 "org:openmdx:compatibility:view1:ViewCapable:view", 637 namespace 638 ); 639 } 640 641 public java.util.Collection getView( 645 ) { 646 return (java.util.Collection )refGetValue( 647 "org:openmdx:compatibility:view1:ViewCapable:view" 648 ); 649 } 650 651 public java.util.List getView( 652 org.openmdx.compatibility.view1.cci.ViewFilter filter 653 ) { 654 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 655 "org:openmdx:compatibility:view1:ViewCapable:view" 656 )).toList(filter); 657 } 658 659 protected void addView ( 663 String namespace, 664 org.openmdx.compatibility.view1.cci.View newValue 665 ) { 666 refAddValue( 667 "org:openmdx:compatibility:view1:ViewCapable:view", 668 namespace, 669 newValue 670 ); 671 } 672 673 protected void addView ( 677 org.openmdx.compatibility.view1.cci.View newValue 678 ) { 679 refAddValue( 680 "org:openmdx:compatibility:view1:ViewCapable:view", 681 newValue 682 ); 683 } 684 685 protected void removeView ( 689 String namespace 690 ) { 691 refRemoveValue( 692 "org:openmdx:compatibility:view1:ViewCapable:view", 693 namespace 694 ); 695 } 696 697 } 701 | Popular Tags |