Class DataDrivenEnumResponse
java.lang.Object
com.broadleafcommerce.dataexchange.service.provider.domain.DataDrivenEnumResponse
Represents the response from a bulk fetch of data driven enums.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataDrivenEnum
(DataDrivenEnum dataDrivenEnum) void
addDataDrivenEnums
(Collection<DataDrivenEnum> dataDrivenEnums) boolean
getDataDrivenEnum
(String type, String value) The data driven enums, keyed by type and then value.getMerchandisingType
(String value) getTargetDemographic
(String value)
-
Constructor Details
-
DataDrivenEnumResponse
public DataDrivenEnumResponse() -
DataDrivenEnumResponse
-
-
Method Details
-
addDataDrivenEnum
-
addDataDrivenEnums
-
getDataDrivenEnum
-
getDataDrivenEnumById
-
getMerchandisingType
-
getBrand
-
getTargetDemographic
-
contains
-
getDataDrivenEnums
The data driven enums, keyed by type and then value. For example, the primary key may be "MERCHANDISING_TYPE" and the returned map may contain an entry for "SHIRTS". Generally, the utility methods should be used to access this data. -
getEnumsById
-