public class ItemViewer extends AbstractDSpaceTransformer implements org.apache.cocoon.caching.CacheableProcessingComponent
| Modifier and Type | Field and Description |
|---|---|
protected SFXFileReaderService |
sfxFileReaderService |
context, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
ItemViewer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
Display a single item
|
void |
addPageMeta(PageMeta pageMeta)
Add the item's title and trail links to the page's metadata.
|
Serializable |
getKey()
Generate the unique caching key.
|
org.apache.excalibur.source.SourceValidity |
getValidity()
Generate the cache validity object.
|
void |
recycle()
Recycle.
|
static boolean |
showFullItem(Map objectModel)
Determine if the full item should be referenced or just a summary.
|
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 SFXFileReaderService sfxFileReaderService
public Serializable getKey()
getKey in interface org.apache.cocoon.caching.CacheableProcessingComponentpublic org.apache.excalibur.source.SourceValidity getValidity()
getValidity in interface org.apache.cocoon.caching.CacheableProcessingComponentpublic void addPageMeta(PageMeta pageMeta) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
addPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerpageMeta - to be added.SAXException - passed through.WingException - if a crosswalk fails.UIException - passed through.SQLException - passed through.IOException - passed through.AuthorizeException - passed through.public void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
addBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerbody - to be added.SAXException - passed through.WingException - passed through.UIException - passed through.SQLException - passed through.IOException - passed through.AuthorizeException - passed through.public static boolean showFullItem(Map objectModel)
objectModel - to get the request.public void recycle()
AbstractWingTransformerrecycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class AbstractDSpaceTransformerCopyright © 2016 DuraSpace. All rights reserved.