public class SearchManagerImpl extends Object implements SearchManager
| Constructor and Description |
|---|
SearchManagerImpl(String searchContextFile) |
SearchManagerImpl(String searchContextFile,
EntityManager em)
This Constructor should only be used in tests.
|
| Modifier and Type | Method and Description |
|---|---|
SearchableCrudDaoImpl |
getDao() |
String |
getSearchContextFile() |
TypeInfo |
getSearchType(String searchTypeKey,
ContextInfo contextInfo)
Retrieves information about a particular search type.
|
List<TypeInfo> |
getSearchTypes(ContextInfo contextInfo)
Retrieves the list of search types known by this service.
|
SearchResultInfo |
search(SearchRequestInfo searchRequestInfo,
ContextInfo contextInfo)
Performs a search.
|
void |
setCrossSearchManager(CrossSearchManager crossSearchManager) |
void |
setDao(SearchableCrudDaoImpl dao) |
void |
setSearchContext(String searchContextFile) |
public SearchManagerImpl(String searchContextFile)
public SearchManagerImpl(String searchContextFile, EntityManager em)
searchContextFile - em - public TypeInfo getSearchType(String searchTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchManagergetSearchType in interface SearchManagersearchTypeKey - identifier of the search typecontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - specified searchTypeKey not foundInvalidParameterException - contextInfo is not validMissingParameterException - searchTypeKey or contextInfo
is missing or nullOperationFailedException - unable to complete requestpublic List<TypeInfo> getSearchTypes(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException
SearchManagergetSearchTypes in interface SearchManagercontextInfo - information containing the principalId and
locale information about the caller of service operationInvalidParameterException - contextInfo is not validMissingParameterException - contextInfo
is missing or nullOperationFailedException - unable to complete requestpublic String getSearchContextFile()
public void setSearchContext(String searchContextFile)
public SearchResultInfo search(SearchRequestInfo searchRequestInfo, ContextInfo contextInfo) throws MissingParameterException, OperationFailedException, PermissionDeniedException, InvalidParameterException
SearchManagersearch in interface SearchManagersearchRequestInfo - the search requestcontextInfo - information containing the principalId and
locale information about the caller of service operationMissingParameterException - searchRequestInfo or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredInvalidParameterException - contextInfo is not validpublic void setCrossSearchManager(CrossSearchManager crossSearchManager)
public SearchableCrudDaoImpl getDao()
public void setDao(SearchableCrudDaoImpl dao)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.