public abstract class AbstractRecentSubmissionTransformer extends AbstractDSpaceTransformer implements org.apache.cocoon.caching.CacheableProcessingComponent
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxRecentSubmissions
The maximum number of recent submissions read from configuration.
|
protected DiscoverResult |
queryResults
Cached query results
|
context, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
AbstractRecentSubmissionTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addViewMoreLink(Division recentSubmissionDiv,
DSpaceObject dso)
Add a view more link at the bottom of a recent submission view
|
Serializable |
getKey()
Generate the unique caching key.
|
protected void |
getRecentlySubmittedItems(DSpaceObject dso)
Retrieves the recent submitted items of the given scope
|
org.apache.excalibur.source.SourceValidity |
getValidity()
Generate the cache validity object.
|
void |
recycle()
Recyle
|
addBody, 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, startEntityprotected DiscoverResult queryResults
protected int maxRecentSubmissions
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 void getRecentlySubmittedItems(DSpaceObject dso)
dso - the DSpace object can either be null (indicating home page), a collection or a communityprotected void addViewMoreLink(Division recentSubmissionDiv, DSpaceObject dso) throws WingException
recentSubmissionDiv - recent submission div to which we are to add the linkdso - the site/community/collection on who's home page we areWingException - ...public void recycle()
AbstractDSpaceTransformerrecycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class AbstractDSpaceTransformerCopyright © 2015 DuraSpace. All Rights Reserved.