Interface IWorkflowLoggingHandler
-
public interface IWorkflowLoggingHandlerHandler with utility methods for creating protocol entries when a node is executed. You can also create and persistAProtocolEntryentities 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddCommentProtocolEntry(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.List<ProtocolEntryProcessing>getLogEntriesByFormRecord(Vorgang formRecord)Retrieves all the currently available log entries based on the given form record.
-
-
-
Method Detail
-
addCommentProtocolEntry
void addCommentProtocolEntry(EAktionsResultat severity, String message)
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
void addInfoProtocolEntry(EAktionsResultat severity, String message)
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
List<ProtocolEntryProcessing> getLogEntriesByFormRecord(Vorgang formRecord)
Retrieves all the currently available log entries based on the given form record.- Parameters:
formRecord- the form record.- Returns:
- the log entries.
-
addUserLogMessageProtocolEntry
void addUserLogMessageProtocolEntry(EAktionsResultat severity, String message)
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.
-
-