Class FcPromptQueryProps
java.lang.Object
de.xima.fc.workflow.taglib.model.BaseActionProps
de.xima.fc.workflow.model.nodes.FcPromptQueryProps
- All Implemented Interfaces:
IDescriptionProviding, INameProviding, IPromptQueryParametersProviding, IPromptQueryProviding, IPromptQueryWithParameters, Serializable
@FcPromptQueryParameters
public class FcPromptQueryProps
extends BaseActionProps
implements IPromptQueryWithParameters, Serializable
Model class for the database statement action (
EWorkflowNodeType.FC_PROMPT_QUERY).- Since:
- 8.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class BaseActionProps
BaseActionProps.name -
Field Summary
Fields inherited from interface IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface INameProviding
ATTR_NAME, COL_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the configured JSON parameters for the prompt query.Gets the configured multi file parameters for the prompt query, indexed by their ID.Details regarding the produces files.Gets the referenced prompt query.Gets the configured single file parameters for the prompt query, indexed by their ID.voidsetJsonParameters(Object jsonParameters) Sets the configured parameters for the prompt query.voidsetMultiFileParameters(Map<String, MultiFile> multiFileParameters) Sets the configured multi file parameters for the prompt query, indexed by their ID.voidsetOutputFileProvision(FileProvision outputFileProvision) Sets the file provision details.voidsetPromptQuery(ObjectReference promptQuery) Sets the prompt query to execute.voidsetSingleFileParameters(Map<String, SingleFile> singleFileParameters) Sets the configured single file parameters for the prompt query, indexed by their ID.Methods inherited from class BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
Constructor Details
-
FcPromptQueryProps
public FcPromptQueryProps()
-
-
Method Details
-
getJsonParameters
Description copied from interface:IPromptQueryParametersProvidingGets the configured JSON parameters for the prompt query. These parameters will be passed on to the prompt query upon execution.- Specified by:
getJsonParametersin interfaceIPromptQueryParametersProviding- Returns:
- The configured single parameters for the prompt query.
-
setJsonParameters
Sets the configured parameters for the prompt query. These parameters will be passed on to the prompt query upon execution.- Parameters:
jsonParameters- The configured single parameters for the prompt query.
-
getMultiFileParameters
Description copied from interface:IPromptQueryParametersProvidingGets the configured multi file parameters for the prompt query, indexed by their ID. These parameters will be passed on to the prompt query upon execution. Note that while this model class maintains a separate map for single and multi file parameters, the keys must be mutually exclusive across both maps.- Specified by:
getMultiFileParametersin interfaceIPromptQueryParametersProviding- Returns:
- The configured multi file parameters for the prompt query.
-
setMultiFileParameters
Sets the configured multi file parameters for the prompt query, indexed by their ID. These parameters will be passed on to the prompt query upon execution. Note that while this model class maintains a separate map for single and multi file parameters, the keys must be mutually exclusive across all maps.- Parameters:
multiFileParameters- The configured multi file parameters for the prompt query.
-
getOutputFileProvision
Details regarding the produces files. Applicable only if the prompt query produces files.- Returns:
- The file provision details.
-
setOutputFileProvision
Sets the file provision details. Applicable only if the prompt query produces files.- Parameters:
outputFileProvision- The file provision details.
-
getPromptQuery
Description copied from interface:IPromptQueryProvidingGets the referenced prompt query. This field is required. TheObjectReference.getId()is the string representation ofContextualPromptObjectReference.- Specified by:
getPromptQueryin interfaceIPromptQueryProviding- Returns:
- The prompt query to execute.
-
setPromptQuery
Sets the prompt query to execute. This field is required.- Parameters:
promptQuery- The prompt query to execute.
-
getSingleFileParameters
Description copied from interface:IPromptQueryParametersProvidingGets the configured single file parameters for the prompt query, indexed by their ID. These parameters will be passed on to the prompt query upon execution. Note that while this model class maintains a separate map for single and multi file parameters, the keys must be mutually exclusive across both maps.- Specified by:
getSingleFileParametersin interfaceIPromptQueryParametersProviding- Returns:
- The configured single file parameters for the prompt query.
-
setSingleFileParameters
Sets the configured single file parameters for the prompt query, indexed by their ID. These parameters will be passed on to the prompt query upon execution. Note that while this model class maintains a separate map for single and multi file parameters, the keys must be mutually exclusive across all maps.- Parameters:
singleFileParameters- The configured single file parameters for the prompt query.
-