1 package org.enhydra.shark.api.internal.eventaudit; 2 3 4 5 import java.util.List ; 6 7 import org.enhydra.shark.api.RootException; 8 9 import org.enhydra.shark.api.SharkTransaction; 10 11 import org.enhydra.shark.api.internal.working.CallbackUtilities; 12 13 14 15 28 29 public interface EventAuditManagerInterface { 30 31 32 33 50 51 void configure(CallbackUtilities cus) throws RootException; 52 53 54 55 72 73 public void persist(AssignmentEventAuditPersistenceInterface assea, 74 75 SharkTransaction ti) 76 77 throws EventAuditException; 78 79 80 81 98 99 public void persist(CreateProcessEventAuditPersistenceInterface cpea, 100 101 SharkTransaction ti) 102 103 throws EventAuditException; 104 105 106 107 124 125 public void persist(DataEventAuditPersistenceInterface dea, 126 127 SharkTransaction ti) 128 129 throws EventAuditException; 130 131 132 133 150 151 public void persist(StateEventAuditPersistenceInterface sea, 152 153 SharkTransaction ti) 154 155 throws EventAuditException; 156 157 158 159 180 181 public boolean restore(AssignmentEventAuditPersistenceInterface assea, 182 183 SharkTransaction ti) 184 185 throws EventAuditException; 186 187 188 189 210 211 public boolean restore(CreateProcessEventAuditPersistenceInterface cpea, 212 213 SharkTransaction ti) 214 215 throws EventAuditException; 216 217 218 219 240 241 public boolean restore(DataEventAuditPersistenceInterface dea, 242 243 SharkTransaction ti) 244 245 throws EventAuditException; 246 247 248 249 270 271 public boolean restore(StateEventAuditPersistenceInterface sea, 272 273 SharkTransaction ti) 274 275 throws EventAuditException; 276 277 278 279 298 299 public List restoreProcessHistory(String procId,SharkTransaction ti) 300 301 throws EventAuditException; 302 303 304 305 326 327 public List restoreActivityHistory(String procId, 328 329 String actId, 330 331 SharkTransaction ti) 332 333 throws EventAuditException; 334 335 336 337 352 353 public void delete(AssignmentEventAuditPersistenceInterface assea, 354 355 SharkTransaction ti) 356 357 throws EventAuditException; 358 359 360 361 376 377 public void delete(CreateProcessEventAuditPersistenceInterface cpea, 378 379 SharkTransaction ti) 380 381 throws EventAuditException; 382 383 384 385 400 401 public void delete(DataEventAuditPersistenceInterface dea, 402 403 SharkTransaction ti) 404 405 throws EventAuditException; 406 407 408 409 424 425 public void delete(StateEventAuditPersistenceInterface sea, 426 427 SharkTransaction ti) 428 429 throws EventAuditException; 430 431 432 433 442 443 public AssignmentEventAuditPersistenceInterface createAssignmentEventAudit(); 444 445 446 447 456 457 public CreateProcessEventAuditPersistenceInterface createCreateProcessEventAudit(); 458 459 460 461 470 471 public DataEventAuditPersistenceInterface createDataEventAudit(); 472 473 474 475 484 485 public StateEventAuditPersistenceInterface createStateEventAudit(); 486 487 488 489 506 507 public String getNextId(String idName) throws EventAuditException; 508 509 } 510 511 | Popular Tags |