Class FetchWebFormPersistRequest

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

public final class FetchWebFormPersistRequest extends Object
Requests the current web form persist file from the form designer.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • FetchWebFormPersistRequest

      public FetchWebFormPersistRequest(String sourceTabId, boolean includePreviewImage)
      Creates a new POJO request data object with the given data.
      Parameters:
      sourceTabId - Value returned by IDesignerConversationRequest.getSourceTabId()
      includePreviewImage - Whether the returned persist JSON should include a preview image of the form. Note that generated the image may take a bit of time.
    • FetchWebFormPersistRequest

      public FetchWebFormPersistRequest(EContentView contentView, boolean includePreviewImage)
      Creates a new POJO request data object with the given data.
      Parameters:
      contentView - Tab from which the event originates.
      includePreviewImage - Whether the returned persist JSON should include a preview image of the form. Note that generated the image may take a bit of time.
  • Method Details

    • getResponseType

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

      public boolean isIncludePreviewImage()
      Returns:
      Whether the returned persist JSON should include a preview image of the form. Note that generated the image may take a bit of time.
    • 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.