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 classes/interfaces inherited from class com.semanticcms.core.servlet.View
View.Group
-
Field Summary
Fields 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) 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.boolean
Does not apply to global navigation since "here" is not intuitive.getDescription
(Page page) getGroup()
getKeywords
(Page page) getName()
boolean
isApplicable
(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:
getDisplay
in classView
-
getName
-
getAppliesGlobally
public boolean getAppliesGlobally()Does not apply to global navigation since "here" is not intuitive.- Overrides:
getAppliesGlobally
in 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:
isApplicable
in classView
- Throws:
ServletException
IOException
-
getDescription
- Specified by:
getDescription
in classView
-
getKeywords
- Specified by:
getKeywords
in 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:
getAllowRobots
in classView
-
doView
public <__ extends FlowContent<__>> void doView(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, __ flow, Page page) throws ServletException, IOException - Specified by:
doView
in classView
- Throws:
ServletException
IOException
-