Class VLookupBuilder
- Object
-
- AbstractInputBuilder<VLookupBuilder,Object>
-
- VLookupBuilder
-
public class VLookupBuilder extends AbstractInputBuilder<VLookupBuilder,Object>
Builder class for input type LookupInputType.LOOKUP
.
-
-
Field Summary
-
Fields inherited from class AbstractInputBuilder
builderContext, cp
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VLookupBuilder(InputBuilderContext builderContext, String paramName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
_getInput()
VLookupBuilder
setAttributeName(String attributeName)
Set new attribute for the VLookupBuilder instance.VLookupBuilder
setAttributeNames(List<String> attributeNames)
Set new list of the attributes for the VLookupBuilder instance.VLookupBuilder
setKeys(Map keys)
Set Map of keys for the VLookupBuilder instance.-
Methods inherited from class AbstractInputBuilder
addOrUpdateInput, addToConfiguratorEntry, addToConfiguratorEntry, buildContextParameter, buildMap, getInput, setAccessCode, setAlign, setAlwaysEditable, setAppearance, setAutoComplete, setAutoFocus, setCaption, setConfigValues, setCustomAttributeName, setCustomAttributeValue, setDisabled, setDisplayMode, setErrorMessage, setExportable, setFlex, setHelpLink, setHelpText, setIcon, setIconPosition, setImportable, setLabel, setLabelPlacement, setLabelStyle, setLabelTranslations, setLayoutGridName, setNoRefresh, setParameterGroup, setPlaceholderText, setReadOnly, setRequired, setSize, setSuccessMessage, setTheme, setTitle, setUserGroupEdit, setUserGroupView, setValue, setValueHint, setWarningMessage
-
-
-
-
Constructor Detail
-
VLookupBuilder
protected VLookupBuilder(InputBuilderContext builderContext, String paramName)
-
-
Method Detail
-
setAttributeName
public VLookupBuilder setAttributeName(String attributeName)
Set new attribute for the VLookupBuilder instance.Example:
api.inputBuilderFactory() .createVLookup("lookup") .setAttributeName("myFavoriteLookup") .setKeys([KEY1: "key1", KEY2: "key2"]) .buildContextParameter()
- Parameters:
attributeName
- name of the attribute, as a String- Returns:
- self
-
setAttributeNames
public VLookupBuilder setAttributeNames(List<String> attributeNames)
Set new list of the attributes for the VLookupBuilder instance.Example:
api.inputBuilderFactory() .createVLookup("lookup") .setAttributeNames(["name1", "name2"]) .setKeys([KEY1: "key1", KEY2: "key2"]) .buildContextParameter()
- Parameters:
attributeNames
- names of the attributes, as a List- Returns:
- self
-
setKeys
public VLookupBuilder setKeys(Map keys)
Set Map of keys for the VLookupBuilder instance.Example:
api.inputBuilderFactory() .createVLookup("lookup") .setAttributeNames(["name1", "name2"]) .setKeys([KEY1: "key1", KEY2: "key2"]) .buildContextParameter()
- Parameters:
keys
- keys to be set, as a Map- Returns:
- self
-
_getInput
protected Object _getInput()
- Specified by:
_getInput
in classAbstractInputBuilder<VLookupBuilder,Object>
-
-