on 08-25-2015 7:56 AM
Hi experts,
I want to know , What is the main difference between normal populator and reverse populator.
Please clarify my doubt.
Populator's are used to populate or convert the Data models objects into data transfer objects(DTO).
Reverse Populator's are used to populate or convert the Form data Objects or dto into model Objects. While registering any user it captures the data in the Form Object(RegisterForm) then reverse populator do the conversion or population of this Form object to Model Object.
Reference for reverse populator in OOTB(b2bacceleratorfacades/resources/b2bacceleratorfacades-spring.xml) b2BBudgetReversePopulator
b2BCostCenterReversePopulator
b2BPermissionReversePopulator
b2BCustomerReversePopulator
b2BUnitReversePopulator
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
B2C channel you can check AddressPopulator and AddressReversePopulator here you can see parameters in populate method source is DTO and target is Model.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Reverse populators are used to populate attributes from data/dto to Models.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.