@Deprecated public abstract class AbstractSearch extends AbstractDSpaceTransformer
context, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
AbstractSearch()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addBody(Body body)
Deprecated.
Build the resulting search DRI document.
|
protected void |
buildScopeList(Select scope)
Deprecated.
Add options to the search scope field.
|
protected void |
buildSearchControls(Division div)
Deprecated.
|
protected void |
buildSearchResultsDivision(Division search)
Deprecated.
Attach a division to the given search division named "search-results"
which contains results for this search query.
|
protected abstract String |
generateURL(Map<String,String> parameters)
Deprecated.
Generate a url to the given search implementation with the associated
parameters included.
|
Serializable |
getKey()
Deprecated.
Generate the unique caching key.
|
protected int |
getParameterEtAl()
Deprecated.
|
protected String |
getParameterOrder()
Deprecated.
|
protected int |
getParameterPage()
Deprecated.
|
protected int |
getParameterRpp()
Deprecated.
|
protected int |
getParameterSortBy()
Deprecated.
|
protected abstract String |
getQuery()
Deprecated.
Extract the query string.
|
protected QueryResults |
getQueryResults()
Deprecated.
|
protected DSpaceObject |
getScope()
Deprecated.
Determine the current scope.
|
org.apache.excalibur.source.SourceValidity |
getValidity()
Deprecated.
Generate the cache validity object.
|
protected void |
logSearch()
Deprecated.
|
protected void |
performSearch()
Deprecated.
Query DSpace for a list of all items / collections / or communities that
match the given search query.
|
void |
recycle()
Deprecated.
Recycle
|
protected boolean |
variableScope()
Deprecated.
Determine if the scope of the search should fixed or is changeable by the
user.
|
addOptions, addPageMeta, 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, waitcharacters, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntitycomment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntitypublic Serializable getKey()
public org.apache.excalibur.source.SourceValidity getValidity()
public abstract void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
addBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerSAXExceptionWingExceptionUIExceptionSQLExceptionIOExceptionAuthorizeExceptionprotected void buildSearchResultsDivision(Division search) throws IOException, SQLException, WingException
search - The search division to contain the search-results division.IOExceptionSQLExceptionWingExceptionprotected void buildScopeList(Select scope) throws SQLException, WingException
scope - The current scope field.SQLExceptionWingExceptionprotected void performSearch()
throws SQLException,
IOException,
UIException
SQLExceptionIOExceptionUIExceptionprotected DSpaceObject getScope() throws SQLException
SQLExceptionprotected int getParameterPage()
protected int getParameterRpp()
protected int getParameterSortBy()
protected String getParameterOrder()
protected int getParameterEtAl()
protected QueryResults getQueryResults()
protected boolean variableScope()
throws SQLException
SQLExceptionprotected abstract String getQuery() throws UIException
UIExceptionprotected abstract String generateURL(Map<String,String> parameters) throws UIException
parameters - UIExceptionpublic void recycle()
recycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class AbstractDSpaceTransformerprotected void buildSearchControls(Division div) throws WingException
WingExceptionprotected void logSearch()
Copyright © 2013 DuraSpace. All Rights Reserved.