@Test public void getItemsProperties() { Map<String, Map<String, String>> itemsProperties = elementPresenter.getSimpleItemsProperties(); assertNotNull(itemsProperties); }
@Override public Map<String, Map<String, String>> getSimpleItemsProperties() { return elementViewList.stream() .collect(Collectors.toMap(ElementView::getItemId, itemElementView -> propertyPresenter.getSimpleProperties(itemElementView.getItemId()))); }
ItemElementPresenter extends ElementPresenter<ItemElementView> implements ItemElementView.Presenter { @Override public Map<String, Map<String, String>> getSimpleItemsProperties() { return elementViewList.stream() .collect(Collectors.toMap(ElementView::getItemId, itemElementView -> propertyPresenter.getSimpleProperties(itemElementView.getItemId()))); } }
ItemElementPresenter extends ElementPresenter<ItemElementView> implements ItemElementView.Presenter { @Override public Map<String, Map<String, String>> getSimpleItemsProperties() { return elementViewList.stream() .collect(Collectors.toMap(ElementView::getItemId, itemElementView -> propertyPresenter.getSimpleProperties(itemElementView.getItemId()))); }  }
ItemElementPresenter extends ElementPresenter<ItemElementView> implements ItemElementView.Presenter { @Override public Map<String, Map<String, String>> getSimpleItemsProperties() { return elementViewList.stream() .collect(Collectors.toMap(ElementView::getItemId, itemElementView -> propertyPresenter.getSimpleProperties(itemElementView.getItemId()))); }  @Override LIElement getItemContainer(String itemId, Map<String, String> simplePropertiesMap, Map<String, Map<String, String>> expandablePropertiesValues); @Override void onToggleRowExpansion(ItemElementView itemElementView, boolean isShown); @Override void onEditItem(ItemElementView itemElementView); @Override void onStopEditingItem(ItemElementView itemElementView); @Override void updateItem(ItemElementView itemElementView); @Override void onDeleteItem(ItemElementView itemElementView); @Override Map<String, Map<String, String>> getSimpleItemsProperties(); @Override Map<String, Map<String, Map<String, String>>> getExpandableItemsProperties(); }
ItemElementPresenter extends ElementPresenter<ItemElementView> implements ItemElementView.Presenter { @Override public Map<String, Map<String, String>> getSimpleItemsProperties() { return elementViewList.stream() .collect(Collectors.toMap(ElementView::getItemId, itemElementView -> propertyPresenter.getSimpleProperties(itemElementView.getItemId()))); }  @Override LIElement getItemContainer(String itemId, Map<String, String> simplePropertiesMap, Map<String, Map<String, String>> expandablePropertiesValues); @Override void onToggleRowExpansion(ItemElementView itemElementView, boolean isShown); @Override void onEditItem(ItemElementView itemElementView); @Override void onStopEditingItem(ItemElementView itemElementView); @Override void updateItem(ItemElementView itemElementView); @Override void onDeleteItem(ItemElementView itemElementView); @Override Map<String, Map<String, String>> getSimpleItemsProperties(); @Override Map<String, Map<String, Map<String, String>>> getExpandableItemsProperties();  }