Class EntityPropertyProcessor
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractPropertyProcessor
-
- de.hybris.platform.odata2services.odata.persistence.populator.processor.EntityPropertyProcessor
-
- All Implemented Interfaces:
PropertyProcessor
public class EntityPropertyProcessor extends AbstractPropertyProcessor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractPropertyProcessor
AbstractPropertyProcessor.PropertyMetadata
-
-
Constructor Summary
Constructors Constructor Description EntityPropertyProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CreateItemStrategydetermineCreateStrategy(org.apache.olingo.odata2.api.edm.EdmEntityType entityType, java.lang.String propertyName)protected CreateItemStrategygetCreateItemStrategy()protected ModelEntityServicegetModelEntityService()protected booleanisApplicable(TypeAttributeDescriptor typeAttributeDescriptor)protected voidprocessEntityInternal(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, java.lang.String propertyName, java.lang.Object value, ItemConversionRequest conversionRequest)protected voidprocessItemInternal(ItemModel item, java.lang.String entryPropertyName, java.lang.Object value, StorageRequest request)voidsetCreateItemStrategy(CreateItemStrategy createItemStrategy)voidsetModelEntityService(ModelEntityService modelEntityService)protected booleanshouldPropertyBeConverted(ItemConversionRequest request, java.lang.String propertyName)-
Methods inherited from class de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractPropertyProcessor
findTypeDescriptorAttributeForItem, getAttributeDescriptor, getIntegrationObjectService, getModelService, getTypeService, isItemPropertySettable, isPropertySupported, processEntity, processItem, readPropertyValue, setIntegrationObjectService, setModelService, setTypeService
-
-
-
-
Method Detail
-
isApplicable
protected boolean isApplicable(TypeAttributeDescriptor typeAttributeDescriptor)
- Specified by:
isApplicablein classAbstractPropertyProcessor
-
processItemInternal
protected void processItemInternal(ItemModel item, java.lang.String entryPropertyName, java.lang.Object value, StorageRequest request) throws org.apache.olingo.odata2.api.edm.EdmException
- Specified by:
processItemInternalin classAbstractPropertyProcessor- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
processEntityInternal
protected void processEntityInternal(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, java.lang.String propertyName, java.lang.Object value, ItemConversionRequest conversionRequest) throws org.apache.olingo.odata2.api.edm.EdmException- Specified by:
processEntityInternalin classAbstractPropertyProcessor- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
shouldPropertyBeConverted
protected boolean shouldPropertyBeConverted(ItemConversionRequest request, java.lang.String propertyName) throws org.apache.olingo.odata2.api.edm.EdmException
- Specified by:
shouldPropertyBeConvertedin classAbstractPropertyProcessor- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
determineCreateStrategy
protected CreateItemStrategy determineCreateStrategy(org.apache.olingo.odata2.api.edm.EdmEntityType entityType, java.lang.String propertyName) throws org.apache.olingo.odata2.api.edm.EdmException
- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getModelEntityService
protected ModelEntityService getModelEntityService()
-
setModelEntityService
public void setModelEntityService(ModelEntityService modelEntityService)
-
getCreateItemStrategy
protected CreateItemStrategy getCreateItemStrategy()
-
setCreateItemStrategy
public void setCreateItemStrategy(CreateItemStrategy createItemStrategy)
-
-