Class FcMultipleConditionBean

    • Constructor Detail

      • FcMultipleConditionBean

        public FcMultipleConditionBean()
    • Method Detail

      • addCondition

        public void addCondition()
        Called when the user clicks on the add button to add a new condition.
      • completeCustomExpression

        public List<String> completeCustomExpression​(org.primefaces.extensions.event.CompleteEvent event)
        Autocomplete method for the code mirror used to edit the custom boolean infix expression.
        Parameters:
        event - Autocomplete event triggered by the CodeMirror widget.
        Returns:
        All suggestions, including variable names, operators, and constants.
      • getOrderedCombinationTypes

        public List<EMultipleConditionCombinationType> getOrderedCombinationTypes()
        Returns:
        All available combination types, in the order they are to be shown in the UI.
      • getOrderedMatchConditions

        public List<EMatchCondition> getOrderedMatchConditions()
        Returns:
        All available match conditions, in the order they are to be shown in the UI.
      • lintFcMultiCondExpression

        public void lintFcMultiCondExpression()
        Performs linting for the boolean infix expression the user has entered in the code mirror window.
      • removeCondition

        public void removeCondition​(int index)
        Called when the user clicks on the remove button on a condition.
        Parameters:
        index - Index of the condition to remove.