Class ResponseWriterPropertyPopulatorRegistry
java.lang.Object
de.hybris.platform.odata2services.odata.processor.writer.ResponseWriterPropertyPopulatorRegistry
Registry that manages and provides a collection of
ResponseWriterPropertyPopulator-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<ResponseWriterPropertyPopulator>getPopulators(ItemLookupRequest itemLookupRequest) Iterate over the populators and return the ones that apply based on the ItemLookupRequest information.voidsetPopulators(Collection<ResponseWriterPropertyPopulator> populators)
-
Constructor Details
-
ResponseWriterPropertyPopulatorRegistry
public ResponseWriterPropertyPopulatorRegistry()
-
-
Method Details
-
getPopulators
public Collection<ResponseWriterPropertyPopulator> getPopulators(ItemLookupRequest itemLookupRequest) Iterate over the populators and return the ones that apply based on the ItemLookupRequest information.- Parameters:
itemLookupRequest- Use to determine whatResponseWriterPropertyPopulatorwill be used- Returns:
- An
EntityReader - Throws:
RuntimeException- or a derivative of it if noEntityReaderis found
-
getPopulators
-
setPopulators
-