1 package org.opencrx.kernel.account1.cci; 14 15 public class OrganizationClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements OrganizationClass { 18 19 public OrganizationClassImpl( 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:Organization"; 28 } 29 30 public Organization getOrganization( 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 Organization target = (Organization)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (Organization)((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 Organization createOrganization( 55 ) { 56 Organization target = (Organization)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public Organization createOrganization( 65 String name 66 , short organizationState 67 , short accessLevelBrowse 68 , short accessLevelDelete 69 , short accessLevelUpdate 70 , boolean disabled 71 ) { 72 OrganizationImpl _object = (OrganizationImpl)createOrganization(); 73 _object.setName(name); 74 _object.setOrganizationState(organizationState); 75 _object.setAccessLevelBrowse(accessLevelBrowse); 76 _object.setAccessLevelDelete(accessLevelDelete); 77 _object.setAccessLevelUpdate(accessLevelUpdate); 78 _object.setDisabled(disabled); 79 return _object; 80 } 81 82 public Organization extendAbstractOrganizationalUnit( 86 org.opencrx.kernel.account1.cci.AbstractOrganizationalUnit _base 87 , short organizationState 88 , short accessLevelBrowse 89 , short accessLevelDelete 90 , short accessLevelUpdate 91 , boolean disabled 92 ) { 93 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 94 _object.setOrganizationState(organizationState); 95 _object.setAccessLevelBrowse(accessLevelBrowse); 96 _object.setAccessLevelDelete(accessLevelDelete); 97 _object.setAccessLevelUpdate(accessLevelUpdate); 98 _object.setDisabled(disabled); 99 return _object; 100 } 101 102 public Organization extendAuditee( 106 org.opencrx.kernel.base.cci.Auditee _base 107 , String name 108 , short organizationState 109 , short accessLevelBrowse 110 , short accessLevelDelete 111 , short accessLevelUpdate 112 , boolean disabled 113 ) { 114 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 115 _object.setName(name); 116 _object.setOrganizationState(organizationState); 117 _object.setAccessLevelBrowse(accessLevelBrowse); 118 _object.setAccessLevelDelete(accessLevelDelete); 119 _object.setAccessLevelUpdate(accessLevelUpdate); 120 _object.setDisabled(disabled); 121 return _object; 122 } 123 124 public Organization extendBookmarkable( 128 org.opencrx.kernel.base.cci.Bookmarkable _base 129 , String name 130 , short organizationState 131 , short accessLevelBrowse 132 , short accessLevelDelete 133 , short accessLevelUpdate 134 , boolean disabled 135 ) { 136 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 137 _object.setName(name); 138 _object.setOrganizationState(organizationState); 139 _object.setAccessLevelBrowse(accessLevelBrowse); 140 _object.setAccessLevelDelete(accessLevelDelete); 141 _object.setAccessLevelUpdate(accessLevelUpdate); 142 _object.setDisabled(disabled); 143 return _object; 144 } 145 146 public Organization extendCloneable( 150 org.opencrx.kernel.base.cci.Cloneable _base 151 , String name 152 , short organizationState 153 , short accessLevelBrowse 154 , short accessLevelDelete 155 , short accessLevelUpdate 156 , boolean disabled 157 ) { 158 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 159 _object.setName(name); 160 _object.setOrganizationState(organizationState); 161 _object.setAccessLevelBrowse(accessLevelBrowse); 162 _object.setAccessLevelDelete(accessLevelDelete); 163 _object.setAccessLevelUpdate(accessLevelUpdate); 164 _object.setDisabled(disabled); 165 return _object; 166 } 167 168 public Organization extendImporter( 172 org.opencrx.kernel.base.cci.Importer _base 173 , String name 174 , short organizationState 175 , short accessLevelBrowse 176 , short accessLevelDelete 177 , short accessLevelUpdate 178 , boolean disabled 179 ) { 180 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 181 _object.setName(name); 182 _object.setOrganizationState(organizationState); 183 _object.setAccessLevelBrowse(accessLevelBrowse); 184 _object.setAccessLevelDelete(accessLevelDelete); 185 _object.setAccessLevelUpdate(accessLevelUpdate); 186 _object.setDisabled(disabled); 187 return _object; 188 } 189 190 public Organization extendSecureObject( 194 org.opencrx.kernel.base.cci.SecureObject _base 195 , String name 196 , short organizationState 197 , boolean disabled 198 ) { 199 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 200 _object.setName(name); 201 _object.setOrganizationState(organizationState); 202 _object.setDisabled(disabled); 203 return _object; 204 } 205 206 public Organization extendSubscriptionTarget( 210 org.opencrx.kernel.base.cci.SubscriptionTarget _base 211 , String name 212 , short organizationState 213 , short accessLevelBrowse 214 , short accessLevelDelete 215 , short accessLevelUpdate 216 , boolean disabled 217 ) { 218 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 219 _object.setName(name); 220 _object.setOrganizationState(organizationState); 221 _object.setAccessLevelBrowse(accessLevelBrowse); 222 _object.setAccessLevelDelete(accessLevelDelete); 223 _object.setAccessLevelUpdate(accessLevelUpdate); 224 _object.setDisabled(disabled); 225 return _object; 226 } 227 228 public Organization extendXmlExporter( 232 org.opencrx.kernel.base.cci.XmlExporter _base 233 , String name 234 , short organizationState 235 , short accessLevelBrowse 236 , short accessLevelDelete 237 , short accessLevelUpdate 238 , boolean disabled 239 ) { 240 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 241 _object.setName(name); 242 _object.setOrganizationState(organizationState); 243 _object.setAccessLevelBrowse(accessLevelBrowse); 244 _object.setAccessLevelDelete(accessLevelDelete); 245 _object.setAccessLevelUpdate(accessLevelUpdate); 246 _object.setDisabled(disabled); 247 return _object; 248 } 249 250 public Organization extendCrxObject( 254 org.opencrx.kernel.generic.cci.CrxObject _base 255 , String name 256 , short organizationState 257 ) { 258 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 259 _object.setName(name); 260 _object.setOrganizationState(organizationState); 261 return _object; 262 } 263 264 public Organization extendBasicObject( 268 org.openmdx.base.cci.BasicObject _base 269 , String name 270 , short organizationState 271 , short accessLevelBrowse 272 , short accessLevelDelete 273 , short accessLevelUpdate 274 , boolean disabled 275 ) { 276 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 277 _object.setName(name); 278 _object.setOrganizationState(organizationState); 279 _object.setAccessLevelBrowse(accessLevelBrowse); 280 _object.setAccessLevelDelete(accessLevelDelete); 281 _object.setAccessLevelUpdate(accessLevelUpdate); 282 _object.setDisabled(disabled); 283 return _object; 284 } 285 286 public Organization extendContextCapable( 290 org.openmdx.base.cci.ContextCapable _base 291 , String name 292 , short organizationState 293 , short accessLevelBrowse 294 , short accessLevelDelete 295 , short accessLevelUpdate 296 , boolean disabled 297 ) { 298 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 299 _object.setName(name); 300 _object.setOrganizationState(organizationState); 301 _object.setAccessLevelBrowse(accessLevelBrowse); 302 _object.setAccessLevelDelete(accessLevelDelete); 303 _object.setAccessLevelUpdate(accessLevelUpdate); 304 _object.setDisabled(disabled); 305 return _object; 306 } 307 308 public Organization extendExtentCapable( 312 org.openmdx.base.cci.ExtentCapable _base 313 , String name 314 , short organizationState 315 , short accessLevelBrowse 316 , short accessLevelDelete 317 , short accessLevelUpdate 318 , boolean disabled 319 ) { 320 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 321 _object.setName(name); 322 _object.setOrganizationState(organizationState); 323 _object.setAccessLevelBrowse(accessLevelBrowse); 324 _object.setAccessLevelDelete(accessLevelDelete); 325 _object.setAccessLevelUpdate(accessLevelUpdate); 326 _object.setDisabled(disabled); 327 return _object; 328 } 329 330 public Organization extendViewCapable( 334 org.openmdx.compatibility.view1.cci.ViewCapable _base 335 , String name 336 , short organizationState 337 , short accessLevelBrowse 338 , short accessLevelDelete 339 , short accessLevelUpdate 340 , boolean disabled 341 ) { 342 OrganizationImpl _object = (OrganizationImpl)getOrganization(_base); 343 _object.setName(name); 344 _object.setOrganizationState(organizationState); 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 |