Class DefaultEntityModelPopulator
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.persistence.populator.DefaultEntityModelPopulator
-
- All Implemented Interfaces:
EntityModelPopulator
public class DefaultEntityModelPopulator extends java.lang.Object implements EntityModelPopulator
Default implementation forEntityModelPopulator
-
-
Constructor Summary
Constructors Constructor Description DefaultEntityModelPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<PropertyProcessor>getPropertyProcessors()voidpopulateEntity(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, ItemConversionRequest conversionRequest)Populate oDataEntry with the given infovoidpopulateItem(ItemModel item, StorageRequest storageRequest)Populate ItemModel with the given infovoidsetPropertyProcessors(java.util.List<PropertyProcessor> propertyProcessors)
-
-
-
Method Detail
-
populateItem
public void populateItem(ItemModel item, StorageRequest storageRequest) throws org.apache.olingo.odata2.api.edm.EdmException
Description copied from interface:EntityModelPopulatorPopulate ItemModel with the given info- Specified by:
populateItemin interfaceEntityModelPopulator- Parameters:
item- The ItemModel to populatestorageRequest- The request context- Throws:
org.apache.olingo.odata2.api.edm.EdmException- -
-
populateEntity
public void populateEntity(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, ItemConversionRequest conversionRequest) throws org.apache.olingo.odata2.api.edm.EdmExceptionDescription copied from interface:EntityModelPopulatorPopulate oDataEntry with the given info- Specified by:
populateEntityin interfaceEntityModelPopulator- Parameters:
oDataEntry- The OData entryconversionRequest- the request context- Throws:
org.apache.olingo.odata2.api.edm.EdmException- -
-
getPropertyProcessors
protected java.util.List<PropertyProcessor> getPropertyProcessors()
-
setPropertyProcessors
public void setPropertyProcessors(java.util.List<PropertyProcessor> propertyProcessors)
-
-