public interface RelatedItemsCollector
theSource.
Note:
Please see ItemVisitorRegistry ItemVisitor for more information
| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_RECURSION_DEPTH |
| Modifier and Type | Method and Description |
|---|---|
<T extends ItemModel> |
collect(T theSource,
ItemVisitor<T> theStrategy,
Map<String,Object> ctx)
Travers given
theSource item against given ItemVisitor and returns all collected relatives. |
<T extends ItemModel> |
collect(T theSource,
Map<String,Object> ctx)
Travers given
theSource item against best matching ItemVisitor and returns all collected
relatives. |
static final String MAX_RECURSION_DEPTH
<T extends ItemModel> List<ItemModel> collect(T theSource, Map<String,Object> ctx)
theSource item against best matching ItemVisitor and returns all collected
relatives.
Note: T - specific model class derived from ItemModeltheSource - given itemctx - ctx given contexttheSource item<T extends ItemModel> List<ItemModel> collect(T theSource, ItemVisitor<T> theStrategy, Map<String,Object> ctx)
theSource item against given ItemVisitor and returns all collected relatives.T - theSource - given itemtheStrategy - given ItemVisitorctx - given contexttheSource item and given theStrategyCopyright © 2017 SAP SE. All Rights Reserved.