Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
2.5 kB
0
Indexable
Never
FilterMetadataService

//        final Filter verticalFilterType = verticalFilter.createFilter();
//        filterList.add(verticalFilterType);
//        final Filter productFilterType = productFilter.createFilter();
//        filterList.add(productFilterType);
//        final Filter agencyFilterType = agencyFilter.createFilter();
//        filterList.add(agencyFilterType);
//        if (pageType.equals(PAGE_TYPE_AUDIT)) {
//            final Filter fileSizeFilterType = fileSizeFilter.createFilter();
//            filterList.add(fileSizeFilterType);
//            final Filter recordingDateFilterType = recordingDateFilter.createFilter(PAGE_TYPE_AUDIT);
//            filterList.add(recordingDateFilterType);
//            final Filter auditStatusFilterType = auditStatusFilter.createFilter();
//            filterList.add(auditStatusFilterType);
//            final Filter auditTypeFilterType = auditTypeFilter.createFilter();
//            filterList.add(auditTypeFilterType);
//            final Filter customerIdFilterType = customerIdFilter.createFilter();
//            filterList.add(customerIdFilterType);
//            final Filter loanIdFilterType = loanIdFilter.createFilter();
//            filterList.add(loanIdFilterType);
//        } else if (pageType.equals(PAGE_TYPE_YEARLY_AGGREGATION)) {
//            final Filter recordingDateFilterType = recordingDateFilter.createFilter(PAGE_TYPE_YEARLY_AGGREGATION);
//            filterList.add(recordingDateFilterType);
//        } else if (pageType.equals(PAGE_TYPE_MONTHLY_AGGREGATION)) {
//            final Filter monthFilterType = monthFilter.createFilter();
//            filterList.add(monthFilterType);
//        }
//        filterMetadataResponse.setFilterList(filterList);
//        return filterMetadataResponse;


//    @Autowired
//    private final VerticalFilter verticalFilter;
//    @Autowired
//    private final ProductFilter productFilter;
//    @Autowired
//    private final AgencyFilter agencyFilter;
//    @Autowired
//    private final FileSizeFilter fileSizeFilter;
//    @Autowired
//    private final RecordingDateFilter recordingDateFilter;
//    @Autowired
//    private final AuditStatusFilter auditStatusFilter;
//    @Autowired
//    private final AuditTypeFilter auditTypeFilter;
//    @Autowired
//    private final CustomerIdFilter customerIdFilter;
//    @Autowired
//    private final LoanIdFilter loanIdFilter;
//    @Autowired
//    private final MonthFilter monthFilter;