Package de.xima.fc.workflow.model
Class WorkflowResponseWrapper
- java.lang.Object
-
- de.xima.fc.workflow.model.WorkflowResponseWrapper
-
- All Implemented Interfaces:
IRemoteEventExecutionResult,Serializable
@Deprecated public final class WorkflowResponseWrapper extends Object implements IRemoteEventExecutionResult
Deprecated.Remove once the old workflow is removedWrapper to treat aIWorkflowResponseas aITaskExecutionResult.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowResponseWrapper(IWorkflowResponse wfResponse)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetErrorMessage()Deprecated.IFormDataAdaptergetFormDataAdapter()Deprecated.VorganggetFormRecord()Deprecated.IMapDiff<Serializable,Serializable>getFrqSessionAttributesMapDiff()Deprecated.IServletResponsegetServletResponse()Deprecated.IMapDiff<String,Serializable>getSessionAttributesMapDiff()Deprecated.String[]getStackTrace()Deprecated.booleanisWasFormRecordDeleted()Deprecated.booleanisWasSuccessful()Deprecated.
-
-
-
Constructor Detail
-
WorkflowResponseWrapper
public WorkflowResponseWrapper(IWorkflowResponse wfResponse)
Deprecated.
-
-
Method Detail
-
getErrorMessage
public String getErrorMessage()
Deprecated.- Specified by:
getErrorMessagein interfaceIRemoteEventExecutionResult- Returns:
- If the workflow execution was not successful: the error message. Empty string otherwise.
-
getFormDataAdapter
public IFormDataAdapter getFormDataAdapter()
Deprecated.- Specified by:
getFormDataAdapterin interfaceIRemoteEventExecutionResult- Returns:
- The current form data of the form record. The form data may have changed by some workflow node or action.
-
getFormRecord
public Vorgang getFormRecord()
Deprecated.- Specified by:
getFormRecordin interfaceIRemoteEventExecutionResult- 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.
-
getFrqSessionAttributesMapDiff
public IMapDiff<Serializable,Serializable> getFrqSessionAttributesMapDiff()
Deprecated.- Specified by:
getFrqSessionAttributesMapDiffin interfaceIRemoteEventExecutionResult- Returns:
- Changes to FRQ session attributes requested during workflow execution by some workflow node or action. These should be applied to the current FRQ session, if any.
-
getServletResponse
public IServletResponse getServletResponse()
Deprecated.- Specified by:
getServletResponsein interfaceIRemoteEventExecutionResult- 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.
-
getSessionAttributesMapDiff
public IMapDiff<String,Serializable> getSessionAttributesMapDiff()
Deprecated.- Specified by:
getSessionAttributesMapDiffin interfaceIRemoteEventExecutionResult- 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.
-
getStackTrace
public String[] getStackTrace()
Deprecated.- Specified by:
getStackTracein interfaceIRemoteEventExecutionResult- Returns:
- If the workflow execution was not successful: the error call stack. Empty array otherwise.
-
isWasFormRecordDeleted
public boolean isWasFormRecordDeleted()
Deprecated.- Specified by:
isWasFormRecordDeletedin interfaceIRemoteEventExecutionResult- Returns:
truewhen the form record was deleted by the workflow execution, i.e. when an action of typedelete form recordwas executed.
-
isWasSuccessful
public boolean isWasSuccessful()
Deprecated.- Specified by:
isWasSuccessfulin interfaceIRemoteEventExecutionResult- Returns:
- Whether the workflow execution was successful.
-
-