Create empty PageSet from a Microsite
Parameters: sMsiteURI - Microsite XML file URI(for example file:///opt/knowgate/storage/xslt/templates/Comtemporary.xml) Parameters: bValidateXML - true if XML validation with W3C schemas is to be done,false is no validation is to be done. throws: ClassNotFoundException - throws: IllegalAccessException - throws: FileNotFoundException -
Create PageSet from a Microsite and load data from an XML file.
Parameters: sMsiteURI - Microsite XML file URI Parameters: sPageSetURI - PageSet XML file URI(for example file:///opt/knowgate/storage/domains/1026/workareas/f7f055ca39854673b17518ec5f87de3b/apps/Mailwire/data/Newsletter01.xml) throws: ClassNotFoundException - throws: IllegalAccessException -
Create PageSet from a Microsite and load data from an XML file.
Parameters: sMsiteURI - Microsite XML file URI Parameters: sPageSetURI - PageSet XML file URI Parameters: bValidateXML - true if XML validation with W3C schemas is to be done,false is no validation is to be done. throws: ClassNotFoundException - throws: IllegalAccessException -
Parameters: sFilePath - Path to PageSet XML file Parameters: sPageGUID - <Page> GUID attribute Parameters: sBlockXML - XML of Block to be added New Block Id throws: IllegalAccessException - throws: IOException - throws: ClassNotFoundException - throws: NumberFormatException - If Identifier attribute is not an integer number.
Generate XSL Transformation output with editing layers for PageSet.
Parameters: sBasePath - Path to directory containing XSL stylesheets Parameters: sOutputPath - Path to output directory where generated files shall be saved. Parameters: sCtrlPath - Path to source code of the edition layer (tipically /includes/integrador_ctrl.inc file) Parameters: sMenuPath - Path to dynamic page that generates the block list (tipically /webbuilder/wb_mnuintegrador.jsp) Parameters: sIntegradorPath - Path to JavaScript functions of edition layer (tipically integrador.js) Parameters: sSelPageOptions - If this is a single Page PageSet this parameter must be "",else it is a list of available pages in HTML format. Parameters: oEnvironmentProps - Environment properties to be replaced at templated Parameters: oUserProps - User Properties to be replaced at templated throws: IOException - throws: DOMException - throws: TransformerException - throws: TransformerConfigurationException - throws: NullPointerException -
GUID is obtained directly from raw text reading without parsing the input file.
Parameters: sPageSetURI - Path to PageSet XML file Microsite GUID throws: FileNotFoundException - throws: IOException -
Merge Company addresses, catalog and other information into a PageSet XML file
Addresses are readed from k_addresses table and appended to the XML file after the <pages> node.
Parameters: oConn - JDBC database connection Parameters: sFilePath - Complete path to the PageSet XML data file Parameters: sCompanyGUID - GUID of Company which addresses are to be merged into the PageSet XML file throws: SQLException - throws: IOException -
Get a Page from this PageSet
Parameters: sPageId - GUID of page to be retrieved Page object or null if no page with such GUID was found at XML file throws: DOMException - If node is not found throws: NullPointerException - If sPageId is null
Block is searched by an internal XPath expression:
pageset/pages/page[@guid='sPageGUID']/blocks/block[@id='sBlockId']
Parameters: sFilePath - Path to PageSet XML file Parameters: sPageGUID - <Page> GUID attribute Parameters: sBlockId - id attribute of Block to be removed throws: IOException -