1 package org.opencrx.kernel.depot1.cci; 14 15 public class WebAddressImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements WebAddress { 18 19 public WebAddressImpl( 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 getWebUrl ( 30 ) { 31 return (String )this.refGetValue("webUrl", 0); 32 } 33 public void setWebUrl( 37 String newValue 38 ) { 39 refSetValue("org:opencrx:kernel:address1:WebAddressable:webUrl", 0, newValue); 40 } 41 42 public short getAccessLevelBrowse( 46 ) { 47 return getAccessLevelBrowse(0); 48 } 49 50 protected short getAccessLevelBrowse( 51 int index 52 ) { 53 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 54 } 55 56 public void setAccessLevelBrowse( 60 short newValue 61 ) { 62 setAccessLevelBrowse(0, newValue); 63 } 64 65 protected void setAccessLevelBrowse( 66 int index, 67 short newValue 68 ) { 69 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 70 } 71 public short getAccessLevelDelete( 75 ) { 76 return getAccessLevelDelete(0); 77 } 78 79 protected short getAccessLevelDelete( 80 int index 81 ) { 82 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 83 } 84 85 public void setAccessLevelDelete( 89 short newValue 90 ) { 91 setAccessLevelDelete(0, newValue); 92 } 93 94 protected void setAccessLevelDelete( 95 int index, 96 short newValue 97 ) { 98 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 99 } 100 public short getAccessLevelUpdate( 104 ) { 105 return getAccessLevelUpdate(0); 106 } 107 108 protected short getAccessLevelUpdate( 109 int index 110 ) { 111 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 112 } 113 114 public void setAccessLevelUpdate( 118 short newValue 119 ) { 120 setAccessLevelUpdate(0, newValue); 121 } 122 123 protected void setAccessLevelUpdate( 124 int index, 125 short newValue 126 ) { 127 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 128 } 129 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 133 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 134 ) throws javax.jmi.reflect.RefException { 135 java.util.List args = new java.util.ArrayList (); 136 args.add(params); 137 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 138 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 139 args 140 ); 141 } 142 143 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 144 org.opencrx.security.realm1.cci.PrincipalGroup group 145 , short mode 146 ) throws javax.jmi.reflect.RefException { 147 return addOwningGroup( 148 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 149 group 150 , mode 151 ) 152 ); 153 } 154 155 public java.util.List getOwner ( 159 ) { 160 return (java.util.List )this.refGetValue("owner"); 161 } 162 public String getOwner( 163 int index 164 ) { 165 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 166 } 167 168 protected void setOwner( 172 java.util.List newValue 173 ) { 174 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 175 } 176 177 protected void setOwner( 178 String [] newValue 179 ) { 180 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 181 } 182 183 public void setOwningGroup( 187 java.util.List newValue 188 ) { 189 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 190 } 191 192 public void setOwningGroup( 193 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 194 ) { 195 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 196 } 197 198 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 202 int index 203 ) { 204 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 205 "org:opencrx:kernel:base:SecureObject:owningGroup", 206 new Integer (index) 207 ); 208 } 209 210 public java.util.Collection getOwningGroup( 214 ) { 215 return (java.util.Collection )refGetValue( 216 "org:opencrx:kernel:base:SecureObject:owningGroup" 217 ); 218 } 219 220 public void addOwningGroup ( 224 int index, 225 org.opencrx.security.realm1.cci.PrincipalGroup newValue 226 ) { 227 refAddValue( 228 "org:opencrx:kernel:base:SecureObject:owningGroup", 229 new Integer (index), 230 newValue 231 ); 232 } 233 234 public void addOwningGroup ( 238 org.opencrx.security.realm1.cci.PrincipalGroup newValue 239 ) { 240 refAddValue( 241 "org:opencrx:kernel:base:SecureObject:owningGroup", 242 newValue 243 ); 244 } 245 246 public void removeOwningGroup ( 250 int index 251 ) { 252 refRemoveValue( 253 "org:opencrx:kernel:base:SecureObject:owningGroup", 254 new Integer (index) 255 ); 256 } 257 258 public org.opencrx.security.realm1.cci.User getOwningUser( 262 ) { 263 return (org.opencrx.security.realm1.cci.User)refGetValue( 264 "org:opencrx:kernel:base:SecureObject:owningUser" 265 ); 266 } 267 268 public void setOwningUser( 272 org.opencrx.security.realm1.cci.User newValue 273 ) { 274 refSetValue( 275 "org:opencrx:kernel:base:SecureObject:owningUser", 276 newValue 277 ); 278 } 279 280 public void removeOwningUser ( 284 ) { 285 refRemoveValue( 286 "org:opencrx:kernel:base:SecureObject:owningUser" 287 ); 288 } 289 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 293 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 294 ) throws javax.jmi.reflect.RefException { 295 java.util.List args = new java.util.ArrayList (); 296 args.add(params); 297 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 298 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 299 args 300 ); 301 } 302 303 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 304 short mode 305 ) throws javax.jmi.reflect.RefException { 306 return removeAllOwningGroup( 307 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 308 mode 309 ) 310 ); 311 } 312 313 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 317 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 318 ) throws javax.jmi.reflect.RefException { 319 java.util.List args = new java.util.ArrayList (); 320 args.add(params); 321 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 322 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 323 args 324 ); 325 } 326 327 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 328 org.opencrx.security.realm1.cci.PrincipalGroup group 329 , short mode 330 ) throws javax.jmi.reflect.RefException { 331 return removeOwningGroup( 332 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 333 group 334 , mode 335 ) 336 ); 337 } 338 339 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 343 org.opencrx.kernel.base.cci.SetAccessLevelParams params 344 ) throws javax.jmi.reflect.RefException { 345 java.util.List args = new java.util.ArrayList (); 346 args.add(params); 347 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 348 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 349 args 350 ); 351 } 352 353 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 354 short accessLevelBrowse 355 , short accessLevelDelete 356 , short accessLevelUpdate 357 , short mode 358 ) throws javax.jmi.reflect.RefException { 359 return setAccessLevel( 360 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 361 accessLevelBrowse 362 , accessLevelDelete 363 , accessLevelUpdate 364 , mode 365 ) 366 ); 367 } 368 369 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 373 org.opencrx.kernel.base.cci.SetOwningUserParams params 374 ) throws javax.jmi.reflect.RefException { 375 java.util.List args = new java.util.ArrayList (); 376 args.add(params); 377 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 378 "org:opencrx:kernel:base:SecureObject:setOwningUser", 379 args 380 ); 381 } 382 383 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 384 short mode 385 , org.opencrx.security.realm1.cci.User user 386 ) throws javax.jmi.reflect.RefException { 387 return setOwningUser( 388 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 389 mode 390 , user 391 ) 392 ); 393 } 394 395 public java.util.Date getCreatedAt( 399 ) { 400 return getCreatedAt(0); 401 } 402 403 protected java.util.Date getCreatedAt( 404 int index 405 ) { 406 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 407 } 408 409 protected void setCreatedAt( 413 java.util.Date newValue 414 ) { 415 setCreatedAt(0, newValue); 416 } 417 418 protected void setCreatedAt( 419 int index, 420 java.util.Date newValue 421 ) { 422 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 423 } 424 public java.util.Set getCreatedBy ( 428 ) { 429 return (java.util.Set )this.refGetValue("createdBy"); 430 } 431 protected void setCreatedBy( 435 java.util.Set newValue 436 ) { 437 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 438 } 439 440 protected void setCreatedBy( 441 String [] newValue 442 ) { 443 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 444 } 445 446 public java.util.Date getModifiedAt( 450 ) { 451 return getModifiedAt(0); 452 } 453 454 protected java.util.Date getModifiedAt( 455 int index 456 ) { 457 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 458 } 459 460 protected void setModifiedAt( 464 java.util.Date newValue 465 ) { 466 setModifiedAt(0, newValue); 467 } 468 469 protected void setModifiedAt( 470 int index, 471 java.util.Date newValue 472 ) { 473 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 474 } 475 public java.util.Set getModifiedBy ( 479 ) { 480 return (java.util.Set )this.refGetValue("modifiedBy"); 481 } 482 protected void setModifiedBy( 486 java.util.Set newValue 487 ) { 488 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 489 } 490 491 protected void setModifiedBy( 492 String [] newValue 493 ) { 494 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 495 } 496 497 protected void setContext( 501 java.util.List newValue 502 ) { 503 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 504 } 505 506 protected void setContext( 507 org.openmdx.base.cci.Context[] newValue 508 ) { 509 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 510 } 511 512 public org.openmdx.base.cci.Context getContext( 516 String id 517 ) { 518 return (org.openmdx.base.cci.Context)refGetValue( 519 "org:openmdx:base:ContextCapable:context", 520 id 521 ); 522 } 523 524 public java.util.Collection getContext( 528 ) { 529 return (java.util.Collection )refGetValue( 530 "org:openmdx:base:ContextCapable:context" 531 ); 532 } 533 534 protected void addContext ( 538 String id, 539 org.openmdx.base.cci.Context newValue 540 ) { 541 refAddValue( 542 "org:openmdx:base:ContextCapable:context", 543 id, 544 newValue 545 ); 546 } 547 548 protected void addContext ( 552 org.openmdx.base.cci.Context newValue 553 ) { 554 refAddValue( 555 "org:openmdx:base:ContextCapable:context", 556 newValue 557 ); 558 } 559 560 protected void removeContext ( 564 String id 565 ) { 566 refRemoveValue( 567 "org:openmdx:base:ContextCapable:context", 568 id 569 ); 570 } 571 572 public String getIdentity( 576 ) { 577 return getIdentity(0); 578 } 579 580 protected String getIdentity( 581 int index 582 ) { 583 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 584 } 585 586 protected void setIdentity( 590 String newValue 591 ) { 592 setIdentity(0, newValue); 593 } 594 595 protected void setIdentity( 596 int index, 597 String newValue 598 ) { 599 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 600 } 601 protected void setView( 605 java.util.List newValue 606 ) { 607 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 608 } 609 610 protected void setView( 611 org.openmdx.compatibility.view1.cci.View[] newValue 612 ) { 613 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 614 } 615 616 public org.openmdx.compatibility.view1.cci.View getView( 620 String namespace 621 ) { 622 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 623 "org:openmdx:compatibility:view1:ViewCapable:view", 624 namespace 625 ); 626 } 627 628 public java.util.Collection getView( 632 ) { 633 return (java.util.Collection )refGetValue( 634 "org:openmdx:compatibility:view1:ViewCapable:view" 635 ); 636 } 637 638 public java.util.List getView( 639 org.openmdx.compatibility.view1.cci.ViewFilter filter 640 ) { 641 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 642 "org:openmdx:compatibility:view1:ViewCapable:view" 643 )).toList(filter); 644 } 645 646 protected void addView ( 650 String namespace, 651 org.openmdx.compatibility.view1.cci.View newValue 652 ) { 653 refAddValue( 654 "org:openmdx:compatibility:view1:ViewCapable:view", 655 namespace, 656 newValue 657 ); 658 } 659 660 protected void addView ( 664 org.openmdx.compatibility.view1.cci.View newValue 665 ) { 666 refAddValue( 667 "org:openmdx:compatibility:view1:ViewCapable:view", 668 newValue 669 ); 670 } 671 672 protected void removeView ( 676 String namespace 677 ) { 678 refRemoveValue( 679 "org:openmdx:compatibility:view1:ViewCapable:view", 680 namespace 681 ); 682 } 683 684 } 688 | Popular Tags |