Class MailAuditMessage
java.lang.Object
com.aquima.interactions.foundation.logging.audit.impl.AuditMessage
com.aquima.interactions.foundation.logging.audit.impl.MailAuditMessage
- All Implemented Interfaces:
IAuditMessage
,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aquima.interactions.foundation.logging.audit.impl.AuditMessage
AuditMessage.EventType
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic IAuditMessage
forSendMail
(DcmAuditProperties dcmAuditProperties, String sourceType, String sourceId, String connectionName, String mailName) This method returns a new MailAuditMessage when the AQ_MailService service is called.Methods inherited from class com.aquima.interactions.foundation.logging.audit.impl.AuditMessage
addContext, getCaseId, getContext, getEventType, getProcessName, getSourceId, getSourceType, getTaskId, getTaskName, setCaseId, setContext, setEventType, setProcessName, setSourceId, setSourceType, setTaskId, setTaskName
-
Field Details
-
PROPERTY_CONNECTION_NAME
- See Also:
-
PROPERTY_MAIL_NAME
- See Also:
-
-
Method Details
-
forSendMail
public static IAuditMessage forSendMail(DcmAuditProperties dcmAuditProperties, String sourceType, String sourceId, String connectionName, String mailName) This method returns a new MailAuditMessage when the AQ_MailService service is called.- Parameters:
dcmAuditProperties
- Dcm Audit properties which contains caseid, taskid, taskname and processname.sourceType
- SourceType, e.g. AQ_MailService.sourceId
- SourceId. e.g. sendMail.connectionName
- Name of the used connection.mailName
- Name of the used mail asset.- Returns:
- DocumentAuditMessage object which contains all the information for audit logging.
-