public class RecentSubmissionTransformer extends AbstractDSpaceTransformer
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isHomePage |
protected SiteService |
siteService |
protected static Message |
T_dspace_home |
protected static Message |
T_head |
protected static Message |
T_recent_submission_head |
protected static Message |
T_trail |
protected static Message |
T_untitled |
context, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
RecentSubmissionTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
Abstract implementations of WingTransformer.
|
void |
addPageMeta(PageMeta pageMeta)
Abstract implementation of WingTransformer.
|
protected String |
getBaseUrl(DSpaceObject dso) |
protected DSpaceObject |
getDSpaceObject() |
protected String |
getNextPageURL(DSpaceObject dso,
int currentOffset,
int rpp,
int total) |
protected int |
getOffset(org.apache.cocoon.environment.Request request) |
protected String |
getPreviousPageURL(DSpaceObject dso,
int currentOffset,
int rpp) |
protected void |
setMainTitle(DSpaceObject dso,
Division mainDivision) |
protected void |
setPagination(org.apache.cocoon.environment.Request request,
DSpaceObject dso,
Division mainDivision,
DiscoverResult recentlySubmittedItems) |
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, handleException, recyclecreateWingDocument, 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 static final Message T_dspace_home
protected static final Message T_untitled
protected static final Message T_head
protected static final Message T_recent_submission_head
protected static final Message T_trail
protected boolean isHomePage
protected SiteService siteService
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 void addPageMeta(PageMeta pageMeta) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
AbstractWingTransformeraddPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerpageMeta - to be added.SAXException - whenever.WingException - whenever.UIException - whenever.SQLException - whenever.IOException - whenever.AuthorizeException - whenever.public void addBody(Body body) throws SAXException, WingException, SQLException, IOException, AuthorizeException, org.apache.cocoon.ProcessingException
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.org.apache.cocoon.ProcessingException - whenever.protected void setPagination(org.apache.cocoon.environment.Request request,
DSpaceObject dso,
Division mainDivision,
DiscoverResult recentlySubmittedItems)
throws SQLException
SQLExceptionprotected void setMainTitle(DSpaceObject dso, Division mainDivision) throws WingException
WingExceptionprotected String getNextPageURL(DSpaceObject dso, int currentOffset, int rpp, int total) throws SQLException
SQLExceptionprotected String getPreviousPageURL(DSpaceObject dso, int currentOffset, int rpp) throws SQLException
SQLExceptionprotected String getBaseUrl(DSpaceObject dso) throws SQLException
SQLExceptionprotected int getOffset(org.apache.cocoon.environment.Request request)
protected DSpaceObject getDSpaceObject() throws SQLException
SQLExceptionCopyright © 2016 DuraSpace. All rights reserved.