Class 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 Detail

      • ProductList

        public ProductList()
    • Method Detail

      • 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)
        All Products and their details.
        Parameters:
        productDetails - All Products 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object