1 package org.opencrx.kernel.activity1.cci; 14 15 public class ActivityGroupAssignmentImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ActivityGroupAssignment { 18 19 public ActivityGroupAssignmentImpl( 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.activity1.cci.ActivityGroup getActivityGroup( 30 ) { 31 return (org.opencrx.kernel.activity1.cci.ActivityGroup)refGetValue( 32 "org:opencrx:kernel:activity1:ActivityGroupAssignment:activityGroup" 33 ); 34 } 35 36 public void setActivityGroup( 40 org.opencrx.kernel.activity1.cci.ActivityGroup newValue 41 ) { 42 refSetValue( 43 "org:opencrx:kernel:activity1:ActivityGroupAssignment:activityGroup", 44 newValue 45 ); 46 } 47 48 public void removeActivityGroup ( 52 ) { 53 refRemoveValue( 54 "org:opencrx:kernel:activity1:ActivityGroupAssignment:activityGroup" 55 ); 56 } 57 public short getAccessLevelBrowse( 61 ) { 62 return getAccessLevelBrowse(0); 63 } 64 65 protected short getAccessLevelBrowse( 66 int index 67 ) { 68 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 69 } 70 71 public void setAccessLevelBrowse( 75 short newValue 76 ) { 77 setAccessLevelBrowse(0, newValue); 78 } 79 80 protected void setAccessLevelBrowse( 81 int index, 82 short newValue 83 ) { 84 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 85 } 86 public short getAccessLevelDelete( 90 ) { 91 return getAccessLevelDelete(0); 92 } 93 94 protected short getAccessLevelDelete( 95 int index 96 ) { 97 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 98 } 99 100 public void setAccessLevelDelete( 104 short newValue 105 ) { 106 setAccessLevelDelete(0, newValue); 107 } 108 109 protected void setAccessLevelDelete( 110 int index, 111 short newValue 112 ) { 113 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 114 } 115 public short getAccessLevelUpdate( 119 ) { 120 return getAccessLevelUpdate(0); 121 } 122 123 protected short getAccessLevelUpdate( 124 int index 125 ) { 126 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 127 } 128 129 public void setAccessLevelUpdate( 133 short newValue 134 ) { 135 setAccessLevelUpdate(0, newValue); 136 } 137 138 protected void setAccessLevelUpdate( 139 int index, 140 short newValue 141 ) { 142 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 143 } 144 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 148 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 149 ) throws javax.jmi.reflect.RefException { 150 java.util.List args = new java.util.ArrayList (); 151 args.add(params); 152 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 153 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 154 args 155 ); 156 } 157 158 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 159 org.opencrx.security.realm1.cci.PrincipalGroup group 160 , short mode 161 ) throws javax.jmi.reflect.RefException { 162 return addOwningGroup( 163 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 164 group 165 , mode 166 ) 167 ); 168 } 169 170 public java.util.List getOwner ( 174 ) { 175 return (java.util.List )this.refGetValue("owner"); 176 } 177 public String getOwner( 178 int index 179 ) { 180 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 181 } 182 183 protected void setOwner( 187 java.util.List newValue 188 ) { 189 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 190 } 191 192 protected void setOwner( 193 String [] newValue 194 ) { 195 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 196 } 197 198 public void setOwningGroup( 202 java.util.List newValue 203 ) { 204 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 205 } 206 207 public void setOwningGroup( 208 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 209 ) { 210 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 211 } 212 213 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 217 int index 218 ) { 219 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 220 "org:opencrx:kernel:base:SecureObject:owningGroup", 221 new Integer (index) 222 ); 223 } 224 225 public java.util.Collection getOwningGroup( 229 ) { 230 return (java.util.Collection )refGetValue( 231 "org:opencrx:kernel:base:SecureObject:owningGroup" 232 ); 233 } 234 235 public void addOwningGroup ( 239 int index, 240 org.opencrx.security.realm1.cci.PrincipalGroup newValue 241 ) { 242 refAddValue( 243 "org:opencrx:kernel:base:SecureObject:owningGroup", 244 new Integer (index), 245 newValue 246 ); 247 } 248 249 public void addOwningGroup ( 253 org.opencrx.security.realm1.cci.PrincipalGroup newValue 254 ) { 255 refAddValue( 256 "org:opencrx:kernel:base:SecureObject:owningGroup", 257 newValue 258 ); 259 } 260 261 public void removeOwningGroup ( 265 int index 266 ) { 267 refRemoveValue( 268 "org:opencrx:kernel:base:SecureObject:owningGroup", 269 new Integer (index) 270 ); 271 } 272 273 public org.opencrx.security.realm1.cci.User getOwningUser( 277 ) { 278 return (org.opencrx.security.realm1.cci.User)refGetValue( 279 "org:opencrx:kernel:base:SecureObject:owningUser" 280 ); 281 } 282 283 public void setOwningUser( 287 org.opencrx.security.realm1.cci.User newValue 288 ) { 289 refSetValue( 290 "org:opencrx:kernel:base:SecureObject:owningUser", 291 newValue 292 ); 293 } 294 295 public void removeOwningUser ( 299 ) { 300 refRemoveValue( 301 "org:opencrx:kernel:base:SecureObject:owningUser" 302 ); 303 } 304 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 308 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 309 ) throws javax.jmi.reflect.RefException { 310 java.util.List args = new java.util.ArrayList (); 311 args.add(params); 312 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 313 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 314 args 315 ); 316 } 317 318 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 319 short mode 320 ) throws javax.jmi.reflect.RefException { 321 return removeAllOwningGroup( 322 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 323 mode 324 ) 325 ); 326 } 327 328 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 332 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 333 ) throws javax.jmi.reflect.RefException { 334 java.util.List args = new java.util.ArrayList (); 335 args.add(params); 336 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 337 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 338 args 339 ); 340 } 341 342 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 343 org.opencrx.security.realm1.cci.PrincipalGroup group 344 , short mode 345 ) throws javax.jmi.reflect.RefException { 346 return removeOwningGroup( 347 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 348 group 349 , mode 350 ) 351 ); 352 } 353 354 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 358 org.opencrx.kernel.base.cci.SetAccessLevelParams params 359 ) throws javax.jmi.reflect.RefException { 360 java.util.List args = new java.util.ArrayList (); 361 args.add(params); 362 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 363 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 364 args 365 ); 366 } 367 368 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 369 short accessLevelBrowse 370 , short accessLevelDelete 371 , short accessLevelUpdate 372 , short mode 373 ) throws javax.jmi.reflect.RefException { 374 return setAccessLevel( 375 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 376 accessLevelBrowse 377 , accessLevelDelete 378 , accessLevelUpdate 379 , mode 380 ) 381 ); 382 } 383 384 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 388 org.opencrx.kernel.base.cci.SetOwningUserParams params 389 ) throws javax.jmi.reflect.RefException { 390 java.util.List args = new java.util.ArrayList (); 391 args.add(params); 392 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 393 "org:opencrx:kernel:base:SecureObject:setOwningUser", 394 args 395 ); 396 } 397 398 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 399 short mode 400 , org.opencrx.security.realm1.cci.User user 401 ) throws javax.jmi.reflect.RefException { 402 return setOwningUser( 403 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 404 mode 405 , user 406 ) 407 ); 408 } 409 410 public java.util.Date getCreatedAt( 414 ) { 415 return getCreatedAt(0); 416 } 417 418 protected java.util.Date getCreatedAt( 419 int index 420 ) { 421 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 422 } 423 424 protected void setCreatedAt( 428 java.util.Date newValue 429 ) { 430 setCreatedAt(0, newValue); 431 } 432 433 protected void setCreatedAt( 434 int index, 435 java.util.Date newValue 436 ) { 437 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 438 } 439 public java.util.Set getCreatedBy ( 443 ) { 444 return (java.util.Set )this.refGetValue("createdBy"); 445 } 446 protected void setCreatedBy( 450 java.util.Set newValue 451 ) { 452 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 453 } 454 455 protected void setCreatedBy( 456 String [] newValue 457 ) { 458 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 459 } 460 461 public java.util.Date getModifiedAt( 465 ) { 466 return getModifiedAt(0); 467 } 468 469 protected java.util.Date getModifiedAt( 470 int index 471 ) { 472 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 473 } 474 475 protected void setModifiedAt( 479 java.util.Date newValue 480 ) { 481 setModifiedAt(0, newValue); 482 } 483 484 protected void setModifiedAt( 485 int index, 486 java.util.Date newValue 487 ) { 488 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 489 } 490 public java.util.Set getModifiedBy ( 494 ) { 495 return (java.util.Set )this.refGetValue("modifiedBy"); 496 } 497 protected void setModifiedBy( 501 java.util.Set newValue 502 ) { 503 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 504 } 505 506 protected void setModifiedBy( 507 String [] newValue 508 ) { 509 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 510 } 511 512 protected void setContext( 516 java.util.List newValue 517 ) { 518 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 519 } 520 521 protected void setContext( 522 org.openmdx.base.cci.Context[] newValue 523 ) { 524 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 525 } 526 527 public org.openmdx.base.cci.Context getContext( 531 String id 532 ) { 533 return (org.openmdx.base.cci.Context)refGetValue( 534 "org:openmdx:base:ContextCapable:context", 535 id 536 ); 537 } 538 539 public java.util.Collection getContext( 543 ) { 544 return (java.util.Collection )refGetValue( 545 "org:openmdx:base:ContextCapable:context" 546 ); 547 } 548 549 protected void addContext ( 553 String id, 554 org.openmdx.base.cci.Context newValue 555 ) { 556 refAddValue( 557 "org:openmdx:base:ContextCapable:context", 558 id, 559 newValue 560 ); 561 } 562 563 protected void addContext ( 567 org.openmdx.base.cci.Context newValue 568 ) { 569 refAddValue( 570 "org:openmdx:base:ContextCapable:context", 571 newValue 572 ); 573 } 574 575 protected void removeContext ( 579 String id 580 ) { 581 refRemoveValue( 582 "org:openmdx:base:ContextCapable:context", 583 id 584 ); 585 } 586 587 public String getIdentity( 591 ) { 592 return getIdentity(0); 593 } 594 595 protected String getIdentity( 596 int index 597 ) { 598 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 599 } 600 601 protected void setIdentity( 605 String newValue 606 ) { 607 setIdentity(0, newValue); 608 } 609 610 protected void setIdentity( 611 int index, 612 String newValue 613 ) { 614 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 615 } 616 protected void setView( 620 java.util.List newValue 621 ) { 622 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 623 } 624 625 protected void setView( 626 org.openmdx.compatibility.view1.cci.View[] newValue 627 ) { 628 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 629 } 630 631 public org.openmdx.compatibility.view1.cci.View getView( 635 String namespace 636 ) { 637 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 638 "org:openmdx:compatibility:view1:ViewCapable:view", 639 namespace 640 ); 641 } 642 643 public java.util.Collection getView( 647 ) { 648 return (java.util.Collection )refGetValue( 649 "org:openmdx:compatibility:view1:ViewCapable:view" 650 ); 651 } 652 653 public java.util.List getView( 654 org.openmdx.compatibility.view1.cci.ViewFilter filter 655 ) { 656 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 657 "org:openmdx:compatibility:view1:ViewCapable:view" 658 )).toList(filter); 659 } 660 661 protected void addView ( 665 String namespace, 666 org.openmdx.compatibility.view1.cci.View newValue 667 ) { 668 refAddValue( 669 "org:openmdx:compatibility:view1:ViewCapable:view", 670 namespace, 671 newValue 672 ); 673 } 674 675 protected void addView ( 679 org.openmdx.compatibility.view1.cci.View newValue 680 ) { 681 refAddValue( 682 "org:openmdx:compatibility:view1:ViewCapable:view", 683 newValue 684 ); 685 } 686 687 protected void removeView ( 691 String namespace 692 ) { 693 refRemoveValue( 694 "org:openmdx:compatibility:view1:ViewCapable:view", 695 namespace 696 ); 697 } 698 699 } 703 | Popular Tags |