All filterable containers do not have any method as such to return all items which includes visible and hidden items.
Following is a method by which we can achieve the above purpose. But this has protected modifier and also the javadoc says may disappear in future versions.
[color=#008000]
getAllItemIds protected java.util.List getAllItemIds()Internal helper method to get the internal list of all item identifiers. Avoid using this method outside this class, may disappear in future versions.
Returns:
List
List com.vaadin.data.util.AbstractInMemoryContainer.getAllItemIds()
Internal helper method to get the internal list of all item identifiers. Avoid using this method outside this class, may disappear in future versions.
[/color]
For my application purpose I need unfiltered items.
I can subclass the Implemented Filterable Containers. But that is just a temporary hack.
Why cant there be public method exposed to get filtered+unfiltered items?