Class ExtendLocalizedValuesProcessor
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.process.ExtendLocalizedValuesProcessor
- All Implemented Interfaces:
ChangesetNodeProcessor
@Component
public class ExtendLocalizedValuesProcessor
extends Object
implements ChangesetNodeProcessor
This processor investigates update or insert statements to localized fields. If there is a missing
value for a required language it will copy an existing value from another language to have some
value to insert.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processChangesetNode
(Document doc, Element changesetNode, ChangesetId id) This is called before a <changeset/> node of a changelog file from some module is added to the final document.
-
Field Details
-
STRING_COMP
-
-
Constructor Details
-
ExtendLocalizedValuesProcessor
-
ExtendLocalizedValuesProcessor
-
-
Method Details
-
processChangesetNode
Description copied from interface:ChangesetNodeProcessor
This is called before a <changeset/> node of a changelog file from some module is added to the final document.
The arguments given to this method allow you to filter on changesets you want to modify.
- Specified by:
processChangesetNode
in interfaceChangesetNodeProcessor
- Parameters:
doc
- the final document instancechangesetNode
- the <changeset/> nodeid
- the parsed id of this changeset
-