Class DataDrivenEnumDetailsRequest

    • Constructor Detail

      • DataDrivenEnumDetailsRequest

        public DataDrivenEnumDetailsRequest()
      • DataDrivenEnumDetailsRequest

        public DataDrivenEnumDetailsRequest​(Set<String> dataDrivenEnumIds,
                                            boolean checkIfAssociatedCategoryExist,
                                            org.springframework.util.MultiValueMap<String,​String> attributes,
                                            com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • Method Detail

      • 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.
      • getContextInfo

        public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
        The ContextInfo derived from the original request containing tenant and sandbox info.
        Returns:
        The ContextInfo derived from the original request
      • 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.
      • setContextInfo

        public void setContextInfo​(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        The ContextInfo derived from the original request containing tenant and sandbox info.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object