1 package org.opencrx.kernel.admin1.cci; 14 15 public class SegmentImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Segment { 18 19 public SegmentImpl( 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.admin1.cci.CreateAdministratorResult createAdministrator( 30 org.opencrx.kernel.admin1.cci.CreateAdministratorParams params 31 ) throws javax.jmi.reflect.RefException { 32 java.util.List args = new java.util.ArrayList (); 33 args.add(params); 34 return (org.opencrx.kernel.admin1.cci.CreateAdministratorResult)refInvokeOperation( 35 "org:opencrx:kernel:admin1:Segment:createAdministrator", 36 args 37 ); 38 } 39 40 public org.opencrx.kernel.admin1.cci.CreateAdministratorResult createAdministrator( 41 String adminPrincipalName 42 , String initialPassword 43 , String initialPasswordVerification 44 , String segmentName 45 ) throws javax.jmi.reflect.RefException { 46 return createAdministrator( 47 ((org.opencrx.kernel.admin1.cci.admin1Package)refOutermostPackage().refPackage("org:opencrx:kernel:admin1")).createCreateAdministratorParams( 48 adminPrincipalName 49 , initialPassword 50 , initialPasswordVerification 51 , segmentName 52 ) 53 ); 54 } 55 56 public org.opencrx.kernel.admin1.cci.ImportLoginPrincipalsResult importLoginPrincipals( 60 org.opencrx.kernel.admin1.cci.ImportLoginPrincipalsParams params 61 ) throws javax.jmi.reflect.RefException { 62 java.util.List args = new java.util.ArrayList (); 63 args.add(params); 64 return (org.opencrx.kernel.admin1.cci.ImportLoginPrincipalsResult)refInvokeOperation( 65 "org:opencrx:kernel:admin1:Segment:importLoginPrincipals", 66 args 67 ); 68 } 69 70 public org.opencrx.kernel.admin1.cci.ImportLoginPrincipalsResult importLoginPrincipals( 71 byte[] item 72 , String itemMimeType 73 , String itemName 74 ) throws javax.jmi.reflect.RefException { 75 return importLoginPrincipals( 76 ((org.opencrx.kernel.admin1.cci.admin1Package)refOutermostPackage().refPackage("org:opencrx:kernel:admin1")).createImportLoginPrincipalsParams( 77 item 78 , itemMimeType 79 , itemName 80 ) 81 ); 82 } 83 84 protected void setContext( 88 java.util.List newValue 89 ) { 90 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 91 } 92 93 protected void setContext( 94 org.openmdx.base.cci.Context[] newValue 95 ) { 96 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 97 } 98 99 public org.openmdx.base.cci.Context getContext( 103 String id 104 ) { 105 return (org.openmdx.base.cci.Context)refGetValue( 106 "org:openmdx:base:ContextCapable:context", 107 id 108 ); 109 } 110 111 public java.util.Collection getContext( 115 ) { 116 return (java.util.Collection )refGetValue( 117 "org:openmdx:base:ContextCapable:context" 118 ); 119 } 120 121 protected void addContext ( 125 String id, 126 org.openmdx.base.cci.Context newValue 127 ) { 128 refAddValue( 129 "org:openmdx:base:ContextCapable:context", 130 id, 131 newValue 132 ); 133 } 134 135 protected void addContext ( 139 org.openmdx.base.cci.Context newValue 140 ) { 141 refAddValue( 142 "org:openmdx:base:ContextCapable:context", 143 newValue 144 ); 145 } 146 147 protected void removeContext ( 151 String id 152 ) { 153 refRemoveValue( 154 "org:openmdx:base:ContextCapable:context", 155 id 156 ); 157 } 158 159 public String getDescription ( 163 ) { 164 return (String )this.refGetValue("description", 0); 165 } 166 public void setDescription( 170 String newValue 171 ) { 172 refSetValue("org:openmdx:base:Segment:description", 0, newValue); 173 } 174 175 protected void setExtent( 179 java.util.List newValue 180 ) { 181 refSetValue("org:openmdx:base:Segment:extent", newValue); 182 } 183 184 protected void setExtent( 185 org.openmdx.base.cci.ExtentCapable[] newValue 186 ) { 187 refSetValue("org:openmdx:base:Segment:extent", newValue); 188 } 189 190 public org.openmdx.base.cci.ExtentCapable getExtent( 194 String identity 195 ) { 196 return (org.openmdx.base.cci.ExtentCapable)refGetValue( 197 "org:openmdx:base:Segment:extent", 198 identity 199 ); 200 } 201 202 public java.util.Collection getExtent( 206 ) { 207 return (java.util.Collection )refGetValue( 208 "org:openmdx:base:Segment:extent" 209 ); 210 } 211 212 public java.util.List getExtent( 213 org.openmdx.base.cci.ExtentCapableFilter filter 214 ) { 215 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 216 "org:openmdx:base:Segment:extent" 217 )).toList(filter); 218 } 219 220 protected void addExtent ( 224 String identity, 225 org.openmdx.base.cci.ExtentCapable newValue 226 ) { 227 refAddValue( 228 "org:openmdx:base:Segment:extent", 229 identity, 230 newValue 231 ); 232 } 233 234 protected void addExtent ( 238 org.openmdx.base.cci.ExtentCapable newValue 239 ) { 240 refAddValue( 241 "org:openmdx:base:Segment:extent", 242 newValue 243 ); 244 } 245 246 protected void removeExtent ( 250 String identity 251 ) { 252 refRemoveValue( 253 "org:openmdx:base:Segment:extent", 254 identity 255 ); 256 } 257 258 public org.openmdx.base.cci.Provider getProvider( 262 ) { 263 return (org.openmdx.base.cci.Provider)refGetValue( 264 "org:openmdx:base:Segment:provider" 265 ); 266 } 267 268 protected void setProvider( 272 org.openmdx.base.cci.Provider newValue 273 ) { 274 refSetValue( 275 "org:openmdx:base:Segment:provider", 276 newValue 277 ); 278 } 279 280 protected void setView( 284 java.util.List newValue 285 ) { 286 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 287 } 288 289 protected void setView( 290 org.openmdx.compatibility.view1.cci.View[] newValue 291 ) { 292 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 293 } 294 295 public org.openmdx.compatibility.view1.cci.View getView( 299 String namespace 300 ) { 301 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 302 "org:openmdx:compatibility:view1:ViewCapable:view", 303 namespace 304 ); 305 } 306 307 public java.util.Collection getView( 311 ) { 312 return (java.util.Collection )refGetValue( 313 "org:openmdx:compatibility:view1:ViewCapable:view" 314 ); 315 } 316 317 public java.util.List getView( 318 org.openmdx.compatibility.view1.cci.ViewFilter filter 319 ) { 320 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 321 "org:openmdx:compatibility:view1:ViewCapable:view" 322 )).toList(filter); 323 } 324 325 protected void addView ( 329 String namespace, 330 org.openmdx.compatibility.view1.cci.View newValue 331 ) { 332 refAddValue( 333 "org:openmdx:compatibility:view1:ViewCapable:view", 334 namespace, 335 newValue 336 ); 337 } 338 339 protected void addView ( 343 org.openmdx.compatibility.view1.cci.View newValue 344 ) { 345 refAddValue( 346 "org:openmdx:compatibility:view1:ViewCapable:view", 347 newValue 348 ); 349 } 350 351 protected void removeView ( 355 String namespace 356 ) { 357 refRemoveValue( 358 "org:openmdx:compatibility:view1:ViewCapable:view", 359 namespace 360 ); 361 } 362 363 } 367 | Popular Tags |