public class SearchServiceDispatcherImpl extends Object implements SearchService
Constructor and Description |
---|
SearchServiceDispatcherImpl() |
SearchServiceDispatcherImpl(SearchService... services) |
Modifier and Type | Method and Description |
---|---|
List<SearchService> |
getSearchServices() |
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 |
setSearchServices(List<SearchService> searchServices) |
public SearchServiceDispatcherImpl()
public SearchServiceDispatcherImpl(SearchService... services)
public List<SearchService> getSearchServices()
public void setSearchServices(List<SearchService> searchServices)
public TypeInfo getSearchType(String searchTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchService
getSearchType
in interface SearchService
searchTypeKey
- 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
SearchService
getSearchTypes
in interface SearchService
contextInfo
- 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 SearchResultInfo search(SearchRequestInfo searchRequestInfo, ContextInfo contextInfo) throws MissingParameterException, InvalidParameterException, OperationFailedException, PermissionDeniedException
SearchService
search
in interface SearchService
searchRequestInfo
- the search requestcontextInfo
- information containing the principalId and locale
information about the caller of service operationMissingParameterException
- searchRequestInfo or contextInfo is
missing or nullInvalidParameterException
- contextInfo is not validOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.