org.dspace.app.webui.discovery
Class DiscoverySearchRequestProcessor
java.lang.Object
org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor
- All Implemented Interfaces:
- SearchRequestProcessor
public class DiscoverySearchRequestProcessor
- extends Object
- implements SearchRequestProcessor
|
Method Summary |
void |
doAdvancedSearch(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method for constructing the discovery advanced search form
author: Andrea Bollini |
void |
doOpenSearch(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
doSimpleSearch(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
exportMetadata(Context context,
javax.servlet.http.HttpServletResponse response,
Item[] items)
Export the search results as a csv file |
void |
init()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscoverySearchRequestProcessor
public DiscoverySearchRequestProcessor()
init
public void init()
doOpenSearch
public void doOpenSearch(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws SearchProcessorException,
IOException,
javax.servlet.ServletException
- Specified by:
doOpenSearch in interface SearchRequestProcessor
- Throws:
SearchProcessorException
IOException
javax.servlet.ServletException
doSimpleSearch
public void doSimpleSearch(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws SearchProcessorException,
IOException,
javax.servlet.ServletException
- Specified by:
doSimpleSearch in interface SearchRequestProcessor
- Throws:
SearchProcessorException
IOException
javax.servlet.ServletException
exportMetadata
protected void exportMetadata(Context context,
javax.servlet.http.HttpServletResponse response,
Item[] items)
throws IOException,
javax.servlet.ServletException
- Export the search results as a csv file
- Parameters:
context - The DSpace contextresponse - The request objectitems - The result items
- Throws:
IOException
javax.servlet.ServletException
doAdvancedSearch
public void doAdvancedSearch(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws SearchProcessorException,
IOException,
javax.servlet.ServletException
- Method for constructing the discovery advanced search form
author: Andrea Bollini
- Specified by:
doAdvancedSearch in interface SearchRequestProcessor
- Throws:
SearchProcessorException
IOException
javax.servlet.ServletException
Copyright © 2013 DuraSpace. All Rights Reserved.