java.lang.Object
de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractPropertyProcessor
All Implemented Interfaces:
PropertyProcessor
Direct Known Subclasses:
AbstractCollectionPropertyProcessor, EntityPropertyProcessor, PrimitivePropertyProcessor

public abstract class AbstractPropertyProcessor extends Object implements PropertyProcessor
  • Constructor Details

    • AbstractPropertyProcessor

      public AbstractPropertyProcessor()
  • Method Details

    • processEntity

      public void processEntity(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, ItemConversionRequest conversionRequest) throws org.apache.olingo.odata2.api.edm.EdmException
      Description copied from interface: PropertyProcessor
      Populates properties of the specified ODataEntry.
      Specified by:
      processEntity in interface PropertyProcessor
      Parameters:
      oDataEntry - an entry to be populated from an ItemModel
      conversionRequest - a request carrying all context information needed for correct population of the entry by a specific implementation of the property populator.
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException - when unexpected problems occur while accessing the EDM info.
    • readPropertyValue

      protected Object readPropertyValue(TypeAttributeDescriptor descriptor, ItemConversionRequest conversionRequest)
    • shouldPropertyBeConverted

      protected boolean shouldPropertyBeConverted(ItemConversionRequest request, String propertyName)
    • isPropertySupported

      protected boolean isPropertySupported(TypeAttributeDescriptor descriptor)
    • isApplicable

      protected abstract boolean isApplicable(TypeAttributeDescriptor typeAttributeDescriptor)
    • getItemTypeDescriptorService

      protected ItemTypeDescriptorService getItemTypeDescriptorService()
    • setItemTypeDescriptorService

      public void setItemTypeDescriptorService(ItemTypeDescriptorService itemTypeDescriptorService)
    • processEntityInternal

      protected abstract void processEntityInternal(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, String propertyName, Object value, ItemConversionRequest request) throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException