Interface ReconstituteForAddHandler
public interface ReconstituteForAddHandler
Useful in concert with the enterprise module. Keeps track of references for ADD operations across sandboxes.
- Author:
- Jeff Fischer
-
Method Summary
Modifier and TypeMethodDescriptionvoidreconstitutePreviousAddForReplay(Map<Class<?>, Map<String, String>> library, PersistencePackage replayPackage) Must rematch up any items that are dependent on a previous add.voidreconstitutePreviousAddForUpdateReplay(Map<Class<?>, Map<String, String>> library, PersistencePackage replayPackage) Must rematch up any items that are dependent on a previous add.
-
Method Details
-
reconstitutePreviousAddForReplay
void reconstitutePreviousAddForReplay(Map<Class<?>, Map<String, String>> library, PersistencePackage replayPackage) Must rematch up any items that are dependent on a previous add. For example, if you add a product, and then add a cross sale product, the cross sale will have an incorrect reference to the product state before the replay unless you update the cross sale to the new product value.- Parameters:
library- holds any previous addsreplayPackage- the change request
-
reconstitutePreviousAddForUpdateReplay
void reconstitutePreviousAddForUpdateReplay(Map<Class<?>, Map<String, String>> library, PersistencePackage replayPackage) Must rematch up any items that are dependent on a previous add. For example, if you add an offer and promote, and then another user edits a property on this add, the edit will have an incorrect reference to the offer state before the replay unless you update the edit to the new offer value.- Parameters:
library- holds any previous addsreplayPackage- the change request
-