@Service public class HierarchicCodelistCrossReferenceUpdaterEngineImpl extends java.lang.Object implements HierarchicCodelistCrossReferenceUpdaterEngine
Constructor and Description |
---|
HierarchicCodelistCrossReferenceUpdaterEngineImpl() |
Modifier and Type | Method and Description |
---|---|
HierarchicalCodelistBean |
updateReferences(HierarchicalCodelistBean maintianable,
java.util.Map<StructureReferenceBean,StructureReferenceBean> updateReferences,
java.lang.String newVersionNumber)
Updates the maintainable (T) by altering any references that exist in the key of the updateReferences Map, to the corresponding value in the Map, the version
of the maintainable is also changed to the newVersionNumber.
|
public HierarchicCodelistCrossReferenceUpdaterEngineImpl()
public HierarchicalCodelistBean updateReferences(HierarchicalCodelistBean maintianable, java.util.Map<StructureReferenceBean,StructureReferenceBean> updateReferences, java.lang.String newVersionNumber)
CrossReferenceUpdaterEngine
updateReferences
in interface CrossReferenceUpdaterEngine<HierarchicalCodelistBean>
maintianable
- the maintainable to alterupdateReferences
- the references from/to mapnewVersionNumber
- the version number to give the new maintainable