- Type Parameters:
T
-
- All Implemented Interfaces:
- ScheduledTaskHelper
public class CorporateUserScheduledTaskHelper
extends AbstractScheduledTaskHelper
Contains all the data needed to handle scheduled tasks automation. Once a has been fetched using the BH api it will be
stored in this Traverser for subsequent automation work.
The allsToSaveBackToBH map will contain deep copies of relevant dtos that should be saved back to BH. The copies will be
updated according to task logic, while the original dtos will NOT be updated so that subsequent logic will still be made on
original values.
Once all automation work has been done the dtos that need saving will be saved only once. In this way keeping the api calls to
a minimum by saving each dto only once, even though multiple tasks might have updated different fields on the same dto.