Interface IRemoteEventExecutionResult
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
RemoteEventExecutionResult,WorkflowResponseWrapper
public interface IRemoteEventExecutionResult extends Serializable
Similar to theIEventExecutionResult, but with slightly different info so that it can be sent to the frontend server.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetErrorMessage()IFormDataAdaptergetFormDataAdapter()VorganggetFormRecord()IServletResponsegetServletResponse()IMapDiff<String,Serializable>getSessionAttributesMapDiff()String[]getStackTrace()booleanisWasFormRecordDeleted()booleanisWasSuccessful()
-
-
-
Method Detail
-
isWasSuccessful
boolean isWasSuccessful()
- Returns:
- Whether the workflow execution was successful.
-
getErrorMessage
String getErrorMessage()
- Returns:
- If the workflow execution was not successful: the error message. Empty string otherwise.
-
getStackTrace
String[] getStackTrace()
- Returns:
- If the workflow execution was not successful: the error call stack. Empty array otherwise.
-
getServletResponse
IServletResponse getServletResponse()
- Returns:
- The servlet response set by the workflow execution, i.e. the response to the HTTP request, if any.
nullif no response was set explicitly. This response, if set, should be returned.
-
getFormRecord
Vorgang getFormRecord()
- Returns:
- The updated form record. The workflow execution may change the data of the form record, so this might be a different instance with different data than the form record passed in to the workflow executor.
-
isWasFormRecordDeleted
boolean isWasFormRecordDeleted()
- Returns:
truewhen the form record was deleted by the workflow execution, i.e. when an action of typedelete form recordwas executed.
-
getSessionAttributesMapDiff
IMapDiff<String,Serializable> getSessionAttributesMapDiff()
- Returns:
- Changes to HTTP session attributes requested during workflow execution by some workflow node or action. These should be applied to the current HTTP session.
-
getFormDataAdapter
IFormDataAdapter getFormDataAdapter()
- Returns:
- The current form data of the form record. The form data may have changed by some workflow node or action.
-
-