Class CategoryDetailsRequest

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

public class CategoryDetailsRequest extends Object implements Serializable
A structure representing a request for a commerce-facing category details page or section included identifying information for the category for which to get details and interesting context information.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • CategoryDetailsRequest

      public CategoryDetailsRequest(String categoryUrl, String categoryId, org.springframework.data.domain.Pageable productPageInfo, org.springframework.util.MultiValueMap<String,String> attributes)
    • CategoryDetailsRequest

      public CategoryDetailsRequest()
  • Method Details

    • getCategoryUrl

      public String getCategoryUrl()
      The category URL to match against. If categoryId is non-null, then it is used instead of this field.
      Returns:
      The category URL to match against.
    • getCategoryId

      public String getCategoryId()
      The category ID to match against. If this field is non-null, then it is used instead of categoryUrl.
      Returns:
      The category ID to match against.
    • getProductPageInfo

      public org.springframework.data.domain.Pageable getProductPageInfo()
      Pagination info to apply to theproducts included in the response.
      Returns:
      Pagination info to apply to theproducts included in the response
    • getAttributes

      public org.springframework.util.MultiValueMap<String,String> getAttributes()
      Map holding any additional attributes passed in the request not matching any defined properties.
    • setCategoryUrl

      public void setCategoryUrl(String categoryUrl)
      The category URL to match against. If categoryId is non-null, then it is used instead of this field.
      Parameters:
      categoryUrl - The category URL to match against.
    • setCategoryId

      public void setCategoryId(String categoryId)
      The category ID to match against. If this field is non-null, then it is used instead of categoryUrl.
      Parameters:
      categoryId - The category ID to match against.
    • setProductPageInfo

      public void setProductPageInfo(org.springframework.data.domain.Pageable productPageInfo)
      Pagination info to apply to theproducts included in the response.
      Parameters:
      productPageInfo - Pagination info to apply to theproducts included in the response
    • setAttributes

      public void setAttributes(org.springframework.util.MultiValueMap<String,String> attributes)
      Map holding any additional attributes passed in the request not matching any defined properties.
    • 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