org.enhydra.shark.eventaudit
Class SMTPEventAuditManager
java.lang.Object
org.enhydra.shark.eventaudit.SMTPEventAuditManager
- All Implemented Interfaces:
- EventAuditManagerInterface
public class SMTPEventAuditManager
- extends java.lang.Object
- implements EventAuditManagerInterface
This persistent manager send an email to every person that has to accept a new task
DODSPersistentManager is the default persistent manager of Enhydra-Shark.
In addition to original functionality (coded against beta 2 by Mathias), there is now
new configuration procedure, and separation from other components - persistence manager
and tool agents.
- Since:
- 9. August 2004
- Version:
- 1.1
- Author:
- Mathias Holst
Method Summary |
void |
configure(CallbackUtilities cut)
|
void |
delete(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject assea)
|
void |
delete(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
|
void |
delete(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
|
void |
delete(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
|
void |
persist(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject assea)
Description of the Method |
void |
persist(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
|
void |
persist(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
|
void |
persist(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
|
boolean |
restore(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject assea)
|
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 |
_PARAM_PASSWD
protected static final java.lang.String _PARAM_PASSWD
- See Also:
- Constant Field Values
SMTPEventAuditManager
public SMTPEventAuditManager()
configure
public void configure(CallbackUtilities cut)
throws java.lang.Exception
- Specified by:
configure
in interface EventAuditManagerInterface
- Throws:
java.lang.Exception
persist
public void persist(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject assea)
throws EventAuditException
- Description of the Method
- Specified by:
persist
in interface EventAuditManagerInterface
- Parameters:
assea
- Description of the Parametershandle
-
- Throws:
PersistenceException
- Description of the Exception
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,
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
restore
public boolean restore(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject assea)
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,
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
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 assea)
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,
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