public class ExportCatalogByLevelsGenerator extends ExportCatalogByLevelsGenerator
ExportCatalogByLevelsGenerator
Modifier and Type | Field and Description |
---|---|
protected OdfPageHandler |
_odfPageHandler
The ODF Page handler
|
protected OdfPageResolver |
_odfPageResolver
The ODF Page resolver
|
protected SiteManager |
_siteManager
The site manager
|
_contentTypesHelper, _metadataManager, _odfClassificationHandler, _odfHelper, _odfRefTableHelper, _resolver
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
ExportCatalogByLevelsGenerator() |
Modifier and Type | Method and Description |
---|---|
protected AmetysObjectIterable<Program> |
getConcernedPrograms(Map<String,String> wsParameters)
Get the programs to SAX.
|
protected AttributesImpl |
getContentAttributes(ProgramItem programItem,
Program parentProgram,
Map<String,String> wsParameters)
Get attributes for the current saxed content (title, id, etc.).
|
protected boolean |
getParameters(Map<String,String> wsParameters)
Get the parameters from the request and test it.
|
void |
service(ServiceManager smanager) |
_addLevelAttributes, generate, getParameter
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected OdfPageHandler _odfPageHandler
protected OdfPageResolver _odfPageResolver
protected SiteManager _siteManager
public ExportCatalogByLevelsGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ExportCatalogByLevelsGenerator
ServiceException
protected boolean getParameters(Map<String,String> wsParameters) throws SAXException
ExportCatalogByLevelsGenerator
getParameters
in class ExportCatalogByLevelsGenerator
wsParameters
- Map of parameters to fillSAXException
- if an error occuredprotected AmetysObjectIterable<Program> getConcernedPrograms(Map<String,String> wsParameters)
ExportCatalogByLevelsGenerator
getConcernedPrograms
in class ExportCatalogByLevelsGenerator
wsParameters
- Parameters of the web serviceprotected AttributesImpl getContentAttributes(ProgramItem programItem, Program parentProgram, Map<String,String> wsParameters)
ExportCatalogByLevelsGenerator
getContentAttributes
in class ExportCatalogByLevelsGenerator
programItem
- Part of the program to get attributesparentProgram
- Initial programwsParameters
- Parameters of the web service