Class PromptQueryActionHelper

java.lang.Object
de.xima.fc.workflow.designer.logic.prompt_query.PromptQueryActionHelper
All Implemented Interfaces:
Serializable

@ApplicationScoped public class PromptQueryActionHelper extends Object implements Serializable
Helper for the prompt query workflow action with logic required for the UI.
Since:
8.5.0
See Also:
  • Method Details

    • buildPromptQueryActionViewModel

      public PromptQueryActionViewModel buildPromptQueryActionViewModel(FcPromptQueryProps props, Locale locale, long clientId, long projectId)
      Builds the view model for the given prompt query properties, including the dynamic form model for editing the JSON properties; and the model for editing the file properties.
      Parameters:
      props - The properties of the prompt query action
      locale - The locale to use for localizing labels and descriptions.
      clientId - The ID of the client owning the project.
      projectId - The ID of the project containing the workflow.
      Returns:
      The view model for the prompt query action.