|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.r2.common.class1.search.SearchManagerImpl
public class SearchManagerImpl
Loads all search info for a service into memory
Constructor Summary | |
---|---|
SearchManagerImpl(String searchContextFile)
|
|
SearchManagerImpl(String searchContextFile,
EntityManager em)
This Constructor should only be used in tests. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchManagerImpl(String searchContextFile)
public SearchManagerImpl(String searchContextFile, EntityManager em)
searchContextFile
- em
- Method Detail |
---|
public TypeInfo getSearchType(String searchTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
SearchManager
getSearchType
in interface SearchManager
searchTypeKey
- identifier of the search typecontextInfo
- information containing the principalId and
locale information about the caller of service operation
DoesNotExistException
- specified searchTypeKey not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- searchTypeKey or contextInfo
is missing or null
OperationFailedException
- unable to complete requestpublic List<TypeInfo> getSearchTypes(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException
SearchManager
getSearchTypes
in interface SearchManager
contextInfo
- information containing the principalId and
locale information about the caller of service operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- contextInfo
is missing or null
OperationFailedException
- unable to complete requestpublic String getSearchContextFile()
public void setSearchContext(String searchContextFile)
public SearchResultInfo search(SearchRequestInfo searchRequestInfo, ContextInfo contextInfo) throws MissingParameterException, OperationFailedException, PermissionDeniedException, InvalidParameterException
SearchManager
search
in interface SearchManager
searchRequestInfo
- the search requestcontextInfo
- information containing the principalId and
locale information about the caller of service operation
MissingParameterException
- searchRequestInfo or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
InvalidParameterException
- contextInfo is not validpublic void setCrossSearchManager(CrossSearchManager crossSearchManager)
public SearchableCrudDaoImpl getDao()
public void setDao(SearchableCrudDaoImpl dao)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |