public class DefaultOrderEntryGroupingService extends Object implements OrderEntryGroupingService
| Constructor and Description |
|---|
DefaultOrderEntryGroupingService() |
| Modifier and Type | Method and Description |
|---|---|
protected List<AbstractOrderEntryModel> |
excludeCompletedEntries(AbstractOrderModel order)
Excludes the orderEntries from being grouped, if the there is nothing to be sourced in those orderEntries
|
Set<OrderEntryGroup> |
splitGroupByMatcher(OrderEntryGroup group,
OrderEntryMatcher<?> matcher)
Split a single order entry group into multiple groups using a single matcher.
|
Set<OrderEntryGroup> |
splitGroupsByMatcher(Set<OrderEntryGroup> groups,
OrderEntryMatcher<?> matcher)
Split an existing collection of order entry groups into smaller groups using a single matcher.
|
Set<OrderEntryGroup> |
splitOrderByMatchers(AbstractOrderModel order,
Collection<OrderEntryMatcher<?>> matchers)
Split an order into a groups of order entries based on a collection of matchers.
|
public Set<OrderEntryGroup> splitOrderByMatchers(AbstractOrderModel order, Collection<OrderEntryMatcher<?>> matchers)
OrderEntryGroupingServicesplitOrderByMatchers in interface OrderEntryGroupingServiceorder - - the abstract order entry modelmatchers - - the order entry matcherspublic Set<OrderEntryGroup> splitGroupsByMatcher(Set<OrderEntryGroup> groups, OrderEntryMatcher<?> matcher)
OrderEntryGroupingServicesplitGroupsByMatcher in interface OrderEntryGroupingServicegroups - - the collection of order entry groupsmatcher - - the order entry matcherpublic Set<OrderEntryGroup> splitGroupByMatcher(OrderEntryGroup group, OrderEntryMatcher<?> matcher)
OrderEntryGroupingServicesplitGroupByMatcher in interface OrderEntryGroupingServicegroup - - the order entry groupmatcher - - the order entry matcherprotected List<AbstractOrderEntryModel> excludeCompletedEntries(AbstractOrderModel order)
order - the order containing the orderEntries to be excludedCopyright © 2017 SAP SE. All Rights Reserved.