Class BrowseEntityDetails

java.lang.Object
com.broadleafcommerce.catalog.domain.commerce.BrowseEntityDetails
All Implemented Interfaces:
Serializable

public class BrowseEntityDetails extends Object implements Serializable
A structure containing either a ProductDetails or a CategoryDetails for a BrowseDetailsRequest.

Note: In the case of a category matching the URIs requested, only one category may be returned.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • BrowseEntityDetails

      public BrowseEntityDetails()
    • BrowseEntityDetails

      public BrowseEntityDetails(List<ProductDetails> productDetails, CategoryDetails categoryDetails, Set<String> urisForMissingEntities)
      Creates a new BrowseEntityDetails instance.
      Parameters:
      productDetails - The products that matched the requested URIs.
      categoryDetails - The category that matched the requested URI.
      urisForMissingEntities - All BrowseDetailsRequest.getUris() that failed to match known Products or Categories.
  • Method Details