public abstract class AbstractWizardLabelMigrator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INPUT2_XSL |
static String |
INPUT2A_XSL |
protected static String |
KEY_MIGRATIONXSL |
| Constructor and Description |
|---|
AbstractWizardLabelMigrator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendNodeLabels(List<NodeLabel> exisiting,
List<NodeLabel> toAdd) |
protected void |
doTransform(Map<String,String> params,
InputStream inputXSL,
InputStream dataXML,
StringWriter outputXML) |
abstract Nodes |
findAllNodesInWizardLabels(String searchpath)
Find all nodes in wizard labels.
|
protected void |
migrateAndAppendWizardPortLabels(org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels nodeLabels,
Map<String,String> params,
String searchpath,
String fileName,
String migrationXSL,
String portTypeIdentifier) |
protected Nodes |
performFindAllNodesInWizardLabels(String fileName,
String transformationXSL,
String searchpath)
Search labels of one type.
|
protected Nodes |
performFindNodes(Map<String,String> params,
InputStream dataXML,
String migrationXSL) |
protected org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels |
performMigration(Map<String,String> params,
InputStream dataXML,
String migrationXSL) |
abstract org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels |
performWizardLabelsMigration(ApplicationContext context,
long uniqueId,
String searchpath)
Perform migration from wizard labels to new node labels.
|
protected org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels |
performWizardLabelsMigration(Map<String,String> params,
String fileName,
String migrationXSL,
String searchpath)
Search labels of one type.
|
public static final String INPUT2_XSL
public static final String INPUT2A_XSL
protected static final String KEY_MIGRATIONXSL
public abstract Nodes findAllNodesInWizardLabels(String searchpath)
searchpath - the search pathpublic abstract org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels performWizardLabelsMigration(ApplicationContext context, long uniqueId, String searchpath)
The old wizard labels of a node must be collected from multiple files, because each label type has it's own file.
context - the migration contextuniqueId - the uniqueIddataXML - the data XMLprotected Nodes performFindAllNodesInWizardLabels(String fileName, String transformationXSL, String searchpath)
fileName - the filename to searchsearchpath - the search pathnull if no labels were foundprotected Nodes performFindNodes(Map<String,String> params, InputStream dataXML, String migrationXSL)
protected void doTransform(Map<String,String> params, InputStream inputXSL, InputStream dataXML, StringWriter outputXML) throws TransformerException
TransformerExceptionprotected org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels performMigration(Map<String,String> params, InputStream dataXML, String migrationXSL)
protected void migrateAndAppendWizardPortLabels(org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels nodeLabels,
Map<String,String> params,
String searchpath,
String fileName,
String migrationXSL,
String portTypeIdentifier)
protected org.bidib.jbidibc.core.schema.bidiblabels.NodeLabels performWizardLabelsMigration(Map<String,String> params, String fileName, String migrationXSL, String searchpath)
params - the paramsfileName - the filename to searchsearchpath - the search pathnull if no labels were foundCopyright © 2019. All rights reserved.