public class BrowseFacet extends AbstractDSpaceTransformer implements org.apache.cocoon.caching.CacheableProcessingComponent
| Modifier and Type | Field and Description |
|---|---|
static String |
FACET_FIELD |
static String |
OFFSET |
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 |
|---|
BrowseFacet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
What to add at the end of the body
|
void |
addPageMeta(PageMeta pageMeta)
Add a page title and trail links.
|
Serializable |
getKey()
Generate the unique caching key.
|
String[] |
getParameterFacetQueries() |
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
|
addOptions, 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 org.apache.excalibur.source.SourceValidity validity
protected DiscoverQuery queryArgs
public static final String OFFSET
public static final String FACET_FIELD
public Serializable getKey()
getKey in interface org.apache.cocoon.caching.CacheableProcessingComponentpublic org.apache.excalibur.source.SourceValidity getValidity()
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 AbstractDSpaceTransformerSAXExceptionWingExceptionSQLExceptionIOExceptionAuthorizeExceptionpublic void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
AbstractDSpaceTransformeraddBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerSAXExceptionWingExceptionUIExceptionSQLExceptionIOExceptionAuthorizeExceptionpublic void recycle()
recycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class AbstractDSpaceTransformerpublic String[] getParameterFacetQueries()
Copyright © 2016 DuraSpace. All Rights Reserved.