@Service public class ReportingTaxonomyBeanCrossReferenceUpdaterEngineImpl extends java.lang.Object implements ReportingTaxonomyBeanCrossReferenceUpdaterEngine
Constructor and Description |
---|
ReportingTaxonomyBeanCrossReferenceUpdaterEngineImpl() |
Modifier and Type | Method and Description |
---|---|
ReportingTaxonomyBean |
updateReferences(ReportingTaxonomyBean 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 ReportingTaxonomyBeanCrossReferenceUpdaterEngineImpl()
public ReportingTaxonomyBean updateReferences(ReportingTaxonomyBean maintianable, java.util.Map<StructureReferenceBean,StructureReferenceBean> updateReferences, java.lang.String newVersionNumber)
CrossReferenceUpdaterEngine
updateReferences
in interface CrossReferenceUpdaterEngine<ReportingTaxonomyBean>
maintianable
- the maintainable to alterupdateReferences
- the references from/to mapnewVersionNumber
- the version number to give the new maintainable