View Javadoc

1   package org.kuali.student.common.search.service.impl;
2   
3   import java.util.ArrayList;
4   import java.util.List;
5   import java.util.Map;
6   
7   import org.kuali.student.common.search.dto.SearchTypeInfo;
8   
9   public class SearchConfigValidator {
10  	private Map<String, SearchTypeInfo> searchInfoTypeMap;
11  	// private Map<String, SearchCriteriaTypeInfo> searchCriteriaTypeMap;
12  	// private Map<String, SearchResultTypeInfo> searchResultTypeInfoMap;
13  	private Map<String, String> queryMap;
14  
15  	public SearchConfigValidator(Map<String, SearchTypeInfo> searchInfoTypeMap,
16  			Map<String, String> queryMap) {
17  		this.searchInfoTypeMap = searchInfoTypeMap;
18  		this.queryMap = queryMap;
19  	}
20  
21  	public List<String> validate() {
22  		List<String> errors = new ArrayList<String>();
23  		// TODO: validate
24  		return errors;
25  	}
26  }