public class SectionsPropertiesFormatter extends Formatter
Constructor and Description |
---|
SectionsPropertiesFormatter() |
Modifier and Type | Method and Description |
---|---|
List<Long> |
getPageIds() |
List<String> |
getPageTitles() |
SectionsPropertiesHandler |
getSectionsPropertiesHandler() |
protected String |
getTitle(Section section) |
void |
initSections(Section rootSection,
String indent,
String preffix) |
protected List<Section> |
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<String,String> |
setLangTitle(javax.servlet.http.HttpServletRequest request) |
void |
setPageIds(List<Long> pageIds) |
void |
setPageTitles(List<String> 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
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<Section> initSections(String preffix, WorkspaceImpl workspace)
public Map<String,String> setLangTitle(javax.servlet.http.HttpServletRequest request) throws Exception
Exception
public void initSections(Section rootSection, String indent, String preffix) throws Exception
Exception
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.