Package com.vaadin.v7.data
Class ContainerHelpers
- java.lang.Object
-
- com.vaadin.v7.data.ContainerHelpers
-
- All Implemented Interfaces:
Serializable
@Deprecated public class ContainerHelpers extends Object implements Serializable
Deprecated.As of 8.0, no direct replacement available, seeDataProviderContains helper methods for containers that can be used to ease development of containers in Vaadin.- Since:
- 7.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContainerHelpers()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static List<?>getItemIdsUsingGetIdByIndex(int startIndex, int numberOfIds, Container.Indexed container)Deprecated.Get a range of item ids from the container usingContainer.Indexed.getIdByIndex(int).
-
-
-
Method Detail
-
getItemIdsUsingGetIdByIndex
public static List<?> getItemIdsUsingGetIdByIndex(int startIndex, int numberOfIds, Container.Indexed container)
Deprecated.Get a range of item ids from the container usingContainer.Indexed.getIdByIndex(int). This is just a helper method to aid developers to quickly add the required functionality to a Container during development. This should not be used in a "finished product" unless fetching an id for an index is very inexpensive because a separate request will be performed for each index in the range.- Parameters:
startIndex- index of the first item id to getnumberOfIds- the number of consecutive items whose ids should be returnedcontainer- the container from which the items should be fetched- Returns:
- A list of item ids in the range specified
-
-