Interface VirtualEntryGroupStrategy
-
- All Known Implementing Classes:
DefaultVirtualEntryGroupStrategy
public interface VirtualEntryGroupStrategyDefines how virtual entry groups are created in AbstractOrderData for standalone products.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateGroup(java.util.List<EntryGroupData> rootGroups, OrderEntryData standaloneEntry)Assigns the standalone entry to an entry group.
-
-
-
Method Detail
-
createGroup
void createGroup(@Nonnull java.util.List<EntryGroupData> rootGroups, @Nonnull OrderEntryData standaloneEntry)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
-
-