1 package org.opencrx.kernel.home1.cci; 14 15 public class EMailAccountImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements EMailAccount { 18 19 public EMailAccountImpl( 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 getAccessLevelBrowse( 30 ) { 31 return getAccessLevelBrowse(0); 32 } 33 34 protected short getAccessLevelBrowse( 35 int index 36 ) { 37 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 38 } 39 40 public void setAccessLevelBrowse( 44 short newValue 45 ) { 46 setAccessLevelBrowse(0, newValue); 47 } 48 49 protected void setAccessLevelBrowse( 50 int index, 51 short newValue 52 ) { 53 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 54 } 55 public short getAccessLevelDelete( 59 ) { 60 return getAccessLevelDelete(0); 61 } 62 63 protected short getAccessLevelDelete( 64 int index 65 ) { 66 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 67 } 68 69 public void setAccessLevelDelete( 73 short newValue 74 ) { 75 setAccessLevelDelete(0, newValue); 76 } 77 78 protected void setAccessLevelDelete( 79 int index, 80 short newValue 81 ) { 82 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 83 } 84 public short getAccessLevelUpdate( 88 ) { 89 return getAccessLevelUpdate(0); 90 } 91 92 protected short getAccessLevelUpdate( 93 int index 94 ) { 95 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 96 } 97 98 public void setAccessLevelUpdate( 102 short newValue 103 ) { 104 setAccessLevelUpdate(0, newValue); 105 } 106 107 protected void setAccessLevelUpdate( 108 int index, 109 short newValue 110 ) { 111 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 112 } 113 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 117 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 118 ) throws javax.jmi.reflect.RefException { 119 java.util.List args = new java.util.ArrayList (); 120 args.add(params); 121 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 122 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 123 args 124 ); 125 } 126 127 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 128 org.opencrx.security.realm1.cci.PrincipalGroup group 129 , short mode 130 ) throws javax.jmi.reflect.RefException { 131 return addOwningGroup( 132 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 133 group 134 , mode 135 ) 136 ); 137 } 138 139 public java.util.List getOwner ( 143 ) { 144 return (java.util.List )this.refGetValue("owner"); 145 } 146 public String getOwner( 147 int index 148 ) { 149 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 150 } 151 152 protected void setOwner( 156 java.util.List newValue 157 ) { 158 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 159 } 160 161 protected void setOwner( 162 String [] newValue 163 ) { 164 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 165 } 166 167 public void setOwningGroup( 171 java.util.List newValue 172 ) { 173 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 174 } 175 176 public void setOwningGroup( 177 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 178 ) { 179 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 180 } 181 182 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 186 int index 187 ) { 188 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 189 "org:opencrx:kernel:base:SecureObject:owningGroup", 190 new Integer (index) 191 ); 192 } 193 194 public java.util.Collection getOwningGroup( 198 ) { 199 return (java.util.Collection )refGetValue( 200 "org:opencrx:kernel:base:SecureObject:owningGroup" 201 ); 202 } 203 204 public void addOwningGroup ( 208 int index, 209 org.opencrx.security.realm1.cci.PrincipalGroup newValue 210 ) { 211 refAddValue( 212 "org:opencrx:kernel:base:SecureObject:owningGroup", 213 new Integer (index), 214 newValue 215 ); 216 } 217 218 public void addOwningGroup ( 222 org.opencrx.security.realm1.cci.PrincipalGroup newValue 223 ) { 224 refAddValue( 225 "org:opencrx:kernel:base:SecureObject:owningGroup", 226 newValue 227 ); 228 } 229 230 public void removeOwningGroup ( 234 int index 235 ) { 236 refRemoveValue( 237 "org:opencrx:kernel:base:SecureObject:owningGroup", 238 new Integer (index) 239 ); 240 } 241 242 public org.opencrx.security.realm1.cci.User getOwningUser( 246 ) { 247 return (org.opencrx.security.realm1.cci.User)refGetValue( 248 "org:opencrx:kernel:base:SecureObject:owningUser" 249 ); 250 } 251 252 public void setOwningUser( 256 org.opencrx.security.realm1.cci.User newValue 257 ) { 258 refSetValue( 259 "org:opencrx:kernel:base:SecureObject:owningUser", 260 newValue 261 ); 262 } 263 264 public void removeOwningUser ( 268 ) { 269 refRemoveValue( 270 "org:opencrx:kernel:base:SecureObject:owningUser" 271 ); 272 } 273 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 277 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 278 ) throws javax.jmi.reflect.RefException { 279 java.util.List args = new java.util.ArrayList (); 280 args.add(params); 281 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 282 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 283 args 284 ); 285 } 286 287 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 288 short mode 289 ) throws javax.jmi.reflect.RefException { 290 return removeAllOwningGroup( 291 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 292 mode 293 ) 294 ); 295 } 296 297 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 301 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 302 ) throws javax.jmi.reflect.RefException { 303 java.util.List args = new java.util.ArrayList (); 304 args.add(params); 305 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 306 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 307 args 308 ); 309 } 310 311 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 312 org.opencrx.security.realm1.cci.PrincipalGroup group 313 , short mode 314 ) throws javax.jmi.reflect.RefException { 315 return removeOwningGroup( 316 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 317 group 318 , mode 319 ) 320 ); 321 } 322 323 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 327 org.opencrx.kernel.base.cci.SetAccessLevelParams params 328 ) throws javax.jmi.reflect.RefException { 329 java.util.List args = new java.util.ArrayList (); 330 args.add(params); 331 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 332 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 333 args 334 ); 335 } 336 337 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 338 short accessLevelBrowse 339 , short accessLevelDelete 340 , short accessLevelUpdate 341 , short mode 342 ) throws javax.jmi.reflect.RefException { 343 return setAccessLevel( 344 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 345 accessLevelBrowse 346 , accessLevelDelete 347 , accessLevelUpdate 348 , mode 349 ) 350 ); 351 } 352 353 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 357 org.opencrx.kernel.base.cci.SetOwningUserParams params 358 ) throws javax.jmi.reflect.RefException { 359 java.util.List args = new java.util.ArrayList (); 360 args.add(params); 361 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 362 "org:opencrx:kernel:base:SecureObject:setOwningUser", 363 args 364 ); 365 } 366 367 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 368 short mode 369 , org.opencrx.security.realm1.cci.User user 370 ) throws javax.jmi.reflect.RefException { 371 return setOwningUser( 372 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 373 mode 374 , user 375 ) 376 ); 377 } 378 379 public String getEMailAddress ( 383 ) { 384 return (String )this.refGetValue("eMailAddress", 0); 385 } 386 public void setEMailAddress( 390 String newValue 391 ) { 392 refSetValue("org:opencrx:kernel:home1:EMailAccount:eMailAddress", 0, newValue); 393 } 394 395 public Boolean isIncomingLeaveCopyOnServer ( 399 ) { 400 return (Boolean )this.refGetValue("incomingLeaveCopyOnServer", 0); 401 } 402 public void setIncomingLeaveCopyOnServer( 406 Boolean newValue 407 ) { 408 refSetValue("org:opencrx:kernel:home1:EMailAccount:incomingLeaveCopyOnServer", 0, newValue); 409 } 410 411 public String getIncomingMailServer ( 415 ) { 416 return (String )this.refGetValue("incomingMailServer", 0); 417 } 418 public void setIncomingMailServer( 422 String newValue 423 ) { 424 refSetValue("org:opencrx:kernel:home1:EMailAccount:incomingMailServer", 0, newValue); 425 } 426 427 public Short getIncomingMailServerPort ( 431 ) { 432 return (Short )this.refGetValue("incomingMailServerPort", 0); 433 } 434 public void setIncomingMailServerPort( 438 Short newValue 439 ) { 440 refSetValue("org:opencrx:kernel:home1:EMailAccount:incomingMailServerPort", 0, newValue); 441 } 442 443 public String getIncomingPassword ( 447 ) { 448 return (String )this.refGetValue("incomingPassword", 0); 449 } 450 public void setIncomingPassword( 454 String newValue 455 ) { 456 refSetValue("org:opencrx:kernel:home1:EMailAccount:incomingPassword", 0, newValue); 457 } 458 459 public Boolean isIncomingRequiresSsl ( 463 ) { 464 return (Boolean )this.refGetValue("incomingRequiresSsl", 0); 465 } 466 public void setIncomingRequiresSsl( 470 Boolean newValue 471 ) { 472 refSetValue("org:opencrx:kernel:home1:EMailAccount:incomingRequiresSsl", 0, newValue); 473 } 474 475 public Boolean isIncomingSpa ( 479 ) { 480 return (Boolean )this.refGetValue("incomingSpa", 0); 481 } 482 public void setIncomingSpa( 486 Boolean newValue 487 ) { 488 refSetValue("org:opencrx:kernel:home1:EMailAccount:incomingSpa", 0, newValue); 489 } 490 491 public String getIncomingUsername ( 495 ) { 496 return (String )this.refGetValue("incomingUsername", 0); 497 } 498 public void setIncomingUsername( 502 String newValue 503 ) { 504 refSetValue("org:opencrx:kernel:home1:EMailAccount:incomingUsername", 0, newValue); 505 } 506 507 public Boolean isDefault ( 511 ) { 512 return (Boolean )this.refGetValue("isDefault", 0); 513 } 514 public void setDefault_( 518 Boolean newValue 519 ) { 520 refSetValue("org:opencrx:kernel:home1:EMailAccount:isDefault", 0, newValue); 521 } 522 523 public Boolean isLogonToIncoming ( 527 ) { 528 return (Boolean )this.refGetValue("logonToIncoming", 0); 529 } 530 public void setLogonToIncoming( 534 Boolean newValue 535 ) { 536 refSetValue("org:opencrx:kernel:home1:EMailAccount:logonToIncoming", 0, newValue); 537 } 538 539 public String getOutgoingMailServer ( 543 ) { 544 return (String )this.refGetValue("outgoingMailServer", 0); 545 } 546 public void setOutgoingMailServer( 550 String newValue 551 ) { 552 refSetValue("org:opencrx:kernel:home1:EMailAccount:outgoingMailServer", 0, newValue); 553 } 554 555 public Short getOutgoingMailServerPort ( 559 ) { 560 return (Short )this.refGetValue("outgoingMailServerPort", 0); 561 } 562 public void setOutgoingMailServerPort( 566 Short newValue 567 ) { 568 refSetValue("org:opencrx:kernel:home1:EMailAccount:outgoingMailServerPort", 0, newValue); 569 } 570 571 public String getOutgoingPassword ( 575 ) { 576 return (String )this.refGetValue("outgoingPassword", 0); 577 } 578 public void setOutgoingPassword( 582 String newValue 583 ) { 584 refSetValue("org:opencrx:kernel:home1:EMailAccount:outgoingPassword", 0, newValue); 585 } 586 587 public Boolean isOutgoingRequiresAuth ( 591 ) { 592 return (Boolean )this.refGetValue("outgoingRequiresAuth", 0); 593 } 594 public void setOutgoingRequiresAuth( 598 Boolean newValue 599 ) { 600 refSetValue("org:opencrx:kernel:home1:EMailAccount:outgoingRequiresAuth", 0, newValue); 601 } 602 603 public Boolean isOutgoingRequiresSsl ( 607 ) { 608 return (Boolean )this.refGetValue("outgoingRequiresSsl", 0); 609 } 610 public void setOutgoingRequiresSsl( 614 Boolean newValue 615 ) { 616 refSetValue("org:opencrx:kernel:home1:EMailAccount:outgoingRequiresSsl", 0, newValue); 617 } 618 619 public Boolean isOutgoingSpa ( 623 ) { 624 return (Boolean )this.refGetValue("outgoingSpa", 0); 625 } 626 public void setOutgoingSpa( 630 Boolean newValue 631 ) { 632 refSetValue("org:opencrx:kernel:home1:EMailAccount:outgoingSpa", 0, newValue); 633 } 634 635 public String getOutgoingUsername ( 639 ) { 640 return (String )this.refGetValue("outgoingUsername", 0); 641 } 642 public void setOutgoingUsername( 646 String newValue 647 ) { 648 refSetValue("org:opencrx:kernel:home1:EMailAccount:outgoingUsername", 0, newValue); 649 } 650 651 public String getReplyEMailAddress ( 655 ) { 656 return (String )this.refGetValue("replyEMailAddress", 0); 657 } 658 public void setReplyEMailAddress( 662 String newValue 663 ) { 664 refSetValue("org:opencrx:kernel:home1:EMailAccount:replyEMailAddress", 0, newValue); 665 } 666 667 public Boolean isSameAuthSettingsAsIncoming ( 671 ) { 672 return (Boolean )this.refGetValue("sameAuthSettingsAsIncoming", 0); 673 } 674 public void setSameAuthSettingsAsIncoming( 678 Boolean newValue 679 ) { 680 refSetValue("org:opencrx:kernel:home1:EMailAccount:sameAuthSettingsAsIncoming", 0, newValue); 681 } 682 683 public java.util.Date getCreatedAt( 687 ) { 688 return getCreatedAt(0); 689 } 690 691 protected java.util.Date getCreatedAt( 692 int index 693 ) { 694 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 695 } 696 697 protected void setCreatedAt( 701 java.util.Date newValue 702 ) { 703 setCreatedAt(0, newValue); 704 } 705 706 protected void setCreatedAt( 707 int index, 708 java.util.Date newValue 709 ) { 710 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 711 } 712 public java.util.Set getCreatedBy ( 716 ) { 717 return (java.util.Set )this.refGetValue("createdBy"); 718 } 719 protected void setCreatedBy( 723 java.util.Set newValue 724 ) { 725 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 726 } 727 728 protected void setCreatedBy( 729 String [] newValue 730 ) { 731 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 732 } 733 734 public java.util.Date getModifiedAt( 738 ) { 739 return getModifiedAt(0); 740 } 741 742 protected java.util.Date getModifiedAt( 743 int index 744 ) { 745 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 746 } 747 748 protected void setModifiedAt( 752 java.util.Date newValue 753 ) { 754 setModifiedAt(0, newValue); 755 } 756 757 protected void setModifiedAt( 758 int index, 759 java.util.Date newValue 760 ) { 761 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 762 } 763 public java.util.Set getModifiedBy ( 767 ) { 768 return (java.util.Set )this.refGetValue("modifiedBy"); 769 } 770 protected void setModifiedBy( 774 java.util.Set newValue 775 ) { 776 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 777 } 778 779 protected void setModifiedBy( 780 String [] newValue 781 ) { 782 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 783 } 784 785 protected void setContext( 789 java.util.List newValue 790 ) { 791 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 792 } 793 794 protected void setContext( 795 org.openmdx.base.cci.Context[] newValue 796 ) { 797 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 798 } 799 800 public org.openmdx.base.cci.Context getContext( 804 String id 805 ) { 806 return (org.openmdx.base.cci.Context)refGetValue( 807 "org:openmdx:base:ContextCapable:context", 808 id 809 ); 810 } 811 812 public java.util.Collection getContext( 816 ) { 817 return (java.util.Collection )refGetValue( 818 "org:openmdx:base:ContextCapable:context" 819 ); 820 } 821 822 protected void addContext ( 826 String id, 827 org.openmdx.base.cci.Context newValue 828 ) { 829 refAddValue( 830 "org:openmdx:base:ContextCapable:context", 831 id, 832 newValue 833 ); 834 } 835 836 protected void addContext ( 840 org.openmdx.base.cci.Context newValue 841 ) { 842 refAddValue( 843 "org:openmdx:base:ContextCapable:context", 844 newValue 845 ); 846 } 847 848 protected void removeContext ( 852 String id 853 ) { 854 refRemoveValue( 855 "org:openmdx:base:ContextCapable:context", 856 id 857 ); 858 } 859 860 public String getIdentity( 864 ) { 865 return getIdentity(0); 866 } 867 868 protected String getIdentity( 869 int index 870 ) { 871 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 872 } 873 874 protected void setIdentity( 878 String newValue 879 ) { 880 setIdentity(0, newValue); 881 } 882 883 protected void setIdentity( 884 int index, 885 String newValue 886 ) { 887 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 888 } 889 protected void setView( 893 java.util.List newValue 894 ) { 895 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 896 } 897 898 protected void setView( 899 org.openmdx.compatibility.view1.cci.View[] newValue 900 ) { 901 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 902 } 903 904 public org.openmdx.compatibility.view1.cci.View getView( 908 String namespace 909 ) { 910 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 911 "org:openmdx:compatibility:view1:ViewCapable:view", 912 namespace 913 ); 914 } 915 916 public java.util.Collection getView( 920 ) { 921 return (java.util.Collection )refGetValue( 922 "org:openmdx:compatibility:view1:ViewCapable:view" 923 ); 924 } 925 926 public java.util.List getView( 927 org.openmdx.compatibility.view1.cci.ViewFilter filter 928 ) { 929 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 930 "org:openmdx:compatibility:view1:ViewCapable:view" 931 )).toList(filter); 932 } 933 934 protected void addView ( 938 String namespace, 939 org.openmdx.compatibility.view1.cci.View newValue 940 ) { 941 refAddValue( 942 "org:openmdx:compatibility:view1:ViewCapable:view", 943 namespace, 944 newValue 945 ); 946 } 947 948 protected void addView ( 952 org.openmdx.compatibility.view1.cci.View newValue 953 ) { 954 refAddValue( 955 "org:openmdx:compatibility:view1:ViewCapable:view", 956 newValue 957 ); 958 } 959 960 protected void removeView ( 964 String namespace 965 ) { 966 refRemoveValue( 967 "org:openmdx:compatibility:view1:ViewCapable:view", 968 namespace 969 ); 970 } 971 972 } 976 | Popular Tags |