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.
Wrapper to treat a IWorkflowResponse as a ITaskExecutionResult.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • WorkflowResponseWrapper

      public WorkflowResponseWrapper(IWorkflowResponse wfResponse)
      Deprecated.
  • Method Details

    • getErrorMessage

      public String getErrorMessage()
      Deprecated.
      Specified by:
      getErrorMessage in interface IRemoteEventExecutionResult
      Returns:
      If the workflow execution was not successful: the error message. Empty string otherwise.
    • getFormDataAdapter

      public IFormDataAdapter getFormDataAdapter()
      Deprecated.
      Specified by:
      getFormDataAdapter in interface IRemoteEventExecutionResult
      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:
      getFormRecord in interface IRemoteEventExecutionResult
      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:
      getFrqSessionAttributesMapDiff in interface IRemoteEventExecutionResult
      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:
      getServletResponse in interface IRemoteEventExecutionResult
      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.
    • getSessionAttributesMapDiff

      public IMapDiff<String,Serializable> getSessionAttributesMapDiff()
      Deprecated.
      Specified by:
      getSessionAttributesMapDiff in interface IRemoteEventExecutionResult
      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:
      getStackTrace in interface IRemoteEventExecutionResult
      Returns:
      If the workflow execution was not successful: the error call stack. Empty array otherwise.
    • isWasFormRecordDeleted

      public boolean isWasFormRecordDeleted()
      Deprecated.
      Specified by:
      isWasFormRecordDeleted in interface IRemoteEventExecutionResult
      Returns:
      true when the form record was deleted by the workflow execution, i.e. when an action of type delete form record was executed.
    • isWasSuccessful

      public boolean isWasSuccessful()
      Deprecated.
      Specified by:
      isWasSuccessful in interface IRemoteEventExecutionResult
      Returns:
      Whether the workflow execution was successful.