org.enhydra.shark.eventaudit
Class NotifyingEventAuditManager
java.lang.Object
org.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 |
DELETION_EVENT_TYPE
|
static org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType |
PROPERTIES_EVENT_TYPE
|
static org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType |
STATE_EVENT_TYPE
|
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,
PropertiesEventAuditPersistenceObject pea)
|
void |
delete(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
|
java.util.List |
listActivityHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String sqlWhere,
int startAt,
int limit,
boolean fillVariablesInfo)
|
java.util.List |
listProcessDefinitionHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String factoryName,
boolean countProcessInstances)
|
java.util.List |
listProcessHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String sqlWhere,
int startAt,
int limit,
boolean fillActivitiesInfo,
boolean fillActivitiyVariablesInfo,
boolean fillVariablesInfo)
|
void |
persist(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject aea)
|
void |
persist(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
|
void |
persist(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
|
void |
persist(WMSessionHandle shandle,
DeleteProcessEventAuditPersistenceObject pea)
|
void |
persist(WMSessionHandle shandle,
PropertiesEventAuditPersistenceObject pea)
|
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,
DeleteProcessEventAuditPersistenceObject pea)
|
boolean |
restore(WMSessionHandle shandle,
PropertiesEventAuditPersistenceObject pea)
|
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 |
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
PROPERTIES_EVENT_TYPE
public static final org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType PROPERTIES_EVENT_TYPE
DELETION_EVENT_TYPE
public static final org.enhydra.shark.eventaudit.NotifyingEventAuditManager.EventType DELETION_EVENT_TYPE
NotifyingEventAuditManager
public NotifyingEventAuditManager()
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
persist
public void persist(WMSessionHandle shandle,
PropertiesEventAuditPersistenceObject pea)
throws EventAuditException
- Specified by:
persist
in interface EventAuditManagerInterface
- Throws:
EventAuditException
persist
public void persist(WMSessionHandle shandle,
DeleteProcessEventAuditPersistenceObject pea)
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
restore
public boolean restore(WMSessionHandle shandle,
PropertiesEventAuditPersistenceObject pea)
throws EventAuditException
- Specified by:
restore
in interface EventAuditManagerInterface
- Throws:
EventAuditException
restore
public boolean restore(WMSessionHandle shandle,
DeleteProcessEventAuditPersistenceObject pea)
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
delete
public void delete(WMSessionHandle shandle,
PropertiesEventAuditPersistenceObject pea)
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)
listProcessHistoryInfoWhere
public java.util.List listProcessHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String sqlWhere,
int startAt,
int limit,
boolean fillActivitiesInfo,
boolean fillActivitiyVariablesInfo,
boolean fillVariablesInfo)
throws EventAuditException
- Specified by:
listProcessHistoryInfoWhere
in interface EventAuditManagerInterface
- Throws:
EventAuditException
listActivityHistoryInfoWhere
public java.util.List listActivityHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String sqlWhere,
int startAt,
int limit,
boolean fillVariablesInfo)
throws EventAuditException
- Specified by:
listActivityHistoryInfoWhere
in interface EventAuditManagerInterface
- Throws:
EventAuditException
listProcessDefinitionHistoryInfoWhere
public java.util.List listProcessDefinitionHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String factoryName,
boolean countProcessInstances)
throws EventAuditException
- Specified by:
listProcessDefinitionHistoryInfoWhere
in interface EventAuditManagerInterface
- Throws:
EventAuditException