Class EntityCollectionPropertyProcessor
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractPropertyProcessor
-
- de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractCollectionPropertyProcessor
-
- de.hybris.platform.odata2services.odata.persistence.populator.processor.EntityCollectionPropertyProcessor
-
- All Implemented Interfaces:
PropertyProcessor
public class EntityCollectionPropertyProcessor extends AbstractCollectionPropertyProcessor
-
-
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 EntityCollectionPropertyProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<org.apache.olingo.odata2.api.ep.entry.ODataEntry>deriveDataFeedEntries(ItemConversionRequest request, java.lang.String propertyName, java.lang.Object value)protected CreateItemStrategygetCreateItemStrategy()protected java.util.List<org.apache.olingo.odata2.api.ep.entry.ODataEntry>getListOfODataEntries(java.util.Collection<?> values, ItemConversionRequest request)protected ModelEntityServicegetModelEntityService()protected java.util.Collection<ItemModel>getNewCollectionEntries(StorageRequest request, java.util.List<org.apache.olingo.odata2.api.ep.entry.ODataEntry> entries, java.lang.String propertyName, ItemModel parent)protected java.util.Collection<ItemModel>getNewCollectionFor(AttributeDescriptorModel attr)protected booleanisApplicable(TypeAttributeDescriptor typeAttributeDescriptor)protected voidprocessItemInternal(ItemModel item, java.lang.String entryPropertyName, java.lang.Object value, StorageRequest request)voidsetCreateItemStrategy(CreateItemStrategy createItemStrategy)voidsetModelEntityService(ModelEntityService modelEntityService)-
Methods inherited from class de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractCollectionPropertyProcessor
canHandleEntityValue, processEntityInternal, shouldPropertyBeConverted
-
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
-
getNewCollectionFor
protected java.util.Collection<ItemModel> getNewCollectionFor(AttributeDescriptorModel attr)
-
getNewCollectionEntries
protected java.util.Collection<ItemModel> getNewCollectionEntries(StorageRequest request, java.util.List<org.apache.olingo.odata2.api.ep.entry.ODataEntry> entries, java.lang.String propertyName, ItemModel parent) throws org.apache.olingo.odata2.api.edm.EdmException
- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
deriveDataFeedEntries
protected 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
- Specified by:
deriveDataFeedEntriesin classAbstractCollectionPropertyProcessor- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getListOfODataEntries
protected java.util.List<org.apache.olingo.odata2.api.ep.entry.ODataEntry> getListOfODataEntries(java.util.Collection<?> values, ItemConversionRequest request) 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)
-
-