org.enhydra.shark.eventaudit
Class NotifyingEventAuditManager

java.lang.Object
  extended byorg.enhydra.shark.eventaudit.NotifyingEventAuditManager
All Implemented Interfaces:
EventAuditManagerInterface

public class NotifyingEventAuditManager
extends java.lang.Object
implements EventAuditManagerInterface

TODO: document

Version:
0.2
Author:
Daniel Frey

Field Summary
static org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType ASSIGNMENT_EVENT_TYPE
           
static org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType CREATION_EVENT_TYPE
           
static org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType DATA_EVENT_TYPE
           
static org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType STATE_EVENT_TYPE
           
 
Constructor Summary
NotifyingEventAuditManager()
           
 
Method Summary
static void addEventAuditListener(EventAuditListener listener)
           
static void addEventAuditListener(EventAuditListener listener, org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType type)
           
static void addEventAuditListener(EventAuditListener listener, org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType type, java.lang.String id)
           
 void configure(CallbackUtilities _cus)
           
 void delete(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject aea)
           
 void delete(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject cpea)
           
 void delete(WMSessionHandle shandle, DataEventAuditPersistenceObject dea)
           
 void delete(WMSessionHandle shandle, StateEventAuditPersistenceObject sea)
           
 void persist(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject aea)
           
 void persist(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject cpea)
           
 void persist(WMSessionHandle shandle, DataEventAuditPersistenceObject dea)
           
 void persist(WMSessionHandle shandle, StateEventAuditPersistenceObject sea)
           
static void removeEventAuditListener(EventAuditListener listener)
           
static void removeEventAuditListener(EventAuditListener listener, org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType type)
           
static void removeEventAuditListener(EventAuditListener listener, org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType type, java.lang.String id)
           
 boolean restore(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject aea)
           
 boolean restore(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject cpea)
           
 boolean restore(WMSessionHandle shandle, DataEventAuditPersistenceObject dea)
           
 boolean restore(WMSessionHandle shandle, StateEventAuditPersistenceObject sea)
           
 java.util.List restoreActivityHistory(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId)
           
 java.util.List restoreProcessHistory(WMSessionHandle shandle, java.lang.String procId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA_EVENT_TYPE

public static final org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType DATA_EVENT_TYPE

ASSIGNMENT_EVENT_TYPE

public static final org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType ASSIGNMENT_EVENT_TYPE

STATE_EVENT_TYPE

public static final org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType STATE_EVENT_TYPE

CREATION_EVENT_TYPE

public static final org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType CREATION_EVENT_TYPE
Constructor Detail

NotifyingEventAuditManager

public NotifyingEventAuditManager()
Method Detail

configure

public void configure(CallbackUtilities _cus)
               throws java.lang.Exception
Specified by:
configure in interface EventAuditManagerInterface
Throws:
java.lang.Exception

persist

public void persist(WMSessionHandle shandle,
                    AssignmentEventAuditPersistenceObject aea)
             throws EventAuditException
Specified by:
persist in interface EventAuditManagerInterface
Throws:
EventAuditException

persist

public void persist(WMSessionHandle shandle,
                    DataEventAuditPersistenceObject dea)
             throws EventAuditException
Specified by:
persist in interface EventAuditManagerInterface
Throws:
EventAuditException

persist

public void persist(WMSessionHandle shandle,
                    StateEventAuditPersistenceObject sea)
             throws EventAuditException
Specified by:
persist in interface EventAuditManagerInterface
Throws:
EventAuditException

persist

public void persist(WMSessionHandle shandle,
                    CreateProcessEventAuditPersistenceObject cpea)
             throws EventAuditException
Specified by:
persist in interface EventAuditManagerInterface
Throws:
EventAuditException

restore

public boolean restore(WMSessionHandle shandle,
                       AssignmentEventAuditPersistenceObject aea)
                throws EventAuditException
Specified by:
restore in interface EventAuditManagerInterface
Throws:
EventAuditException

restore

public boolean restore(WMSessionHandle shandle,
                       DataEventAuditPersistenceObject dea)
                throws EventAuditException
Specified by:
restore in interface EventAuditManagerInterface
Throws:
EventAuditException

restore

public boolean restore(WMSessionHandle shandle,
                       StateEventAuditPersistenceObject sea)
                throws EventAuditException
Specified by:
restore in interface EventAuditManagerInterface
Throws:
EventAuditException

restore

public boolean restore(WMSessionHandle shandle,
                       CreateProcessEventAuditPersistenceObject cpea)
                throws EventAuditException
Specified by:
restore in interface EventAuditManagerInterface
Throws:
EventAuditException

restoreProcessHistory

public java.util.List restoreProcessHistory(WMSessionHandle shandle,
                                            java.lang.String procId)
                                     throws EventAuditException
Specified by:
restoreProcessHistory in interface EventAuditManagerInterface
Throws:
EventAuditException

restoreActivityHistory

public java.util.List restoreActivityHistory(WMSessionHandle shandle,
                                             java.lang.String procId,
                                             java.lang.String actId)
                                      throws EventAuditException
Specified by:
restoreActivityHistory in interface EventAuditManagerInterface
Throws:
EventAuditException

delete

public void delete(WMSessionHandle shandle,
                   AssignmentEventAuditPersistenceObject aea)
            throws EventAuditException
Specified by:
delete in interface EventAuditManagerInterface
Throws:
EventAuditException

delete

public void delete(WMSessionHandle shandle,
                   DataEventAuditPersistenceObject dea)
            throws EventAuditException
Specified by:
delete in interface EventAuditManagerInterface
Throws:
EventAuditException

delete

public void delete(WMSessionHandle shandle,
                   StateEventAuditPersistenceObject sea)
            throws EventAuditException
Specified by:
delete in interface EventAuditManagerInterface
Throws:
EventAuditException

delete

public void delete(WMSessionHandle shandle,
                   CreateProcessEventAuditPersistenceObject cpea)
            throws EventAuditException
Specified by:
delete in interface EventAuditManagerInterface
Throws:
EventAuditException

addEventAuditListener

public static void addEventAuditListener(EventAuditListener listener)

addEventAuditListener

public static void addEventAuditListener(EventAuditListener listener,
                                         org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType type)

addEventAuditListener

public static void addEventAuditListener(EventAuditListener listener,
                                         org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType type,
                                         java.lang.String id)

removeEventAuditListener

public static void removeEventAuditListener(EventAuditListener listener)

removeEventAuditListener

public static void removeEventAuditListener(EventAuditListener listener,
                                            org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType type)

removeEventAuditListener

public static void removeEventAuditListener(EventAuditListener listener,
                                            org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType type,
                                            java.lang.String id)