org.kuali.student.common.search
Class MockSearch

java.lang.Object
  extended by org.kuali.student.common.search.MockSearch
All Implemented Interfaces:
SearchService

public class MockSearch
extends Object
implements SearchService


Field Summary
(package private)  SearchManagerImpl sm
           
 
Constructor Summary
MockSearch()
           
 
Method Summary
 SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey)
           
 List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
           
 SearchResultTypeInfo getSearchResultType(String searchResultTypeKey)
           
 List<SearchResultTypeInfo> getSearchResultTypes()
           
 SearchTypeInfo getSearchType(String searchTypeKey)
           
 List<SearchTypeInfo> getSearchTypes()
           
 List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey)
           
 List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey)
           
 SearchResult search(SearchRequest searchRequest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sm

SearchManagerImpl sm
Constructor Detail

MockSearch

public MockSearch()
Method Detail

getSearchTypes

public List<SearchTypeInfo> getSearchTypes()
                                    throws OperationFailedException
Specified by:
getSearchTypes in interface SearchService
Throws:
OperationFailedException

getSearchType

public SearchTypeInfo getSearchType(String searchTypeKey)
                             throws DoesNotExistException,
                                    InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException
Specified by:
getSearchType in interface SearchService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getSearchTypesByResult

public List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   OperationFailedException
Specified by:
getSearchTypesByResult in interface SearchService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getSearchTypesByCriteria

public List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey)
                                              throws DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException
Specified by:
getSearchTypesByCriteria in interface SearchService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getSearchResultTypes

public List<SearchResultTypeInfo> getSearchResultTypes()
                                                throws OperationFailedException
Specified by:
getSearchResultTypes in interface SearchService
Throws:
OperationFailedException

getSearchResultType

public SearchResultTypeInfo getSearchResultType(String searchResultTypeKey)
                                         throws DoesNotExistException,
                                                InvalidParameterException,
                                                MissingParameterException,
                                                OperationFailedException
Specified by:
getSearchResultType in interface SearchService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getSearchCriteriaTypes

public List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
                                                    throws OperationFailedException
Specified by:
getSearchCriteriaTypes in interface SearchService
Throws:
OperationFailedException

getSearchCriteriaType

public SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey)
                                             throws DoesNotExistException,
                                                    InvalidParameterException,
                                                    MissingParameterException,
                                                    OperationFailedException
Specified by:
getSearchCriteriaType in interface SearchService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

search

public SearchResult search(SearchRequest searchRequest)
                    throws MissingParameterException
Specified by:
search in interface SearchService
Throws:
MissingParameterException


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.