1 package org.opencrx.kernel.account1.cci; 14 15 public class OrganizationalUnitClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements OrganizationalUnitClass { 18 19 public OrganizationalUnitClassImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage 21 ) { 22 super(refPackage); 23 } 24 25 public String refMofId( 26 ) { 27 return "org:opencrx:kernel:account1:OrganizationalUnit"; 28 } 29 30 public OrganizationalUnit getOrganizationalUnit( 31 Object object 32 ) { 33 try { 34 if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) { 35 java.util.List args = new java.util.ArrayList (); 36 args.add(object); 37 OrganizationalUnit target = (OrganizationalUnit)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (OrganizationalUnit)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject( 43 object instanceof org.openmdx.compatibility.base.naming.Path 44 ? ((org.openmdx.compatibility.base.naming.Path)object).toXri() 45 : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri() 46 ); 47 } 48 } 49 catch(org.openmdx.base.exception.ServiceException e) { 50 throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e); 51 } 52 } 53 54 public OrganizationalUnit createOrganizationalUnit( 55 ) { 56 OrganizationalUnit target = (OrganizationalUnit)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public OrganizationalUnit createOrganizationalUnit( 65 String name 66 , short organizationalUnitState 67 , short accessLevelBrowse 68 , short accessLevelDelete 69 , short accessLevelUpdate 70 , boolean disabled 71 ) { 72 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)createOrganizationalUnit(); 73 _object.setName(name); 74 _object.setOrganizationalUnitState(organizationalUnitState); 75 _object.setAccessLevelBrowse(accessLevelBrowse); 76 _object.setAccessLevelDelete(accessLevelDelete); 77 _object.setAccessLevelUpdate(accessLevelUpdate); 78 _object.setDisabled(disabled); 79 return _object; 80 } 81 82 public OrganizationalUnit extendAbstractOrganizationalUnit( 86 org.opencrx.kernel.account1.cci.AbstractOrganizationalUnit _base 87 , short organizationalUnitState 88 , short accessLevelBrowse 89 , short accessLevelDelete 90 , short accessLevelUpdate 91 , boolean disabled 92 ) { 93 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 94 _object.setOrganizationalUnitState(organizationalUnitState); 95 _object.setAccessLevelBrowse(accessLevelBrowse); 96 _object.setAccessLevelDelete(accessLevelDelete); 97 _object.setAccessLevelUpdate(accessLevelUpdate); 98 _object.setDisabled(disabled); 99 return _object; 100 } 101 102 public OrganizationalUnit extendAuditee( 106 org.opencrx.kernel.base.cci.Auditee _base 107 , String name 108 , short organizationalUnitState 109 , short accessLevelBrowse 110 , short accessLevelDelete 111 , short accessLevelUpdate 112 , boolean disabled 113 ) { 114 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 115 _object.setName(name); 116 _object.setOrganizationalUnitState(organizationalUnitState); 117 _object.setAccessLevelBrowse(accessLevelBrowse); 118 _object.setAccessLevelDelete(accessLevelDelete); 119 _object.setAccessLevelUpdate(accessLevelUpdate); 120 _object.setDisabled(disabled); 121 return _object; 122 } 123 124 public OrganizationalUnit extendBookmarkable( 128 org.opencrx.kernel.base.cci.Bookmarkable _base 129 , String name 130 , short organizationalUnitState 131 , short accessLevelBrowse 132 , short accessLevelDelete 133 , short accessLevelUpdate 134 , boolean disabled 135 ) { 136 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 137 _object.setName(name); 138 _object.setOrganizationalUnitState(organizationalUnitState); 139 _object.setAccessLevelBrowse(accessLevelBrowse); 140 _object.setAccessLevelDelete(accessLevelDelete); 141 _object.setAccessLevelUpdate(accessLevelUpdate); 142 _object.setDisabled(disabled); 143 return _object; 144 } 145 146 public OrganizationalUnit extendCloneable( 150 org.opencrx.kernel.base.cci.Cloneable _base 151 , String name 152 , short organizationalUnitState 153 , short accessLevelBrowse 154 , short accessLevelDelete 155 , short accessLevelUpdate 156 , boolean disabled 157 ) { 158 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 159 _object.setName(name); 160 _object.setOrganizationalUnitState(organizationalUnitState); 161 _object.setAccessLevelBrowse(accessLevelBrowse); 162 _object.setAccessLevelDelete(accessLevelDelete); 163 _object.setAccessLevelUpdate(accessLevelUpdate); 164 _object.setDisabled(disabled); 165 return _object; 166 } 167 168 public OrganizationalUnit extendImporter( 172 org.opencrx.kernel.base.cci.Importer _base 173 , String name 174 , short organizationalUnitState 175 , short accessLevelBrowse 176 , short accessLevelDelete 177 , short accessLevelUpdate 178 , boolean disabled 179 ) { 180 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 181 _object.setName(name); 182 _object.setOrganizationalUnitState(organizationalUnitState); 183 _object.setAccessLevelBrowse(accessLevelBrowse); 184 _object.setAccessLevelDelete(accessLevelDelete); 185 _object.setAccessLevelUpdate(accessLevelUpdate); 186 _object.setDisabled(disabled); 187 return _object; 188 } 189 190 public OrganizationalUnit extendSecureObject( 194 org.opencrx.kernel.base.cci.SecureObject _base 195 , String name 196 , short organizationalUnitState 197 , boolean disabled 198 ) { 199 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 200 _object.setName(name); 201 _object.setOrganizationalUnitState(organizationalUnitState); 202 _object.setDisabled(disabled); 203 return _object; 204 } 205 206 public OrganizationalUnit extendSubscriptionTarget( 210 org.opencrx.kernel.base.cci.SubscriptionTarget _base 211 , String name 212 , short organizationalUnitState 213 , short accessLevelBrowse 214 , short accessLevelDelete 215 , short accessLevelUpdate 216 , boolean disabled 217 ) { 218 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 219 _object.setName(name); 220 _object.setOrganizationalUnitState(organizationalUnitState); 221 _object.setAccessLevelBrowse(accessLevelBrowse); 222 _object.setAccessLevelDelete(accessLevelDelete); 223 _object.setAccessLevelUpdate(accessLevelUpdate); 224 _object.setDisabled(disabled); 225 return _object; 226 } 227 228 public OrganizationalUnit extendXmlExporter( 232 org.opencrx.kernel.base.cci.XmlExporter _base 233 , String name 234 , short organizationalUnitState 235 , short accessLevelBrowse 236 , short accessLevelDelete 237 , short accessLevelUpdate 238 , boolean disabled 239 ) { 240 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 241 _object.setName(name); 242 _object.setOrganizationalUnitState(organizationalUnitState); 243 _object.setAccessLevelBrowse(accessLevelBrowse); 244 _object.setAccessLevelDelete(accessLevelDelete); 245 _object.setAccessLevelUpdate(accessLevelUpdate); 246 _object.setDisabled(disabled); 247 return _object; 248 } 249 250 public OrganizationalUnit extendCrxObject( 254 org.opencrx.kernel.generic.cci.CrxObject _base 255 , String name 256 , short organizationalUnitState 257 ) { 258 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 259 _object.setName(name); 260 _object.setOrganizationalUnitState(organizationalUnitState); 261 return _object; 262 } 263 264 public OrganizationalUnit extendBasicObject( 268 org.openmdx.base.cci.BasicObject _base 269 , String name 270 , short organizationalUnitState 271 , short accessLevelBrowse 272 , short accessLevelDelete 273 , short accessLevelUpdate 274 , boolean disabled 275 ) { 276 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 277 _object.setName(name); 278 _object.setOrganizationalUnitState(organizationalUnitState); 279 _object.setAccessLevelBrowse(accessLevelBrowse); 280 _object.setAccessLevelDelete(accessLevelDelete); 281 _object.setAccessLevelUpdate(accessLevelUpdate); 282 _object.setDisabled(disabled); 283 return _object; 284 } 285 286 public OrganizationalUnit extendContextCapable( 290 org.openmdx.base.cci.ContextCapable _base 291 , String name 292 , short organizationalUnitState 293 , short accessLevelBrowse 294 , short accessLevelDelete 295 , short accessLevelUpdate 296 , boolean disabled 297 ) { 298 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 299 _object.setName(name); 300 _object.setOrganizationalUnitState(organizationalUnitState); 301 _object.setAccessLevelBrowse(accessLevelBrowse); 302 _object.setAccessLevelDelete(accessLevelDelete); 303 _object.setAccessLevelUpdate(accessLevelUpdate); 304 _object.setDisabled(disabled); 305 return _object; 306 } 307 308 public OrganizationalUnit extendExtentCapable( 312 org.openmdx.base.cci.ExtentCapable _base 313 , String name 314 , short organizationalUnitState 315 , short accessLevelBrowse 316 , short accessLevelDelete 317 , short accessLevelUpdate 318 , boolean disabled 319 ) { 320 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 321 _object.setName(name); 322 _object.setOrganizationalUnitState(organizationalUnitState); 323 _object.setAccessLevelBrowse(accessLevelBrowse); 324 _object.setAccessLevelDelete(accessLevelDelete); 325 _object.setAccessLevelUpdate(accessLevelUpdate); 326 _object.setDisabled(disabled); 327 return _object; 328 } 329 330 public OrganizationalUnit extendViewCapable( 334 org.openmdx.compatibility.view1.cci.ViewCapable _base 335 , String name 336 , short organizationalUnitState 337 , short accessLevelBrowse 338 , short accessLevelDelete 339 , short accessLevelUpdate 340 , boolean disabled 341 ) { 342 OrganizationalUnitImpl _object = (OrganizationalUnitImpl)getOrganizationalUnit(_base); 343 _object.setName(name); 344 _object.setOrganizationalUnitState(organizationalUnitState); 345 _object.setAccessLevelBrowse(accessLevelBrowse); 346 _object.setAccessLevelDelete(accessLevelDelete); 347 _object.setAccessLevelUpdate(accessLevelUpdate); 348 _object.setDisabled(disabled); 349 return _object; 350 } 351 352 } 356 | Popular Tags |