public class NucleusPreviewLinkServlet
extends com.endeca.infront.assembler.servlet.AbstractPreviewLinkServlet
AbstractPreviewLinkServlet to provide the needed
NavigationStateBuilder and ContentSource Nucleus components.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATG_SITE_MANAGER_COMPONENT_PARAM
The servlet parameter used to specify the
SiteManager Nucleus component to use. |
static java.lang.String |
CLASS_VERSION
Class version string
|
static java.lang.String |
CONTENT_SOURCE_COMPONENT_PARAM
The servlet parameter used to specify the
ContentSource Nucleus component to use. |
static java.lang.String |
ENDECA_SITE_MANAGER_COMPONENT_PARAM
The servlet parameter used to specify the
SiteManager Nucleus component to use. |
static java.lang.String |
NAVIGATION_STATE_BUILDER_COMPONENT_PARAM
The servlet parameter used to specify the
NavigationStateBuilder Nucleus component to use. |
| Constructor and Description |
|---|
NucleusPreviewLinkServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected SiteManager |
getAtgSiteManager() |
protected com.endeca.infront.content.source.ContentSource |
getContentSource() |
protected com.endeca.infront.navigation.NavigationStateBuilder |
getNavigationStateBuilder() |
protected java.lang.String |
getSiteIdParamForAction(com.endeca.infront.cartridge.model.NavigationAction action)
Returns the site id parameter with the ATG site id as the parameter value to append to the preview URL.
|
protected com.endeca.infront.site.SiteManager |
getSiteManager() |
void |
init(javax.servlet.ServletConfig pConfig)
Initialize the servlet and retrieve the NavigationStateBuilder and ContentSource
components to be used in the super class.
|
doGet, getUrlForActiondoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic static final java.lang.String CLASS_VERSION
public static final java.lang.String NAVIGATION_STATE_BUILDER_COMPONENT_PARAM
NavigationStateBuilder Nucleus component to use.public static final java.lang.String CONTENT_SOURCE_COMPONENT_PARAM
ContentSource Nucleus component to use.public static final java.lang.String ENDECA_SITE_MANAGER_COMPONENT_PARAM
SiteManager Nucleus component to use.public static final java.lang.String ATG_SITE_MANAGER_COMPONENT_PARAM
SiteManager Nucleus component to use.public void init(javax.servlet.ServletConfig pConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletpConfig - - The servlet configuration object.javax.servlet.ServletException - When the required NavigationStateBuilder or ContentSource
components can't be resolved.protected com.endeca.infront.content.source.ContentSource getContentSource()
getContentSource in class com.endeca.infront.assembler.servlet.AbstractPreviewLinkServletprotected com.endeca.infront.navigation.NavigationStateBuilder getNavigationStateBuilder()
getNavigationStateBuilder in class com.endeca.infront.assembler.servlet.AbstractPreviewLinkServletprotected com.endeca.infront.site.SiteManager getSiteManager()
getSiteManager in class com.endeca.infront.assembler.servlet.AbstractPreviewLinkServletSiteManager component.protected SiteManager getAtgSiteManager()
SiteManager component.protected java.lang.String getSiteIdParamForAction(com.endeca.infront.cartridge.model.NavigationAction action)
getSiteIdParamForAction in class com.endeca.infront.assembler.servlet.AbstractPreviewLinkServletaction - The input action