View Javadoc

1   package org.kuali.student.r2.common.class1.search;
2   
3   import org.kuali.student.r2.core.search.dto.SearchTypeInfo;
4   
5   import java.util.ArrayList;
6   import java.util.List;
7   import java.util.Map;
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  }