Interface IWorkflowLoggingHandler
public interface IWorkflowLoggingHandler
Handler with utility methods for creating protocol entries when a node is executed. You can also create and persist
AProtocolEntry
entities manually, but if possible, prefer to use these methods and they set the appropriate
defaults for the protocol entries.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommentProtocolEntry
(EAktionsResultat severity, String message) Adds a protocol entry of typeEProtocolEntryProcessType.COMMENT
for the node that is currently being executed.void
addInfoProtocolEntry
(EAktionsResultat severity, String message) Adds a protocol entry of typeEProtocolEntryProcessType.INFO
for the node that is currently being executed.void
addUserLogMessageProtocolEntry
(EAktionsResultat severity, String message) Adds a protocol entry of typeEProtocolEntryProcessType.USER_LOG_MESSAGE
for the node that is currently being executed.getLogEntriesByFormRecord
(Vorgang formRecord) Retrieves all the currently available log entries based on the given form record.
-
Method Details
-
addCommentProtocolEntry
Adds a protocol entry of typeEProtocolEntryProcessType.COMMENT
for the node that is currently being executed.- Parameters:
severity
- Severity of the protocol entry.message
- (Localized) message of the protocol entry.
-
addInfoProtocolEntry
Adds a protocol entry of typeEProtocolEntryProcessType.INFO
for the node that is currently being executed.- Parameters:
severity
- Severity of the protocol entry.message
- (Localized) message of the protocol entry.
-
getLogEntriesByFormRecord
Retrieves all the currently available log entries based on the given form record.- Parameters:
formRecord
- the form record.- Returns:
- the log entries.
-
addUserLogMessageProtocolEntry
Adds a protocol entry of typeEProtocolEntryProcessType.USER_LOG_MESSAGE
for the node that is currently being executed.- Parameters:
severity
- Severity of the protocol entry.message
- (Localized) message of the protocol entry.
-