public class SearchFacetFilter extends AbstractDSpaceTransformer implements org.apache.cocoon.caching.CacheableProcessingComponent
| Modifier and Type | Field and Description |
|---|---|
protected HandleService |
handleService |
protected DiscoverQuery |
queryArgs
Cached query arguments
|
protected DiscoverResult |
queryResults
The cache of recently submitted items
|
protected org.apache.excalibur.source.SourceValidity |
validity
Cached validity object
|
context, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
SearchFacetFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
Abstract implementations of WingTransformer.
|
String |
addFilterQueriesToUrl(String url) |
void |
addPageMeta(PageMeta pageMeta)
Add a page title and trail links.
|
Serializable |
getKey()
Generate the unique caching key.
|
protected int |
getPageSize() |
protected DiscoverResult |
getQueryResponse(DSpaceObject scope)
Get the recently submitted items for the given community or collection.
|
org.apache.excalibur.source.SourceValidity |
getValidity()
Generate the cache validity object.
|
void |
recycle()
Recycle.
|
void |
setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
org.apache.avalon.framework.parameters.Parameters parameters) |
addOptions, addUserMeta, decodeFromURL, dispose, encodeForURL, generateURL, getComponentName, getObjectManager, handleExceptioncreateWingDocument, 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, startEntityprotected DiscoverResult queryResults
protected org.apache.excalibur.source.SourceValidity validity
protected DiscoverQuery queryArgs
protected HandleService handleService
public void setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
org.apache.avalon.framework.parameters.Parameters parameters)
throws org.apache.cocoon.ProcessingException,
SAXException,
IOException
setup in interface org.apache.cocoon.sitemap.SitemapModelComponentsetup in class AbstractDSpaceTransformerorg.apache.cocoon.ProcessingExceptionSAXExceptionIOExceptionpublic Serializable getKey()
getKey in interface org.apache.cocoon.caching.CacheableProcessingComponentpublic org.apache.excalibur.source.SourceValidity getValidity()
The validity object will include the collection being viewed and all recently submitted items. This does not include the community / collection hierarchy, when this changes they will not be reflected in the cache.
getValidity in interface org.apache.cocoon.caching.CacheableProcessingComponentprotected DiscoverResult getQueryResponse(DSpaceObject scope)
scope - The collection.public void addPageMeta(PageMeta pageMeta) throws SAXException, WingException, SQLException, IOException, AuthorizeException
addPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerpageMeta - to be added.SAXException - passed through.WingException - passed through.IOException - passed through.SQLException - passed through.AuthorizeException - passed through.public void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
AbstractWingTransformeraddBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerbody - to be added.SAXException - whenever.WingException - whenever.UIException - whenever.SQLException - whenever.IOException - whenever.AuthorizeException - whenever.public void recycle()
AbstractWingTransformerrecycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class AbstractDSpaceTransformerpublic String addFilterQueriesToUrl(String url) throws UIException
UIExceptionprotected int getPageSize()
Copyright © 2016 DuraSpace. All rights reserved.