1 package org.opencrx.kernel.account1.cci; 14 15 public class AccountFilterPropertyImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements AccountFilterProperty { 18 19 public AccountFilterPropertyImpl( 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 String getDescription ( 30 ) { 31 return (String )this.refGetValue("description", 0); 32 } 33 public void setDescription( 37 String newValue 38 ) { 39 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:description", 0, newValue); 40 } 41 42 public short getFilterOperator( 46 ) { 47 return getFilterOperator(0); 48 } 49 50 protected short getFilterOperator( 51 int index 52 ) { 53 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterOperator", index)).shortValue(); 54 } 55 56 public void setFilterOperator( 60 short newValue 61 ) { 62 setFilterOperator(0, newValue); 63 } 64 65 protected void setFilterOperator( 66 int index, 67 short newValue 68 ) { 69 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterOperator", index, new Short (newValue)); 70 } 71 public short getFilterQuantor( 75 ) { 76 return getFilterQuantor(0); 77 } 78 79 protected short getFilterQuantor( 80 int index 81 ) { 82 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor", index)).shortValue(); 83 } 84 85 public void setFilterQuantor( 89 short newValue 90 ) { 91 setFilterQuantor(0, newValue); 92 } 93 94 protected void setFilterQuantor( 95 int index, 96 short newValue 97 ) { 98 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor", index, new Short (newValue)); 99 } 100 public Boolean isActive ( 104 ) { 105 return (Boolean )this.refGetValue("isActive", 0); 106 } 107 public void setActive( 111 Boolean newValue 112 ) { 113 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:isActive", 0, newValue); 114 } 115 116 public String getName( 120 ) { 121 return getName(0); 122 } 123 124 protected String getName( 125 int index 126 ) { 127 return (String )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:name", index); 128 } 129 130 public void setName( 134 String newValue 135 ) { 136 setName(0, newValue); 137 } 138 139 protected void setName( 140 int index, 141 String newValue 142 ) { 143 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:name", index, newValue); 144 } 145 public short getAccessLevelBrowse( 149 ) { 150 return getAccessLevelBrowse(0); 151 } 152 153 protected short getAccessLevelBrowse( 154 int index 155 ) { 156 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 157 } 158 159 public void setAccessLevelBrowse( 163 short newValue 164 ) { 165 setAccessLevelBrowse(0, newValue); 166 } 167 168 protected void setAccessLevelBrowse( 169 int index, 170 short newValue 171 ) { 172 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 173 } 174 public short getAccessLevelDelete( 178 ) { 179 return getAccessLevelDelete(0); 180 } 181 182 protected short getAccessLevelDelete( 183 int index 184 ) { 185 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 186 } 187 188 public void setAccessLevelDelete( 192 short newValue 193 ) { 194 setAccessLevelDelete(0, newValue); 195 } 196 197 protected void setAccessLevelDelete( 198 int index, 199 short newValue 200 ) { 201 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 202 } 203 public short getAccessLevelUpdate( 207 ) { 208 return getAccessLevelUpdate(0); 209 } 210 211 protected short getAccessLevelUpdate( 212 int index 213 ) { 214 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 215 } 216 217 public void setAccessLevelUpdate( 221 short newValue 222 ) { 223 setAccessLevelUpdate(0, newValue); 224 } 225 226 protected void setAccessLevelUpdate( 227 int index, 228 short newValue 229 ) { 230 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 231 } 232 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 236 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 237 ) throws javax.jmi.reflect.RefException { 238 java.util.List args = new java.util.ArrayList (); 239 args.add(params); 240 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 241 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 242 args 243 ); 244 } 245 246 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 247 org.opencrx.security.realm1.cci.PrincipalGroup group 248 , short mode 249 ) throws javax.jmi.reflect.RefException { 250 return addOwningGroup( 251 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 252 group 253 , mode 254 ) 255 ); 256 } 257 258 public java.util.List getOwner ( 262 ) { 263 return (java.util.List )this.refGetValue("owner"); 264 } 265 public String getOwner( 266 int index 267 ) { 268 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 269 } 270 271 protected void setOwner( 275 java.util.List newValue 276 ) { 277 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 278 } 279 280 protected void setOwner( 281 String [] newValue 282 ) { 283 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 284 } 285 286 public void setOwningGroup( 290 java.util.List newValue 291 ) { 292 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 293 } 294 295 public void setOwningGroup( 296 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 297 ) { 298 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 299 } 300 301 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 305 int index 306 ) { 307 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 308 "org:opencrx:kernel:base:SecureObject:owningGroup", 309 new Integer (index) 310 ); 311 } 312 313 public java.util.Collection getOwningGroup( 317 ) { 318 return (java.util.Collection )refGetValue( 319 "org:opencrx:kernel:base:SecureObject:owningGroup" 320 ); 321 } 322 323 public void addOwningGroup ( 327 int index, 328 org.opencrx.security.realm1.cci.PrincipalGroup newValue 329 ) { 330 refAddValue( 331 "org:opencrx:kernel:base:SecureObject:owningGroup", 332 new Integer (index), 333 newValue 334 ); 335 } 336 337 public void addOwningGroup ( 341 org.opencrx.security.realm1.cci.PrincipalGroup newValue 342 ) { 343 refAddValue( 344 "org:opencrx:kernel:base:SecureObject:owningGroup", 345 newValue 346 ); 347 } 348 349 public void removeOwningGroup ( 353 int index 354 ) { 355 refRemoveValue( 356 "org:opencrx:kernel:base:SecureObject:owningGroup", 357 new Integer (index) 358 ); 359 } 360 361 public org.opencrx.security.realm1.cci.User getOwningUser( 365 ) { 366 return (org.opencrx.security.realm1.cci.User)refGetValue( 367 "org:opencrx:kernel:base:SecureObject:owningUser" 368 ); 369 } 370 371 public void setOwningUser( 375 org.opencrx.security.realm1.cci.User newValue 376 ) { 377 refSetValue( 378 "org:opencrx:kernel:base:SecureObject:owningUser", 379 newValue 380 ); 381 } 382 383 public void removeOwningUser ( 387 ) { 388 refRemoveValue( 389 "org:opencrx:kernel:base:SecureObject:owningUser" 390 ); 391 } 392 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 396 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 397 ) throws javax.jmi.reflect.RefException { 398 java.util.List args = new java.util.ArrayList (); 399 args.add(params); 400 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 401 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 402 args 403 ); 404 } 405 406 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 407 short mode 408 ) throws javax.jmi.reflect.RefException { 409 return removeAllOwningGroup( 410 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 411 mode 412 ) 413 ); 414 } 415 416 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 420 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 421 ) throws javax.jmi.reflect.RefException { 422 java.util.List args = new java.util.ArrayList (); 423 args.add(params); 424 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 425 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 426 args 427 ); 428 } 429 430 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 431 org.opencrx.security.realm1.cci.PrincipalGroup group 432 , short mode 433 ) throws javax.jmi.reflect.RefException { 434 return removeOwningGroup( 435 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 436 group 437 , mode 438 ) 439 ); 440 } 441 442 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 446 org.opencrx.kernel.base.cci.SetAccessLevelParams params 447 ) throws javax.jmi.reflect.RefException { 448 java.util.List args = new java.util.ArrayList (); 449 args.add(params); 450 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 451 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 452 args 453 ); 454 } 455 456 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 457 short accessLevelBrowse 458 , short accessLevelDelete 459 , short accessLevelUpdate 460 , short mode 461 ) throws javax.jmi.reflect.RefException { 462 return setAccessLevel( 463 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 464 accessLevelBrowse 465 , accessLevelDelete 466 , accessLevelUpdate 467 , mode 468 ) 469 ); 470 } 471 472 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 476 org.opencrx.kernel.base.cci.SetOwningUserParams params 477 ) throws javax.jmi.reflect.RefException { 478 java.util.List args = new java.util.ArrayList (); 479 args.add(params); 480 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 481 "org:opencrx:kernel:base:SecureObject:setOwningUser", 482 args 483 ); 484 } 485 486 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 487 short mode 488 , org.opencrx.security.realm1.cci.User user 489 ) throws javax.jmi.reflect.RefException { 490 return setOwningUser( 491 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 492 mode 493 , user 494 ) 495 ); 496 } 497 498 public java.util.Date getCreatedAt( 502 ) { 503 return getCreatedAt(0); 504 } 505 506 protected java.util.Date getCreatedAt( 507 int index 508 ) { 509 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 510 } 511 512 protected void setCreatedAt( 516 java.util.Date newValue 517 ) { 518 setCreatedAt(0, newValue); 519 } 520 521 protected void setCreatedAt( 522 int index, 523 java.util.Date newValue 524 ) { 525 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 526 } 527 public java.util.Set getCreatedBy ( 531 ) { 532 return (java.util.Set )this.refGetValue("createdBy"); 533 } 534 protected void setCreatedBy( 538 java.util.Set newValue 539 ) { 540 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 541 } 542 543 protected void setCreatedBy( 544 String [] newValue 545 ) { 546 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 547 } 548 549 public java.util.Date getModifiedAt( 553 ) { 554 return getModifiedAt(0); 555 } 556 557 protected java.util.Date getModifiedAt( 558 int index 559 ) { 560 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 561 } 562 563 protected void setModifiedAt( 567 java.util.Date newValue 568 ) { 569 setModifiedAt(0, newValue); 570 } 571 572 protected void setModifiedAt( 573 int index, 574 java.util.Date newValue 575 ) { 576 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 577 } 578 public java.util.Set getModifiedBy ( 582 ) { 583 return (java.util.Set )this.refGetValue("modifiedBy"); 584 } 585 protected void setModifiedBy( 589 java.util.Set newValue 590 ) { 591 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 592 } 593 594 protected void setModifiedBy( 595 String [] newValue 596 ) { 597 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 598 } 599 600 protected void setContext( 604 java.util.List newValue 605 ) { 606 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 607 } 608 609 protected void setContext( 610 org.openmdx.base.cci.Context[] newValue 611 ) { 612 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 613 } 614 615 public org.openmdx.base.cci.Context getContext( 619 String id 620 ) { 621 return (org.openmdx.base.cci.Context)refGetValue( 622 "org:openmdx:base:ContextCapable:context", 623 id 624 ); 625 } 626 627 public java.util.Collection getContext( 631 ) { 632 return (java.util.Collection )refGetValue( 633 "org:openmdx:base:ContextCapable:context" 634 ); 635 } 636 637 protected void addContext ( 641 String id, 642 org.openmdx.base.cci.Context newValue 643 ) { 644 refAddValue( 645 "org:openmdx:base:ContextCapable:context", 646 id, 647 newValue 648 ); 649 } 650 651 protected void addContext ( 655 org.openmdx.base.cci.Context newValue 656 ) { 657 refAddValue( 658 "org:openmdx:base:ContextCapable:context", 659 newValue 660 ); 661 } 662 663 protected void removeContext ( 667 String id 668 ) { 669 refRemoveValue( 670 "org:openmdx:base:ContextCapable:context", 671 id 672 ); 673 } 674 675 public String getIdentity( 679 ) { 680 return getIdentity(0); 681 } 682 683 protected String getIdentity( 684 int index 685 ) { 686 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 687 } 688 689 protected void setIdentity( 693 String newValue 694 ) { 695 setIdentity(0, newValue); 696 } 697 698 protected void setIdentity( 699 int index, 700 String newValue 701 ) { 702 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 703 } 704 protected void setView( 708 java.util.List newValue 709 ) { 710 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 711 } 712 713 protected void setView( 714 org.openmdx.compatibility.view1.cci.View[] newValue 715 ) { 716 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 717 } 718 719 public org.openmdx.compatibility.view1.cci.View getView( 723 String namespace 724 ) { 725 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 726 "org:openmdx:compatibility:view1:ViewCapable:view", 727 namespace 728 ); 729 } 730 731 public java.util.Collection getView( 735 ) { 736 return (java.util.Collection )refGetValue( 737 "org:openmdx:compatibility:view1:ViewCapable:view" 738 ); 739 } 740 741 public java.util.List getView( 742 org.openmdx.compatibility.view1.cci.ViewFilter filter 743 ) { 744 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 745 "org:openmdx:compatibility:view1:ViewCapable:view" 746 )).toList(filter); 747 } 748 749 protected void addView ( 753 String namespace, 754 org.openmdx.compatibility.view1.cci.View newValue 755 ) { 756 refAddValue( 757 "org:openmdx:compatibility:view1:ViewCapable:view", 758 namespace, 759 newValue 760 ); 761 } 762 763 protected void addView ( 767 org.openmdx.compatibility.view1.cci.View newValue 768 ) { 769 refAddValue( 770 "org:openmdx:compatibility:view1:ViewCapable:view", 771 newValue 772 ); 773 } 774 775 protected void removeView ( 779 String namespace 780 ) { 781 refRemoveValue( 782 "org:openmdx:compatibility:view1:ViewCapable:view", 783 namespace 784 ); 785 } 786 787 } 791 | Popular Tags |