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 boolean
canEqual(Object other)
boolean
equals(Object o)
Set<String>
getProductIdsForMissingEntities()
The list of provided ids for which a Product could not be foundList<Product>
getProducts()
AllProducts
and their details.Set<String>
getProductUrisForMissingEntities()
The list of provided uris for which a Product could not be foundint
hashCode()
void
setProductIdsForMissingEntities(Set<String> productIdsForMissingEntities)
The list of provided ids for which a Product could not be foundvoid
setProducts(List<Product> products)
AllProducts
and their details.void
setProductUrisForMissingEntities(Set<String> productUrisForMissingEntities)
The list of provided uris for which a Product could not be foundString
toString()
-
-
-
Method Detail
-
getProducts
public List<Product> getProducts()
AllProducts
and their details.- Returns:
- All
Products
for 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)
AllProducts
and their details.- Parameters:
productDetails
- AllProducts
for 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)
-
-