Class CategoryList

java.lang.Object
com.broadleafcommerce.catalogbrowse.domain.CategoryList
All Implemented Interfaces:
Serializable

public class CategoryList extends Object implements Serializable
A DTO that holds category references for bulk operations, and lists of failed request params.
Since:
Catalog Browse Service 2.1.0, Release Train 2.2.0
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • CategoryList

      public CategoryList()
  • Method Details

    • getCategories

      @NonNull public List<Category> getCategories()
      All Categories and their details.
      Returns:
      All Categories for this list.
    • getCategoryIdsForMissingEntities

      @NonNull public Set<String> getCategoryIdsForMissingEntities()
      The list of provided ids for which a Category could not be found
      Returns:
      The list of provided ids for which a Category could not be found
    • getCategoryUrisForMissingEntities

      @NonNull public Set<String> getCategoryUrisForMissingEntities()
      The list of provided uris for which a Category could not be found
      Returns:
      The list of provided uris for which a Category could not be found
    • setCategories

      public void setCategories(@NonNull List<Category> categories)
      All Categories and their details.
      Parameters:
      productDetails - All Categories for this list.
    • setCategoryIdsForMissingEntities

      public void setCategoryIdsForMissingEntities(@NonNull Set<String> categoryIdsForMissingEntities)
      The list of provided ids for which a Category could not be found
      Parameters:
      categoryIdsForMissingEntities - The list of provided ids for which a Category could not be found
    • setCategoryUrisForMissingEntities

      public void setCategoryUrisForMissingEntities(@NonNull Set<String> categoryUrisForMissingEntities)
      The list of provided uris for which a Category could not be found
      Parameters:
      categoryUrisForMissingEntities - The list of provided uris for which a Category could not be found
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object