public class SectionsPropertiesFormatter extends Formatter
Constructor and Description |
---|
SectionsPropertiesFormatter() |
Modifier and Type | Method and Description |
---|---|
List |
getPageIds() |
List |
getPageTitles() |
SectionsPropertiesHandler |
getSectionsPropertiesHandler() |
protected String |
getTitle(Section section) |
void |
initSections(Section rootSection,
String indent,
String preffix) |
protected List |
initSections(String preffix,
WorkspaceImpl workspace) |
void |
service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Perform the required logic for this Formatter.
|
Map |
setLangTitle(javax.servlet.http.HttpServletRequest request) |
void |
setPageIds(List pageIds) |
void |
setPageTitles(List pageTitles) |
void |
setSectionsPropertiesHandler(SectionsPropertiesHandler sectionsPropertiesHandler) |
afterRendering, formatObject, getDefaultLang, getDriver, getEncoding, getLang, getLocale, getLocaleManager, getLocalizedValue, getPanel, getParameter, getProvider, getSection, getWorkspace, includePage, renderFragment, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeInterpreter, setTag, writeToOut
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, start, stop
public List getPageIds()
public void setPageIds(List pageIds)
public List getPageTitles()
public void setPageTitles(List pageTitles)
public SectionsPropertiesHandler getSectionsPropertiesHandler()
public void setSectionsPropertiesHandler(SectionsPropertiesHandler sectionsPropertiesHandler)
public void service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws FormatterException
Formatter
service
in class Formatter
httpServletRequest
- user requesthttpServletResponse
- response to the userFormatterException
- in case of an unexpected exception.protected List initSections(String preffix, WorkspaceImpl workspace)
public Map setLangTitle(javax.servlet.http.HttpServletRequest request) throws Exception
Exception
public void initSections(Section rootSection, String indent, String preffix) throws Exception
Exception
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.