Class DataDrivenEnumDetailsRequest
java.lang.Object
com.broadleafcommerce.catalog.domain.enumeration.commerce.DataDrivenEnumDetailsRequest
- All Implemented Interfaces:
- 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 SummaryConstructorsConstructorDescriptionDataDrivenEnumDetailsRequest(Set<String> dataDrivenEnumIds, boolean checkIfAssociatedCategoryExist, org.springframework.util.MultiValueMap<String, String> attributes) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanMap holding any additional attributes passed in the request not matching any defined properties.Thedata driven enum IDsmatching the data driven enums for whichDataDrivenEnumDetailsare requested.inthashCode()booleanWhether this request should also check if an associated category exists based on the expected category url for thedata driven enum value.voidsetAttributes(org.springframework.util.MultiValueMap<String, String> attributes) Map holding any additional attributes passed in the request not matching any defined properties.voidsetCheckIfAssociatedCategoryExist(boolean checkIfAssociatedCategoryExist) Whether this request should also check if an associated category exists based on the expected category url for thedata driven enum value.voidsetDataDrivenEnumIds(Set<String> dataDrivenEnumIds) Thedata driven enum IDsmatching the data driven enums for whichDataDrivenEnumDetailsare requested.toString()
- 
Constructor Details- 
DataDrivenEnumDetailsRequest
- 
DataDrivenEnumDetailsRequestpublic DataDrivenEnumDetailsRequest()
 
- 
- 
Method Details- 
getDataDrivenEnumIdsThedata driven enum IDsmatching the data driven enums for whichDataDrivenEnumDetailsare requested.- Returns:
- The DataDrivenEnum.getId()data driven enum IDs} matching the data driven enums for whichDataDrivenEnumDetailsare requested
 
- 
isCheckIfAssociatedCategoryExistpublic boolean isCheckIfAssociatedCategoryExist()Whether this request should also check if an associated category exists based on the expected category url for thedata driven enum value.- Returns:
- true if it should be checked, otherwise false
 
- 
getAttributesMap holding any additional attributes passed in the request not matching any defined properties.
- 
setDataDrivenEnumIdsThedata driven enum IDsmatching the data driven enums for whichDataDrivenEnumDetailsare requested.- Parameters:
- dataDrivenEnumIds- The- DataDrivenEnum.getId()data driven enum IDs} matching the data driven enums for which- DataDrivenEnumDetailsare requested
 
- 
setCheckIfAssociatedCategoryExistpublic void setCheckIfAssociatedCategoryExist(boolean checkIfAssociatedCategoryExist) Whether this request should also check if an associated category exists based on the expected category url for thedata driven enum value.- Parameters:
- checkIfAssociatedCategoryExist- Whether this request should also check if an associated category exists based on the- data driven enum value
 
- 
setAttributesMap holding any additional attributes passed in the request not matching any defined properties.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
toString
 
-