@Override public List<GroupInfo> getGroupPath(E entity) { return getGroupDatasource().getGroupPath(entity); }
@SuppressWarnings("unchecked") @Override public void setDatasource(CollectionDatasource datasource) { if (datasource == null) { setItems(null); } else { if (!(datasource instanceof GroupDatasource)) { throw new IllegalArgumentException("GroupTable supports only GroupDatasource"); } setItems(new DatasourceGroupTableItems((GroupDatasource) datasource)); } }
@Override public void groupBy(Object[] properties) { getGroupDatasource().groupBy(properties); }
@Override public Collection<?> getGroupProperties() { return getGroupDatasource().getGroupProperties(); }
@Nullable @Override public GroupInfo getParentGroup(E entity) { return getGroupDatasource().getParentGroup(entity); }
@Override public boolean containsGroup(GroupInfo groupId) { return getGroupDatasource().containsGroup(groupId); } }
@Override public List<GroupInfo> getChildren(GroupInfo groupId) { return getGroupDatasource().getChildren(groupId); }
@Override public List<E> getChildItems(GroupInfo groupId) { return getGroupDatasource().getChildItems(groupId); }
@Override public Object getGroupPropertyValue(GroupInfo groupId) { return getGroupDatasource().getGroupPropertyValue(groupId); }
@Override public Collection<?> getGroupItemIds(GroupInfo groupId) { return getGroupDatasource().getGroupItemIds(groupId); }
@Override public List<GroupInfo> rootGroups() { return getGroupDatasource().rootGroups(); }
@Override public boolean hasChildren(GroupInfo groupId) { return getGroupDatasource().hasChildren(groupId); }
@Override public Object getGroupProperty(GroupInfo groupId) { return getGroupDatasource().getGroupProperty(groupId); }
@Override public List<E> getOwnChildItems(GroupInfo groupId) { return getGroupDatasource().getOwnChildItems(groupId); }
@Override public int getGroupItemsCount(GroupInfo groupId) { return getGroupDatasource().getGroupItemsCount(groupId); }
@Override public boolean hasGroups() { return getGroupDatasource().hasGroups(); }