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 TypeMethodDescriptionvoidaddCommentProtocolEntry(EAktionsResultat severity, String message) Adds a protocol entry of typeEProtocolEntryProcessType.COMMENTfor the node that is currently being executed.voidaddInfoProtocolEntry(EAktionsResultat severity, String message) Adds a protocol entry of typeEProtocolEntryProcessType.INFOfor the node that is currently being executed.voidaddUserLogMessageProtocolEntry(EAktionsResultat severity, String message) Adds a protocol entry of typeEProtocolEntryProcessType.USER_LOG_MESSAGEfor 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.COMMENTfor 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.INFOfor 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_MESSAGEfor the node that is currently being executed.- Parameters:
severity- Severity of the protocol entry.message- (Localized) message of the protocol entry.
-