on 2018 Jun 12 1:00 PM
Hello Guys,
I have a question by implementing a DataLayer Object. I try to convert a List of OrderModels into a DataLayer Object, but I have no idea how to handle it.
I tried to implement a Populator, DataLayerData> but I can't use the Converts.convertAll() methode in my Facade, because it returns List. Is there a possibility of converting a List of Objects into a single Object with Hybris, or should I implement my own Populator which will do this job like
public DataLayerData getDataLayerData(final List<OrderModel> source) {
// do your job
}
Thanks for help so far!
Request clarification before answering.
| User | Count |
|---|---|
| 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.