org.gcube.portlets.user.searchportlet.client.interfaces
Interface SearchService

All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
All Known Implementing Classes:
SearchServlet

public interface SearchService
extends com.google.gwt.user.client.rpc.RemoteService


Method Summary
 HashMap<CollectionBean,ArrayList<CollectionBean>> getAvailableCollections()
           
 String getLogoURL()
           
 Integer getNumberOfSelectedCollections()
           
 SearchAvailabilityType getSearchStatus()
           
 HashSet<String> getSelectedCollectionsFromSession()
           
 SearchTypeBean getSelectedSearchType()
           
 String getSimpleSearchTerm()
           
 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)
           
 

Method Detail

getAvailableCollections

HashMap<CollectionBean,ArrayList<CollectionBean>> getAvailableCollections()
                                                                          throws CollectionRetrievalException
Throws:
CollectionRetrievalException

submitGenericQuery

void submitGenericQuery(String term,
                        SearchTypeBean type,
                        HashSet<String> selectedCollections)
                        throws SearchSubmissionException
Throws:
SearchSubmissionException

getNumberOfSelectedCollections

Integer getNumberOfSelectedCollections()

getSearchStatus

SearchAvailabilityType getSearchStatus()

getSimpleSearchTerm

String getSimpleSearchTerm()

setSimpleSearchTerm

void setSimpleSearchTerm(String term)

setSelectedCollectionsToSession

void setSelectedCollectionsToSession(HashSet<String> selectedCollections)

getSelectedCollectionsFromSession

HashSet<String> getSelectedCollectionsFromSession()

stackTraceAsString

String stackTraceAsString(Throwable caught)

sendEmailWithErrorToSupport

void sendEmailWithErrorToSupport(Throwable caught)

getSelectedSearchType

SearchTypeBean getSelectedSearchType()

getLogoURL

String getLogoURL()


Copyright © 2013. All Rights Reserved.