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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoadWebFormPersistJsonRequest(EContentView contentView, String fileName, com.alibaba.fastjson.JSONObject persistJson)
Creates a new POJO with the given data.LoadWebFormPersistJsonRequest(String sourceTabId, String fileName, com.alibaba.fastjson.JSONObject persistJson)
Creates a new POJO with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFileName()
com.alibaba.fastjson.JSONObject
getPersistJson()
Class<? extends Serializable>
getResponseType()
String
getSourceTabId()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.gui.bean.designer.request.IDesignerConversationRequest
getSourceTabView
-
-
-
-
Constructor Detail
-
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 bygetFileName()
.persistJson
- Value returned bygetPersistJson()
.
-
LoadWebFormPersistJsonRequest
public LoadWebFormPersistJsonRequest(String sourceTabId, String fileName, com.alibaba.fastjson.JSONObject persistJson)
Creates a new POJO with the given data.- Parameters:
sourceTabId
- Value returned byIDesignerConversationRequest.getSourceTabId()
.fileName
- Value returned bygetFileName()
.persistJson
- Value returned bygetPersistJson()
.
-
-
Method Detail
-
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 interfaceIDesignerConversationRequest<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.
-
-