Class AbstractCollectionPropertyProcessor
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractPropertyProcessor
-
- de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractCollectionPropertyProcessor
-
- All Implemented Interfaces:
PropertyProcessor
- Direct Known Subclasses:
EntityCollectionPropertyProcessor,LocalizedAttributesPropertyProcessor,PrimitiveCollectionPropertyProcessor
public abstract class AbstractCollectionPropertyProcessor extends AbstractPropertyProcessor
Base implementation for property processors dealing with properties of collection type.
-
-
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 AbstractCollectionPropertyProcessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected booleancanHandleEntityValue(java.lang.Object value)protected abstract java.util.List<org.apache.olingo.odata2.api.ep.entry.ODataEntry>deriveDataFeedEntries(ItemConversionRequest request, java.lang.String propertyName, java.lang.Object value)protected voidprocessEntityInternal(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, java.lang.String propertyName, java.lang.Object value, ItemConversionRequest request)protected booleanshouldPropertyBeConverted(ItemConversionRequest conversionRequest, java.lang.String propertyName)-
Methods inherited from class de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractPropertyProcessor
findTypeDescriptorAttributeForItem, getAttributeDescriptor, getIntegrationObjectService, getModelService, getTypeService, isApplicable, isItemPropertySettable, isPropertySupported, processEntity, processItem, processItemInternal, readPropertyValue, setIntegrationObjectService, setModelService, setTypeService
-
-
-
-
Method Detail
-
processEntityInternal
protected void processEntityInternal(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, java.lang.String propertyName, java.lang.Object value, ItemConversionRequest request) 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 conversionRequest, java.lang.String propertyName) throws org.apache.olingo.odata2.api.edm.EdmException
- Specified by:
shouldPropertyBeConvertedin classAbstractPropertyProcessor- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
canHandleEntityValue
protected boolean canHandleEntityValue(java.lang.Object value)
-
deriveDataFeedEntries
protected abstract java.util.List<org.apache.olingo.odata2.api.ep.entry.ODataEntry> deriveDataFeedEntries(ItemConversionRequest request, java.lang.String propertyName, java.lang.Object value) throws org.apache.olingo.odata2.api.edm.EdmException
- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
-