Interface VirtualEntryGroupStrategy
- All Known Implementing Classes:
DefaultVirtualEntryGroupStrategy
public interface VirtualEntryGroupStrategy
Defines how virtual entry groups are created in AbstractOrderData for standalone products.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateGroup(List<EntryGroupData> rootGroups, OrderEntryData standaloneEntry) Assigns the standalone entry to an entry group.
-
Method Details
-
createGroup
Assigns the standalone entry to an entry group. The groups can be any ofrootGroups, their children or a new one. In the last case the implementation should attach the new group to the appropriate parent amongrootGroups.- Parameters:
rootGroups- entry group structure. All grouped entries are already in.standaloneEntry- a standalone entry
-