Class ResponseWriterPropertyPopulatorRegistry
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.processor.writer.ResponseWriterPropertyPopulatorRegistry
-
public class ResponseWriterPropertyPopulatorRegistry extends java.lang.ObjectRegistry that manages and provides a collection ofResponseWriterPropertyPopulator
-
-
Constructor Summary
Constructors Constructor Description ResponseWriterPropertyPopulatorRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Collection<ResponseWriterPropertyPopulator>getPopulators()java.util.Collection<ResponseWriterPropertyPopulator>getPopulators(ItemLookupRequest itemLookupRequest)Iterate over the populators and return the ones that apply based on the ItemLookupRequest information.voidsetPopulators(java.util.Collection<ResponseWriterPropertyPopulator> populators)
-
-
-
Method Detail
-
getPopulators
public java.util.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:
java.lang.RuntimeException- or a derivative of it if noEntityReaderis found
-
getPopulators
protected java.util.Collection<ResponseWriterPropertyPopulator> getPopulators()
-
setPopulators
public void setPopulators(java.util.Collection<ResponseWriterPropertyPopulator> populators)
-
-