code: function(filter) {
          if (!filter) {
              return;
          }
          if (!this.filters[filter.userId]) {
              this.filters[filter.userId] = {};
          }
          this.filters[filter.userId][filter.filterId] = filter;
      }
docs: Store a filter.
  @param {Filter} filter