Class DataDrivenEnumDetailsRequest

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

public class DataDrivenEnumDetailsRequest extends Object implements Serializable
A structure representing a request for a commerce-facing data driven enum details section included identifying information for the data driven enum for which to get details and interesting context information.
Author:
Sunny Yu
See Also:
  • Constructor Details

    • DataDrivenEnumDetailsRequest

      public DataDrivenEnumDetailsRequest(Set<String> dataDrivenEnumIds, boolean checkIfAssociatedCategoryExist, org.springframework.util.MultiValueMap<String,String> attributes)
    • DataDrivenEnumDetailsRequest

      public DataDrivenEnumDetailsRequest()
  • Method Details

    • getDataDrivenEnumIds

      public Set<String> getDataDrivenEnumIds()
      The data driven enum IDs matching the data driven enums for which DataDrivenEnumDetails are requested.
      Returns:
      The DataDrivenEnum.getId() data driven enum IDs} matching the data driven enums for which DataDrivenEnumDetails are requested
    • isCheckIfAssociatedCategoryExist

      public boolean isCheckIfAssociatedCategoryExist()
      Whether this request should also check if an associated category exists based on the expected category url for the data driven enum value.
      Returns:
      true if it should be checked, otherwise false
    • getAttributes

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

      public void setDataDrivenEnumIds(Set<String> dataDrivenEnumIds)
      The data driven enum IDs matching the data driven enums for which DataDrivenEnumDetails are requested.
      Parameters:
      dataDrivenEnumIds - The DataDrivenEnum.getId() data driven enum IDs} matching the data driven enums for which DataDrivenEnumDetails are requested
    • setCheckIfAssociatedCategoryExist

      public void setCheckIfAssociatedCategoryExist(boolean checkIfAssociatedCategoryExist)
      Whether this request should also check if an associated category exists based on the expected category url for the data driven enum value.
      Parameters:
      checkIfAssociatedCategoryExist - Whether this request should also check if an associated category exists based on the data driven enum value
    • 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