@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 java.lang.String |
generateURL(java.util.Map<java.lang.String,java.lang.String> parameters)
Deprecated.
Generate a url to the given search implementation with the associated
parameters included.
|
java.io.Serializable |
getKey()
Deprecated.
Generate the unique caching key.
|
protected int |
getParameterEtAl()
Deprecated.
|
protected java.lang.String |
getParameterOrder()
Deprecated.
|
protected int |
getParameterPage()
Deprecated.
|
protected int |
getParameterRpp()
Deprecated.
|
protected int |
getParameterSortBy()
Deprecated.
|
protected abstract java.lang.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, skippedEntitypublic java.io.Serializable getKey()
public org.apache.excalibur.source.SourceValidity getValidity()
public abstract void addBody(Body body) throws org.xml.sax.SAXException, WingException, UIException, java.sql.SQLException, java.io.IOException, AuthorizeException
addBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerorg.xml.sax.SAXExceptionWingExceptionUIExceptionjava.sql.SQLExceptionjava.io.IOExceptionAuthorizeExceptionprotected void buildSearchResultsDivision(Division search) throws java.io.IOException, java.sql.SQLException, WingException
search - The search division to contain the search-results division.java.io.IOExceptionjava.sql.SQLExceptionWingExceptionprotected void buildScopeList(Select scope) throws java.sql.SQLException, WingException
scope - The current scope field.java.sql.SQLExceptionWingExceptionprotected void performSearch()
throws java.sql.SQLException,
java.io.IOException,
UIException
java.sql.SQLExceptionjava.io.IOExceptionUIExceptionprotected DSpaceObject getScope() throws java.sql.SQLException
java.sql.SQLExceptionprotected int getParameterPage()
protected int getParameterRpp()
protected int getParameterSortBy()
protected java.lang.String getParameterOrder()
protected int getParameterEtAl()
protected QueryResults getQueryResults()
protected boolean variableScope()
throws java.sql.SQLException
java.sql.SQLExceptionprotected abstract java.lang.String getQuery()
throws UIException
UIExceptionprotected abstract java.lang.String generateURL(java.util.Map<java.lang.String,java.lang.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 © 2018 DuraSpace. All Rights Reserved.