public class SidebarFacetsTransformer 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
Cached query results
|
protected org.apache.excalibur.source.SourceValidity |
validity
Cached validity object
|
context, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
SidebarFacetsTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOptions(Options options)
Abstract implementation of WingTransformer.
|
Serializable |
getKey()
Generate the unique caching key.
|
DiscoverQuery |
getQueryArgs(Context context,
DSpaceObject scope,
String... filterQueries) |
protected SearchService |
getSearchService() |
org.apache.excalibur.source.SourceValidity |
getValidity()
Generate the cache validity object.
|
void |
performSearch() |
void |
recycle()
Recycle.
|
addBody, 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, startEntityprotected DiscoverResult queryResults
protected DiscoverQuery queryArgs
protected org.apache.excalibur.source.SourceValidity validity
protected HandleService handleService
protected SearchService getSearchService()
public 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.CacheableProcessingComponentpublic void performSearch()
throws SearchServiceException,
UIException,
SQLException
public void addOptions(Options options) throws SAXException, WingException, SQLException, IOException, AuthorizeException
AbstractWingTransformeraddOptions in interface DSpaceTransformeraddOptions in interface WingTransformeraddOptions in class AbstractDSpaceTransformeroptions - to be added.SAXException - whenever.WingException - whenever.UIException - whenever.SQLException - whenever.IOException - whenever.AuthorizeException - whenever.public DiscoverQuery getQueryArgs(Context context, DSpaceObject scope, String... filterQueries)
public void recycle()
AbstractWingTransformerrecycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class AbstractDSpaceTransformerCopyright © 2016 DuraSpace. All rights reserved.