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 String
getErrorMessage()
IFormDataAdapter
getFormDataAdapter()
Vorgang
getFormRecord()
IServletResponse
getServletResponse()
IMapDiff<String,Serializable>
getSessionAttributesMapDiff()
String[]
getStackTrace()
boolean
isWasFormRecordDeleted()
boolean
isWasSuccessful()
-
-
-
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.
null
if 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:
true
when the form record was deleted by the workflow execution, i.e. when an action of typedelete form record
was 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.
-
-