public class RecentSubmissionTransformer extends AbstractDSpaceTransformer
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isHomePage |
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)
What to add at the end of the body
|
void |
addPageMeta(PageMeta pageMeta)
What page metadata to add to the document
|
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
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
AbstractDSpaceTransformeraddPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerSAXExceptionWingExceptionUIExceptionSQLExceptionIOExceptionAuthorizeExceptionpublic void addBody(Body body) throws SAXException, WingException, SQLException, IOException, AuthorizeException, org.apache.cocoon.ProcessingException
AbstractDSpaceTransformeraddBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerSAXExceptionWingExceptionSQLExceptionIOExceptionAuthorizeExceptionorg.apache.cocoon.ProcessingExceptionprotected void setPagination(org.apache.cocoon.environment.Request request,
DSpaceObject dso,
Division mainDivision,
DiscoverResult recentlySubmittedItems)
protected void setMainTitle(DSpaceObject dso, Division mainDivision) throws WingException
WingExceptionprotected String getNextPageURL(DSpaceObject dso, int currentOffset, int rpp, int total)
protected String getPreviousPageURL(DSpaceObject dso, int currentOffset, int rpp)
protected String getBaseUrl(DSpaceObject dso)
protected int getOffset(org.apache.cocoon.environment.Request request)
protected DSpaceObject getDSpaceObject() throws SQLException
SQLExceptionCopyright © 2014 DuraSpace. All Rights Reserved.