public class ProductList
extends java.lang.Object
Constructor and Description |
---|
ProductList() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getAllProductIds()
Returns all existing product ids.
|
static java.util.List<Product> |
getProducts(java.util.List<java.lang.String> productIds)
Returns the products, found for the list of product ids.
|
public static java.util.List<Product> getProducts(java.util.List<java.lang.String> productIds)
productIds
- The list of product ids.
All elements in this list must be of type java.lang.String.ch.e2e.examples.list.Product
.public static java.util.List<java.lang.String> getAllProductIds()
java.lang.String
.