public class SimpleSearch extends AbstractSearch implements org.apache.cocoon.caching.CacheableProcessingComponent
queryArgs, queryResultscontext, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
SimpleSearch() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
build the DRI page representing the body of the search query.
|
protected void |
addFilterRow(java.util.List<DiscoverySearchFilter> filterFields,
int index,
Row row,
java.lang.String selectedFilterType,
java.lang.String relationalOperator,
java.lang.String value) |
void |
addPageMeta(PageMeta pageMeta)
Add Page metadata.
|
protected java.lang.String |
generateURL(java.util.Map<java.lang.String,java.lang.String> parameters)
Generate a url to the simple search url.
|
protected java.lang.String |
getBasicUrl() |
protected java.lang.String[] |
getFilterQueries()
Returns all the filter queries for use by discovery
This method returns more expanded filter queries then the getParameterFilterQueries
|
protected java.util.Map<java.lang.String,java.lang.String[]> |
getParameterFilterQueries()
Returns a list of the filter queries for use in rendering pages, creating page more urls, ....
|
protected java.lang.String |
getQuery()
Get the search query from the URL parameter, if none is found the empty
string is returned.
|
protected java.lang.String |
getSuggestUrl(java.lang.String newQuery) |
addFilterQueriesToUrl, addMetadataField, addMetadataField, buildMainForm, buildScopeList, buildSearchControls, buildSearchResultsDivision, getFacetsList, getKey, getParameterEtAl, getParameterGroup, getParameterOrder, getParameterPage, getParameterRpp, getParameterScope, getParameterSortBy, getScope, getValidity, logSearch, performSearch, recycle, renderCollection, renderCommunity, renderItem, variableScopeaddOptions, addUserMeta, decodeFromURL, dispose, encodeForURL, generateURL, getComponentName, getObjectManager, handleException, setupcreateWingDocument, endDocument, endElement, endPrefixMapping, getDefaultMessageCatalogue, message, message, setupWing, startDocument, startElement, startPrefixMappingcharacters, comment, endCDATA, endDTD, endEntity, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startEntitysetConsumer, setContentHandler, setLexicalHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKey, getValiditycharacters, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntitypublic void addPageMeta(PageMeta pageMeta) throws WingException, java.sql.SQLException
addPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerWingExceptionjava.sql.SQLExceptionpublic void addBody(Body body) throws org.xml.sax.SAXException, WingException, java.sql.SQLException, java.io.IOException, AuthorizeException
addBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractSearchorg.xml.sax.SAXExceptionWingExceptionjava.sql.SQLExceptionjava.io.IOExceptionAuthorizeExceptionprotected void addFilterRow(java.util.List<DiscoverySearchFilter> filterFields, int index, Row row, java.lang.String selectedFilterType, java.lang.String relationalOperator, java.lang.String value) throws WingException
WingExceptionprotected java.lang.String getBasicUrl()
throws java.sql.SQLException
getBasicUrl in class AbstractSearchjava.sql.SQLExceptionprotected java.util.Map<java.lang.String,java.lang.String[]> getParameterFilterQueries()
AbstractSearchgetParameterFilterQueries in class AbstractSearchprotected java.lang.String[] getFilterQueries()
getFilterQueries in class AbstractSearchprotected java.lang.String getQuery()
throws UIException
getQuery in class AbstractSearchUIExceptionprotected java.lang.String generateURL(java.util.Map<java.lang.String,java.lang.String> parameters)
throws UIException
generateURL in class AbstractSearchUIExceptionprotected java.lang.String getSuggestUrl(java.lang.String newQuery)
throws UIException
UIExceptionCopyright © 2018 DuraSpace. All Rights Reserved.