Class WhatLinksHereView
java.lang.Object
com.semanticcms.core.servlet.View
com.semanticcms.view.whatlinkshere.WhatLinksHereView
- All Implemented Interfaces:
Comparable<View>
SemanticCMS view of which pages and elements link to the current page.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.semanticcms.core.servlet.View
View.Group -
Field Summary
FieldsFields inherited from class com.semanticcms.core.servlet.View
TITLE_SEPARATOR -
Method Summary
Modifier and TypeMethodDescription<__ extends FlowContent<__>>
voiddoView(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, __ flow, Page page) booleangetAllowRobots(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Page page) Not sure if this would be a benefit to search engines, but we'll be on the safe side and focus on search engines seeing the original content.booleanDoes not apply to global navigation since "here" is not intuitive.getDescription(Page page) getGroup()getKeywords(Page page) getName()booleanisApplicable(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Page page) Methods inherited from class com.semanticcms.core.servlet.View
compareTo, configureResources, equals, getAuthors, getCanonicalUrl, getCopyright, getLastModified, getLinkCssClass, getLinkId, getLinkParams, getLinks, getScripts, getTitle, hashCode, isDefault, toString
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getGroup
-
getDisplay
- Specified by:
getDisplayin classView
-
getName
-
getAppliesGlobally
public boolean getAppliesGlobally()Does not apply to global navigation since "here" is not intuitive.- Overrides:
getAppliesGloballyin classView
-
isApplicable
public boolean isApplicable(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Page page) throws ServletException, IOException TODO: Is there a computationally inexpensive way to see if anything links here (without full page tree traversal?)
- Overrides:
isApplicablein classView- Throws:
ServletExceptionIOException
-
getDescription
- Specified by:
getDescriptionin classView
-
getKeywords
- Specified by:
getKeywordsin classView
-
getAllowRobots
public boolean getAllowRobots(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Page page) Not sure if this would be a benefit to search engines, but we'll be on the safe side and focus on search engines seeing the original content.- Specified by:
getAllowRobotsin classView
-
doView
public <__ extends FlowContent<__>> void doView(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, __ flow, Page page) throws ServletException, IOException - Specified by:
doViewin classView- Throws:
ServletExceptionIOException
-
