Uses of Class
net.pricefx.server.dto.calculation.ContextParameter
Packages that use ContextParameter
Package
Description
The Forms 2.0 API for building dynamic forms from a Form logic.
Root package of the public Groovy API available to Pricefx logics.
Builders for logic inputs (user entries and context parameters).
The objects a calculation logic returns to format, display or configure its results.
-
Uses of ContextParameter in net.pricefx.formulaengine.forms
Methods in net.pricefx.formulaengine.forms that return ContextParameterModifier and TypeMethodDescriptionFormLayout.addChild(ContextParameter input) Attaches a built input directly to this layout, without wrapping it in a row, container or modal.Methods in net.pricefx.formulaengine.forms with parameters of type ContextParameterModifier and TypeMethodDescriptionFormContainer.addChild(ContextParameter child) Attaches a built input directly to this container.FormLayout.addChild(ContextParameter input) Attaches a built input directly to this layout, without wrapping it in a row, container or modal.FormLayoutNode.addChild(ContextParameter child) Attaches a built input directly to this node, without wrapping it in a further row, container or modal.FormModal.addChild(ContextParameter child) Attaches a built input directly to this modal.FormRow.addChild(ContextParameter child) Attaches a built input directly to this row.FormActionApi.insertAfter(String inputName, ContextParameter... inputsToAdd) Inserts one or more new input definitions after the specified existing input.Method parameters in net.pricefx.formulaengine.forms with type arguments of type ContextParameter -
Uses of ContextParameter in net.pricefx.formulaengine.scripting
Methods in net.pricefx.formulaengine.scripting that return ContextParameterModifier and TypeMethodDescriptionPublicGroovyAPI.getParameter(String parameterName) Retrieves an already generated (in the previous logic code) input parameter in the form of aContextParameterobject. -
Uses of ContextParameter in net.pricefx.formulaengine.scripting.inputbuilder
Fields in net.pricefx.formulaengine.scripting.inputbuilder declared as ContextParameterMethods in net.pricefx.formulaengine.scripting.inputbuilder that return ContextParameterModifier and TypeMethodDescriptionAbstractInputBuilder.addToFormLayout(FormLayoutNode layout) Builds the input field definition and adds it to the specified form layout.AbstractInputBuilder.buildContextParameter()Builds and returns the input field definition object.AbstractInputBuilder.buildFormInput()Builds the input field definition the same way asAbstractInputBuilder.getInput()and returns the resultingContextParameterobject.static ContextParameterDmFilter.createDmFilterContextParameter(String paramName) static ContextParameterVLookupBuilder.createVLookupContextParameter(PersistedObjectService objectService, Date targetDate, String name) static ContextParameterVLookupBuilder.createVLookupContextParameterWithSimulation(InputBuilderContext builderContext, PersistedObjectService objectService, String name) Methods in net.pricefx.formulaengine.scripting.inputbuilder that return types with arguments of type ContextParameterModifier and TypeMethodDescriptionstatic List<ContextParameter> TreeInputBuilder.Mapper.toContextParameters(Collection<?> collection) Methods in net.pricefx.formulaengine.scripting.inputbuilder with parameters of type ContextParameterModifier and TypeMethodDescriptionCollapseInputBuilder.addInput(ContextParameter contextParameter) Add parameter to the ContextParameters list.RowInputBuilder.addInput(ContextParameter contextParameter) Adds a new input for InputBuilder. -
Uses of ContextParameter in net.pricefx.server.dto.calculation
Methods in net.pricefx.server.dto.calculation that return ContextParameterModifier and TypeMethodDescriptionChanges the input type of this input.ContextParameter.copyWithoutValue()Not intended for public use.ConfiguratorEntry.createParameter(InputType type, String name) Creates a parameter and adds it to the list of inputs.ConfiguratorEntry.createParameter(InputType type, String name, Date targetDate) Creates a parameter and adds it to the list of inputs.ConfiguratorEntry.getFirstInput()Gets the first context parameter.ConfiguratorEntry.getInputByName(String name) GetContextParameterby provided nameContextParameter.setAddUnknownValues(Boolean addUnknownValues) Sets whether the user can add values that are not among the options of anOPTIONSinput.ContextParameter.setAlwaysEditable(Boolean alwaysEditable) Sets the input field as always editable.ContextParameter.setConfigParameter(String paramName, Object value) Adds an additional configuration parameter/option to the input – aparameterConfigproperty.Sets the filter of this input, as a map.ContextParameter.setFilters(Filter... filters) Sets the filter of this input from one or moreFilterobjects.ContextParameter.setFormattingOption(String optionName, Object value) Sets (adds or updates) a formatting option (how the input field is displayed) within the formattingOptions map.Sets the label of the input parameter to the given text.ContextParameter.setLabelTranslations(String labelTranslations) Sets the translations of the label as a JSON string.ContextParameter.setLabelTranslationsFromMap(Map<String, String> translations) Sets the translations of the label.ContextParameter.setLogActivity(Boolean logActivity) Sets whether the changes of this input are recorded in the activity log of the document.ContextParameter.setParameterConfig(Map<String, Object> parameterConfig) Sets the behavior of the input field.ContextParameter.setParameterGroup(String parameterGroup) Allows you to create collapsible sections that organize inputs in the UI.ContextParameter.setReadOnly(Boolean readOnly) Sets the input field as read-only.ContextParameter.setRequired(Boolean required) Sets, if it's mandatory for the input parameter to have a value.ContextParameter.setStoreAuditTrail(Boolean storeAuditTrail) Sets whether the logged changes of this input are kept as an audit trail.ConfiguratorEntry.setTrackedValue(String name, Object value) Sets theContextParametervalue, enriched by the groovy logic value tracking feature.ContextParameter.setTypedId(String typedId) Sets the typed ID returned bygetTypedId().Sets the URL property of the input.ContextParameter.setUserGroupView(String userGroupView) Sets the userGroupView property for the input.ContextParameter.setUserGroupView(List<String> userGroupsView) Sets the userGroupView property for the input.Set initial/default value of the input parameter.ContextParameter.setValueHint(String hint) Sets the value hint: a text that the UI shows with the value of the input.ContextParameter.setValueOptions(String[] valueOptions) Sets list of options used in the dropdown input field.ContextParameter.setValueOptions(List<String> valueOptions) Sets the options of the drop-down input field, as a list.Methods in net.pricefx.server.dto.calculation that return types with arguments of type ContextParameterModifier and TypeMethodDescriptionConfiguratorEntry.getInputs()Gets the list of context parameters.ContextParameter.getInputs()Returns the nested inputs of aROWorCOLLAPSEinput.Methods in net.pricefx.server.dto.calculation with parameters of type ContextParameterModifier and TypeMethodDescriptionvoidContextParameter.addInput(ContextParameter contextParameter) Adds a nested input.ConfiguratorEntry.addParameter(ContextParameter input) Deprecated.ConfiguratorEntry.createParameter(ContextParameter input) Creates a parameter and adds it to the list of inputs.ConfiguratorEntry.createParameter(ContextParameter input, Closure<?> defaultValue) Creates a parameter and adds it to the list of inputs.voidContextParameter.setIfNotNull(ContextParameter original) Not intended for public use.voidContextParameter.update(ContextParameter cp) Not intended for public use.Method parameters in net.pricefx.server.dto.calculation with type arguments of type ContextParameterModifier and TypeMethodDescriptionvoidConfiguratorEntry.setInputs(List<ContextParameter> inputs) Sets the list of context parameters.
ConfiguratorEntry.createParameter(ContextParameter)instead.