Class PrimitiveCollectionPropertyProcessor
- 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.PrimitiveCollectionPropertyProcessor
-
- All Implemented Interfaces:
PropertyProcessor
public class PrimitiveCollectionPropertyProcessor 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 PrimitiveCollectionPropertyProcessor()
-
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<java.lang.Object>getEntryValues(java.util.List<org.apache.olingo.odata2.api.ep.entry.ODataEntry> collectionEntries)protected ModelEntityServicegetModelEntityService()protected java.util.Collection<java.lang.Object>getNewCollectionFor(AttributeDescriptorModel attr)protected booleanisApplicable(TypeAttributeDescriptor typeAttributeDescriptor)protected voidprocessItemInternal(ItemModel item, java.lang.String propertyName, 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 propertyName, 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
-
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
-
getEntryValues
protected java.util.List<java.lang.Object> getEntryValues(java.util.List<org.apache.olingo.odata2.api.ep.entry.ODataEntry> collectionEntries)
-
getNewCollectionFor
protected java.util.Collection<java.lang.Object> getNewCollectionFor(AttributeDescriptorModel attr)
-
getModelEntityService
protected ModelEntityService getModelEntityService()
-
setModelEntityService
public void setModelEntityService(ModelEntityService modelEntityService)
-
getCreateItemStrategy
protected CreateItemStrategy getCreateItemStrategy()
-
setCreateItemStrategy
public void setCreateItemStrategy(CreateItemStrategy createItemStrategy)
-
-