Class LoadWebFormPersistJsonRequest

java.lang.Object
de.xima.fc.gui.bean.designer.request.LoadWebFormPersistJsonRequest
All Implemented Interfaces:
IDesignerConversationRequest<Serializable>, ICrossViewScopeRequest<Serializable>, Serializable

public final class LoadWebFormPersistJsonRequest extends Object
Requests a form persist JSON to get loaded in the workflow designer.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • LoadWebFormPersistJsonRequest

      public LoadWebFormPersistJsonRequest(EContentView contentView, String fileName, com.alibaba.fastjson.JSONObject persistJson)
      Creates a new POJO with the given data.
      Parameters:
      contentView - Content view of the source that initiated the request.
      fileName - Value returned by getFileName().
      persistJson - Value returned by getPersistJson().
    • LoadWebFormPersistJsonRequest

      public LoadWebFormPersistJsonRequest(String sourceTabId, String fileName, com.alibaba.fastjson.JSONObject persistJson)
      Creates a new POJO with the given data.
      Parameters:
      sourceTabId - Value returned by IDesignerConversationRequest.getSourceTabId().
      fileName - Value returned by getFileName().
      persistJson - Value returned by getPersistJson().
  • Method Details

    • getFileName

      public String getFileName()
      Returns:
      The file name of the persist JSON file.
    • getPersistJson

      public com.alibaba.fastjson.JSONObject getPersistJson()
      Returns:
      Persist JSON that should get loaded.
    • getResponseType

      public Class<? extends Serializable> getResponseType()
      Returns:
      Type of the requested data.
    • getSourceTabId

      public String getSourceTabId()
      Specified by:
      getSourceTabId in interface IDesignerConversationRequest<T extends Serializable>
      Returns:
      ID of the tab (see TabModel.getId()) that issued the event. Empty string if the event was issued by the designer parent frame.