public class SearchServlet extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements SearchService
| Constructor and Description |
|---|
SearchServlet() |
| Modifier and Type | Method and Description |
|---|---|
HashMap<CollectionBean,ArrayList<CollectionBean>> |
getAvailableCollections() |
String |
getLogoURL() |
Integer |
getNumberOfSelectedCollections()
Gets the number of the selected collections, excluding group collections
|
SearchAvailabilityType |
getSearchStatus() |
HashSet<String> |
getSelectedCollectionsFromSession() |
SearchTypeBean |
getSelectedSearchType() |
String |
getSimpleSearchTerm()
This method returns the text that was last used in a simple search
|
void |
init(javax.servlet.ServletConfig conf)
Init Method
|
void |
sendEmailWithErrorToSupport(Throwable caught) |
void |
setSelectedCollectionsToSession(HashSet<String> selectedCollections) |
void |
setSimpleSearchTerm(String term) |
String |
stackTraceAsString(Throwable caught) |
void |
submitGenericQuery(String term,
SearchTypeBean type,
HashSet<String> selectedCollections)
Submits a simple query
|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init(javax.servlet.ServletConfig conf)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic String getLogoURL()
getLogoURL in interface SearchServicepublic HashMap<CollectionBean,ArrayList<CollectionBean>> getAvailableCollections() throws CollectionRetrievalException
getAvailableCollections in interface SearchServiceCollectionRetrievalExceptionpublic Integer getNumberOfSelectedCollections()
getNumberOfSelectedCollections in interface SearchServicepublic String getSimpleSearchTerm()
getSimpleSearchTerm in interface SearchServicepublic void setSimpleSearchTerm(String term)
setSimpleSearchTerm in interface SearchServicepublic void setSelectedCollectionsToSession(HashSet<String> selectedCollections)
setSelectedCollectionsToSession in interface SearchServicepublic HashSet<String> getSelectedCollectionsFromSession()
getSelectedCollectionsFromSession in interface SearchServicepublic SearchTypeBean getSelectedSearchType()
getSelectedSearchType in interface SearchServicepublic SearchAvailabilityType getSearchStatus()
getSearchStatus in interface SearchServicepublic void sendEmailWithErrorToSupport(Throwable caught)
sendEmailWithErrorToSupport in interface SearchServicepublic String stackTraceAsString(Throwable caught)
stackTraceAsString in interface SearchServicepublic void submitGenericQuery(String term, SearchTypeBean type, HashSet<String> selectedCollections) throws SearchSubmissionException
submitGenericQuery in interface SearchServiceSearchSubmissionExceptionCopyright © 2013. All Rights Reserved.