1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.common.search.service; |
17 | |
|
18 | |
import java.util.List; |
19 | |
|
20 | |
import org.kuali.student.common.dao.SearchableDao; |
21 | |
import org.kuali.student.common.exceptions.DoesNotExistException; |
22 | |
import org.kuali.student.common.exceptions.InvalidParameterException; |
23 | |
import org.kuali.student.common.exceptions.MissingParameterException; |
24 | |
import org.kuali.student.common.exceptions.OperationFailedException; |
25 | |
import org.kuali.student.common.search.dto.SearchCriteriaTypeInfo; |
26 | |
import org.kuali.student.common.search.dto.SearchRequest; |
27 | |
import org.kuali.student.common.search.dto.SearchResult; |
28 | |
import org.kuali.student.common.search.dto.SearchResultTypeInfo; |
29 | |
import org.kuali.student.common.search.dto.SearchTypeInfo; |
30 | |
|
31 | |
public interface SearchManager { |
32 | |
|
33 | |
public SearchCriteriaTypeInfo getSearchCriteriaType( |
34 | |
String searchCriteriaTypeKey) throws DoesNotExistException, |
35 | |
InvalidParameterException, MissingParameterException, |
36 | |
OperationFailedException; |
37 | |
|
38 | |
public List<SearchCriteriaTypeInfo> getSearchCriteriaTypes() |
39 | |
throws OperationFailedException; |
40 | |
|
41 | |
public SearchResultTypeInfo getSearchResultType(String searchResultTypeKey) |
42 | |
throws DoesNotExistException, InvalidParameterException, |
43 | |
MissingParameterException, OperationFailedException; |
44 | |
|
45 | |
public List<SearchResultTypeInfo> getSearchResultTypes() |
46 | |
throws OperationFailedException; |
47 | |
|
48 | |
public SearchTypeInfo getSearchType(String searchTypeKey) |
49 | |
throws DoesNotExistException, InvalidParameterException, |
50 | |
MissingParameterException, OperationFailedException; |
51 | |
|
52 | |
public List<SearchTypeInfo> getSearchTypes() |
53 | |
throws OperationFailedException; |
54 | |
|
55 | |
public List<SearchTypeInfo> getSearchTypesByCriteria( |
56 | |
String searchCriteriaTypeKey) throws DoesNotExistException, |
57 | |
InvalidParameterException, MissingParameterException, |
58 | |
OperationFailedException; |
59 | |
|
60 | |
public List<SearchTypeInfo> getSearchTypesByResult( |
61 | |
String searchResultTypeKey) throws DoesNotExistException, |
62 | |
InvalidParameterException, MissingParameterException, |
63 | |
OperationFailedException; |
64 | |
|
65 | |
public SearchResult search(SearchRequest searchRequest, SearchableDao dao) throws MissingParameterException; |
66 | |
} |