Package lumis.doui.control.button
Class GenerateContentUsingAIButtonControl<Control>
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<Source<?>>
-
- lumis.doui.control.button.ButtonControl
-
- lumis.doui.control.button.GenerateContentUsingAIButtonControl<Control>
-
- All Implemented Interfaces:
javax.servlet.jsp.el.VariableResolver
,IControl
public class GenerateContentUsingAIButtonControl<Control> extends ButtonControl
Represents a button control that triggers AI-driven content generation. This control is responsible for rendering the necessary configurations to invoke an AI service for content generation based on runtime settings and the associated service instance. Example usage in XML:http://example.com/ai-service 8A488A0F14A741560114A74CDE8501E0 myForm - Since:
- 17.1.0
-
-
Field Summary
-
Fields inherited from class lumis.doui.control.Control
childControls, controlContainer, controlDefinitionNode, controlResource, douiContext, hasValidatorSubControls, isValid, locale, ON_EVENT_CLOSE_WINDOW, ON_EVENT_LINK, ON_EVENT_POPUP_LINK_OR_RUNTIME_INTERFACE, ON_EVENT_POPUP_RUNTIME_INTERFACE, ON_EVENT_PROCESS_ACTION, ON_EVENT_RENDER_ACTION, ON_EVENT_REPLACE_INTERFACE, ON_EVENT_SCRIPT, ON_EVENT_VALIDATE, onEventScripts, PARAMETER_TYPE_FIRST_SELECTED, PARAMETER_TYPE_GET_VALUE, parentControl, resources, type, VALIDATION_SELECTED_MANY, VALIDATION_SELECTED_ONE
-
-
Constructor Summary
Constructors Constructor Description GenerateContentUsingAIButtonControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IResource
getControlResource()
void
setRenderData()
-
Methods inherited from class lumis.doui.control.button.ButtonControl
getAssociatedTabularDataControl, getDefaultPopupPageId, getScriptGetButtonText, getScriptSetButtonImageAlt, getScriptSetButtonText, getText, setText
-
Methods inherited from class lumis.doui.control.SourceBoundControl
getRuntimeDefaultSource, getSource, getSourceContext
-
Methods inherited from class lumis.doui.control.Control
appendSubControl, appendSubControls, applyOnEventScripts, buildSubControls, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getId, getLocale, getName, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getResources, getScriptActionValidation, getStringsToLocalize, getType, getValidationScript, getWindowProperties, getWindowProperties, init, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes, setValid
-
-
-
-
Method Detail
-
setRenderData
public void setRenderData() throws PortalException
- Specified by:
setRenderData
in interfaceIControl
- Overrides:
setRenderData
in classButtonControl
- Throws:
PortalException
-
getControlResource
public IResource getControlResource() throws PortalException
- Specified by:
getControlResource
in interfaceIControl
- Overrides:
getControlResource
in classButtonControl
- Throws:
PortalException
-
-