Package de.xima.fc.workflow.model.nodes
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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
BaseActionProps.name
-
-
Field Summary
-
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
-
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
-
Constructor Summary
Constructors Constructor Description FcPromptQueryProps()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetJsonParameters()Gets the configured JSON parameters for the prompt query.Map<String,MultiFile>getMultiFileParameters()Gets the configured multi file parameters for the prompt query, indexed by their ID.FileProvisiongetOutputFileProvision()Details regarding the produces files.ObjectReferencegetPromptQuery()Gets the referenced prompt query.Map<String,SingleFile>getSingleFileParameters()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 de.xima.fc.workflow.taglib.model.BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
-
-
-
Method Detail
-
getJsonParameters
public Object 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
public void setJsonParameters(Object jsonParameters)
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
public Map<String,MultiFile> 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
public void setMultiFileParameters(Map<String,MultiFile> multiFileParameters)
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
public FileProvision getOutputFileProvision()
Details regarding the produces files. Applicable only if the prompt query produces files.- Returns:
- The file provision details.
-
setOutputFileProvision
public void setOutputFileProvision(FileProvision outputFileProvision)
Sets the file provision details. Applicable only if the prompt query produces files.- Parameters:
outputFileProvision- The file provision details.
-
getPromptQuery
public ObjectReference 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
public void setPromptQuery(ObjectReference promptQuery)
Sets the prompt query to execute. This field is required.- Parameters:
promptQuery- The prompt query to execute.
-
getSingleFileParameters
public Map<String,SingleFile> 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
public void setSingleFileParameters(Map<String,SingleFile> singleFileParameters)
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.
-
-