1 package org.opencrx.kernel.activity1.cci; 14 15 public class ActivityCreationActionClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ActivityCreationActionClass { 18 19 public ActivityCreationActionClassImpl( 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:activity1:ActivityCreationAction"; 28 } 29 30 public ActivityCreationAction getActivityCreationAction( 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 ActivityCreationAction target = (ActivityCreationAction)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (ActivityCreationAction)((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 ActivityCreationAction createActivityCreationAction( 55 ) { 56 ActivityCreationAction target = (ActivityCreationAction)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public ActivityCreationAction createActivityCreationAction( 65 String activityName 66 , String name 67 , short accessLevelBrowse 68 , short accessLevelDelete 69 , short accessLevelUpdate 70 , boolean disabled 71 ) { 72 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)createActivityCreationAction(); 73 _object.setActivityName(activityName); 74 _object.setName(name); 75 _object.setAccessLevelBrowse(accessLevelBrowse); 76 _object.setAccessLevelDelete(accessLevelDelete); 77 _object.setAccessLevelUpdate(accessLevelUpdate); 78 _object.setDisabled(disabled); 79 return _object; 80 } 81 82 public ActivityCreationAction extendActivityProcessAction( 86 org.opencrx.kernel.activity1.cci.ActivityProcessAction _base 87 , String activityName 88 ) { 89 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 90 _object.setActivityName(activityName); 91 return _object; 92 } 93 94 public ActivityCreationAction extendAuditee( 98 org.opencrx.kernel.base.cci.Auditee _base 99 , String activityName 100 , String name 101 , short accessLevelBrowse 102 , short accessLevelDelete 103 , short accessLevelUpdate 104 , boolean disabled 105 ) { 106 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 107 _object.setActivityName(activityName); 108 _object.setName(name); 109 _object.setAccessLevelBrowse(accessLevelBrowse); 110 _object.setAccessLevelDelete(accessLevelDelete); 111 _object.setAccessLevelUpdate(accessLevelUpdate); 112 _object.setDisabled(disabled); 113 return _object; 114 } 115 116 public ActivityCreationAction extendBookmarkable( 120 org.opencrx.kernel.base.cci.Bookmarkable _base 121 , String activityName 122 , String name 123 , short accessLevelBrowse 124 , short accessLevelDelete 125 , short accessLevelUpdate 126 , boolean disabled 127 ) { 128 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 129 _object.setActivityName(activityName); 130 _object.setName(name); 131 _object.setAccessLevelBrowse(accessLevelBrowse); 132 _object.setAccessLevelDelete(accessLevelDelete); 133 _object.setAccessLevelUpdate(accessLevelUpdate); 134 _object.setDisabled(disabled); 135 return _object; 136 } 137 138 public ActivityCreationAction extendCloneable( 142 org.opencrx.kernel.base.cci.Cloneable _base 143 , String activityName 144 , String name 145 , short accessLevelBrowse 146 , short accessLevelDelete 147 , short accessLevelUpdate 148 , boolean disabled 149 ) { 150 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 151 _object.setActivityName(activityName); 152 _object.setName(name); 153 _object.setAccessLevelBrowse(accessLevelBrowse); 154 _object.setAccessLevelDelete(accessLevelDelete); 155 _object.setAccessLevelUpdate(accessLevelUpdate); 156 _object.setDisabled(disabled); 157 return _object; 158 } 159 160 public ActivityCreationAction extendImporter( 164 org.opencrx.kernel.base.cci.Importer _base 165 , String activityName 166 , String name 167 , short accessLevelBrowse 168 , short accessLevelDelete 169 , short accessLevelUpdate 170 , boolean disabled 171 ) { 172 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 173 _object.setActivityName(activityName); 174 _object.setName(name); 175 _object.setAccessLevelBrowse(accessLevelBrowse); 176 _object.setAccessLevelDelete(accessLevelDelete); 177 _object.setAccessLevelUpdate(accessLevelUpdate); 178 _object.setDisabled(disabled); 179 return _object; 180 } 181 182 public ActivityCreationAction extendSecureObject( 186 org.opencrx.kernel.base.cci.SecureObject _base 187 , String activityName 188 , String name 189 , boolean disabled 190 ) { 191 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 192 _object.setActivityName(activityName); 193 _object.setName(name); 194 _object.setDisabled(disabled); 195 return _object; 196 } 197 198 public ActivityCreationAction extendSubscriptionTarget( 202 org.opencrx.kernel.base.cci.SubscriptionTarget _base 203 , String activityName 204 , String name 205 , short accessLevelBrowse 206 , short accessLevelDelete 207 , short accessLevelUpdate 208 , boolean disabled 209 ) { 210 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 211 _object.setActivityName(activityName); 212 _object.setName(name); 213 _object.setAccessLevelBrowse(accessLevelBrowse); 214 _object.setAccessLevelDelete(accessLevelDelete); 215 _object.setAccessLevelUpdate(accessLevelUpdate); 216 _object.setDisabled(disabled); 217 return _object; 218 } 219 220 public ActivityCreationAction extendXmlExporter( 224 org.opencrx.kernel.base.cci.XmlExporter _base 225 , String activityName 226 , String name 227 , short accessLevelBrowse 228 , short accessLevelDelete 229 , short accessLevelUpdate 230 , boolean disabled 231 ) { 232 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 233 _object.setActivityName(activityName); 234 _object.setName(name); 235 _object.setAccessLevelBrowse(accessLevelBrowse); 236 _object.setAccessLevelDelete(accessLevelDelete); 237 _object.setAccessLevelUpdate(accessLevelUpdate); 238 _object.setDisabled(disabled); 239 return _object; 240 } 241 242 public ActivityCreationAction extendCrxObject( 246 org.opencrx.kernel.generic.cci.CrxObject _base 247 , String activityName 248 , String name 249 ) { 250 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 251 _object.setActivityName(activityName); 252 _object.setName(name); 253 return _object; 254 } 255 256 public ActivityCreationAction extendBasicObject( 260 org.openmdx.base.cci.BasicObject _base 261 , String activityName 262 , String name 263 , short accessLevelBrowse 264 , short accessLevelDelete 265 , short accessLevelUpdate 266 , boolean disabled 267 ) { 268 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 269 _object.setActivityName(activityName); 270 _object.setName(name); 271 _object.setAccessLevelBrowse(accessLevelBrowse); 272 _object.setAccessLevelDelete(accessLevelDelete); 273 _object.setAccessLevelUpdate(accessLevelUpdate); 274 _object.setDisabled(disabled); 275 return _object; 276 } 277 278 public ActivityCreationAction extendContextCapable( 282 org.openmdx.base.cci.ContextCapable _base 283 , String activityName 284 , String name 285 , short accessLevelBrowse 286 , short accessLevelDelete 287 , short accessLevelUpdate 288 , boolean disabled 289 ) { 290 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 291 _object.setActivityName(activityName); 292 _object.setName(name); 293 _object.setAccessLevelBrowse(accessLevelBrowse); 294 _object.setAccessLevelDelete(accessLevelDelete); 295 _object.setAccessLevelUpdate(accessLevelUpdate); 296 _object.setDisabled(disabled); 297 return _object; 298 } 299 300 public ActivityCreationAction extendExtentCapable( 304 org.openmdx.base.cci.ExtentCapable _base 305 , String activityName 306 , String name 307 , short accessLevelBrowse 308 , short accessLevelDelete 309 , short accessLevelUpdate 310 , boolean disabled 311 ) { 312 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 313 _object.setActivityName(activityName); 314 _object.setName(name); 315 _object.setAccessLevelBrowse(accessLevelBrowse); 316 _object.setAccessLevelDelete(accessLevelDelete); 317 _object.setAccessLevelUpdate(accessLevelUpdate); 318 _object.setDisabled(disabled); 319 return _object; 320 } 321 322 public ActivityCreationAction extendViewCapable( 326 org.openmdx.compatibility.view1.cci.ViewCapable _base 327 , String activityName 328 , String name 329 , short accessLevelBrowse 330 , short accessLevelDelete 331 , short accessLevelUpdate 332 , boolean disabled 333 ) { 334 ActivityCreationActionImpl _object = (ActivityCreationActionImpl)getActivityCreationAction(_base); 335 _object.setActivityName(activityName); 336 _object.setName(name); 337 _object.setAccessLevelBrowse(accessLevelBrowse); 338 _object.setAccessLevelDelete(accessLevelDelete); 339 _object.setAccessLevelUpdate(accessLevelUpdate); 340 _object.setDisabled(disabled); 341 return _object; 342 } 343 344 } 348 | Popular Tags |