Class Chatbot
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocallapp.wfm.ai.bl.chatbot.Chatbot
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Badgeable,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
Deprecated, for removal: This API element is subject to removal in a future version.
Component that is linked to Chatbot.js, it manages the ajax queries and the
responses.
- Since:
- 14.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.ui.Component
Component.Configurable, Component.ConfigurableAttribute, Component.ConfigurableAttributes, Component.FilterCriteria, Component.Registry -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final LogChannelDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected static final StringDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class overit.geocall.basic.ui.Container
_rofields, _rules, DALINK_NO, DALINK_YES, DATE_MAX, DATE_MIN, TIME_MAX, TIME_MIN, TYPE_ACTION, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_DTZ, TYPE_EURO, TYPE_FILE, TYPE_FILES, TYPE_INTEGER, TYPE_LONG, TYPE_LONGARRAY, TYPE_MAP, TYPE_MAXDATE, TYPE_MAXTIME, TYPE_MEASURE, TYPE_MINDATE, TYPE_MINTIME, TYPE_NEWACTION, TYPE_STRING, TYPE_STRINGARRAY, TYPE_SUBSET, TYPE_SUBSETRANGE, TYPE_SUPPORT, TYPE_TIMERANGEFields inherited from class overit.geocall.ui.Control
_blank, _cleaner, _dblink, _enabled, _ro, _title, altEventIconsList, altIcon, ariaDescription, ariaLabel, badge, badgeformat, FILTER_PREFIXES, LABEL_ATTRIBUTE, LABEL_IN_LINE_ATTRIBUTE, STATE_BLANK, STATE_NORMAL, STATE_RO, STATE_ROBLANKFields inherited from class overit.geocall.ui.Component
_basic, _childrenContainers, _currentId, _gridalign, _gridcols, _gridrows, _gridvalign, _iconElement, _id, _keylabel, _label, _layoutName, _name, _parentContainer, _registryName, _shortcut, _tabindex, _transformations, _valuesContainer, aliasField, BR, configHidden, configuredLabel, configuredLabelInLine, defaultHidden, ELEMENT_BR, ELEMENT_NULL, entityContainer, entityName, extendedField, fullHeight, important, labelInLine, layoutLabel, PIXEL_IMG, safeInlineService -
Constructor Summary
ConstructorsConstructorDescriptionChatbot()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidajaxQuery(HttpServletRequest request, HttpServletResponse response) Deprecated, for removal: This API element is subject to removal in a future version.Method that must be extended to implements the Ajax interaction request / response logic for the Componentprotected AWSRequestHeadersbuildHeaders(org.json.JSONObject requestAttributes) Deprecated, for removal: This API element is subject to removal in a future version.Method that builds all the headers for AI Api calls.buildMenuItem(org.json.JSONArray items) Deprecated, for removal: This API element is subject to removal in a future version.Method that builds Javascript response for menu items objects.protected StringbuildPaths(String metadataTags) Deprecated, for removal: This API element is subject to removal in a future version.Method that build a json object with key items and all the paths (_param) that corresponds to the given metadataTagsMethods inherited from class overit.geocall.basic.ui.Container
alert, applyRule, getBASIC, getBLANK, getHtml, getRO, getROField, onClose, onOpen, onOpenChildContainer, onRestore, onRule, prepareName, rulesNewValues, setROField, setValues, setValuesMethods inherited from class overit.geocall.ui.Control
avoidNull, clean, getBadgeFormat, getBadgeValue, getCleaner, getConfigurableProperties, getDAValues, getDBLINK, getKEYLABEL, getLABEL, getState, getTITLE, getValues, getWM, isEnabled, isEnabledBasedOnFunction, isFunctionEnabled, isImportant, isRoBasedOnFunction, nameWithNoFilterPrefix, setALTEVENTICON, setALTICON, setARIADESCRIPTION, setARIALABEL, setBADGEFORMAT, setBADGEVALUE, setBLANK, setCLEANER, setConfiguredProperty, setDBLINK, setENABLED, setFUNCTION, setModelProperties, setRO, setTitle, setTITLEMethods inherited from class overit.geocall.ui.Component
adapt, appendAttribute, buildDisplayScript, buildSetupScript, calcKeyLabel, calcLabel, calcShortcut, canBeConfigured, changed, clearConfiguredProperties, componentIterator, componentSize, connect, containerIterator, createAjaxFrame, deprecate, fillSetupScript, generateFlexableFullHeightContainer, generateId, getBoolean, getBoolean, getChildrenComponents, getChildrenContainers, getDefaultLabel, getDefaultLayoutLabel, getEntityContainer, getEntityName, getFullHeight, getGridAlign, getGridCols, getGridRows, getGridVAlign, getHtmlLabel, getHtmlLabel, getIcon, getId, getIdentity, getint, getLayoutLabel, getLayoutName, getNAME, getParentComponent, getParentContainer, getPublishedChildrenList, getRegistryName, getSHORTCUT, getTabIndex, getTeacher, getValuesContainer, getWindow, initChilds, isActivable, isActive, isAliasField, isConfigHidden, isDefaultHidden, isExtendedField, isLabelInLine, onInit, setActivable, setActive, setAliasField, setBASIC, setConfigHidden, setDEFAULTHIDDEN, setEntityName, setExtendedField, setFULLHEIGHT, setGRIDALIGN, setGRIDCOLS, setGRIDROWS, setGRIDVALIGN, setICON, setIdentity, setIMPORTANT, setLabel, setLABEL, setLABELINLINE, setLAYOUTLABEL, setLAYOUTNAME, setNAME, setREGISTRYNAME, setTooltip, setup, setValuesContainer, stringForJs, tabIndexerMethods inherited from class overit.geocall.platform.ui.UINode
addChild, addChildText, getChildren, getNodeId, getParent, getRoot, getSchema, setNodeId, setParent, setSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.ui.Badgeable
badgeFormat, makeBadgedIcon
-
Field Details
-
LOG
Deprecated, for removal: This API element is subject to removal in a future version. -
MESSAGE_KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
DEFAULT_DEVICE_TYPE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
DEFAULT_VALUE_APPNAME
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
language
Deprecated, for removal: This API element is subject to removal in a future version. -
MULTIPLE_ITEMS_DEFAULT_PHRASE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
SINGLE_ITEM_DEFAULT_PHRASE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
DEFAULT_NO_ITEMS_PHRASE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
DEFAULT_MORE_LINKS_PHRASE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
DEFAULT_CONF_ERROR_PHRASE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
DEFAULT_CONF_ERROR_PHRASE_2
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
Chatbot
public Chatbot()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
ajaxQuery
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ComponentMethod that must be extended to implements the Ajax interaction request / response logic for the Component- Overrides:
ajaxQueryin classComponent- Parameters:
request-HttpServletRequestresponse-HttpServletResponse
-
buildMenuItem
Deprecated, for removal: This API element is subject to removal in a future version.Method that builds Javascript response for menu items objects.- Parameters:
items- array with strings that correspond to node paths(param in menu.xml)- Returns:
- a JSONObject as string with paths and related events.
-
buildHeaders
Deprecated, for removal: This API element is subject to removal in a future version.Method that builds all the headers for AI Api calls.- Parameters:
requestAttributes- requestAttributes in json format- Returns:
- AWSRequestHeaders with headers
- Throws:
IOException
-
buildPaths
Deprecated, for removal: This API element is subject to removal in a future version.Method that build a json object with key items and all the paths (_param) that corresponds to the given metadataTags- Parameters:
metadataTags- metadata given from the va- Returns:
- items, i.e paths
-