def METHOD_NAME(self, *args):
    new_filters = {}
    for filter in self._filters:
        new_filters[filter["type"]] = []
        for spinBox in filter["spinBoxes"]:
            new_filters[filter["type"]].append(spinBox.value())
        for spinBox in filter["textEdits"]:
            new_filters[filter["type"]].append(spinBox.toPlainText())
    self._link.setFilters(new_filters)
    self._link.update()