public void loadFrom(FilterablePagingProvider<T> filterablePagingProvider, FilterableCountProvider filterableCountProvider, int pageLength) {
        this.fpp = filterablePagingProvider;
        this.fcp = filterableCountProvider;
        // Need to re-create the piggybackList & set container, some refactoring should be done here
        piggybackLazyList = new LazyList<>(new LazyList.PagingProvider<T>() {
            private static final long serialVersionUID = 1027614132444478021L;
            @Override
            public List<T> findEntities(int firstRow) {
                return fpp.findEntities(firstRow,
                        getCurrentFilter());
            }
        },
                new LazyList.CountProvider() {
            private static final long serialVersionUID = -7339189124024626177L;
            @Override
            public int size() {
                return fcp.size(getCurrentFilter());
            }
        }, pageLength);
        setBic(new DummyFilterableListContainer<T>(getType(),
                piggybackLazyList));
        getSelect().setContainerDataSource(getBic());
    }
public void loadFrom(FilterablePagingProvider<T> filterablePagingProvider, FilterableCountProvider filterableCountProvider, int pageLength) {
        this.fpp = filterablePagingProvider;
        this.fcp = filterableCountProvider;
       
        piggybackLazyList = new LazyList<>(new LazyList.PagingProvider<T>() {
            private static final long serialVersionUID = 1027614132444478021L;
            @Override
            public List<T> findEntities(int firstRow) {
                return fpp.findEntities(firstRow,
                        getCurrentFilter());
            }
        },
                new LazyList.CountProvider() {
            private static final long serialVersionUID = -7339189124024626177L;
            @Override
            public int size() {
                return fcp.size(getCurrentFilter());
            }
        }, pageLength);
        setBic(new DummyFilterableListContainer<T>(getType(),
                piggybackLazyList));
        getSelect().setContainerDataSource(getBic());
    }
public void loadfrom(filterablepagingprovider<t> filterablepagingprovider, filterablecountprovider filterablecountprovider, int pagelength) { this.fpp = filterablepagingprovider; this.fcp = filterablecountprovider; piggybacklazylist = new lazylist<>(new lazylist.pagingprovider<t>() { private static final long serialversionuid = 1027614132444478021l; @override public list<t> findentities(int firstrow) { return fpp.findentities(firstrow, getcurrentfilter()); } }, new lazylist.countprovider() { private static final long serialversionuid = -7339189124024626177l; @override public int size() { return fcp.size(getcurrentfilter()); } }, pagelength); setbic(new dummyfilterablelistcontainer<t>(gettype(), piggybacklazylist)); getselect().setcontainerdatasource(getbic()); }