Class ProductList
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.ProductList
-
- All Implemented Interfaces:
Serializable
public class ProductList extends Object implements Serializable
A DTO that holds product references for bulk operations, and lists of failed request params.- Author:
- Marie Standeven
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProductList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)Set<String>getProductIdsForMissingEntities()The list of provided ids for which a Product could not be foundList<Product>getProducts()AllProductsand their details.Set<String>getProductUrisForMissingEntities()The list of provided uris for which a Product could not be foundinthashCode()voidsetProductIdsForMissingEntities(Set<String> productIdsForMissingEntities)The list of provided ids for which a Product could not be foundvoidsetProducts(List<Product> products)AllProductsand their details.voidsetProductUrisForMissingEntities(Set<String> productUrisForMissingEntities)The list of provided uris for which a Product could not be foundStringtoString()
-
-
-
Method Detail
-
getProducts
public List<Product> getProducts()
AllProductsand their details.- Returns:
- All
Productsfor this product.
-
getProductIdsForMissingEntities
public Set<String> getProductIdsForMissingEntities()
The list of provided ids for which a Product could not be found- Returns:
- The list of provided ids for which a Product could not be found
-
getProductUrisForMissingEntities
public Set<String> getProductUrisForMissingEntities()
The list of provided uris for which a Product could not be found- Returns:
- The list of provided uris for which a Product could not be found
-
setProducts
public void setProducts(List<Product> products)
AllProductsand their details.- Parameters:
productDetails- AllProductsfor this product.
-
setProductIdsForMissingEntities
public void setProductIdsForMissingEntities(Set<String> productIdsForMissingEntities)
The list of provided ids for which a Product could not be found- Parameters:
productIdsForMissingEntities- The list of provided ids for which a Product could not be found
-
setProductUrisForMissingEntities
public void setProductUrisForMissingEntities(Set<String> productUrisForMissingEntities)
The list of provided uris for which a Product could not be found- Parameters:
productUrisForMissingEntities- The list of provided uris for which a Product could not be found
-
canEqual
protected boolean canEqual(Object other)
-
-