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