Class SoftDeleteProcessor

java.lang.Object
io.jmix.eclipselink.impl.mapping.SoftDeleteProcessor
All Implemented Interfaces:
DescriptorProcessor, MappingProcessor

@Component("eclipselink_SoftDeleteProcessor") public class SoftDeleteProcessor extends Object implements MappingProcessor, DescriptorProcessor
Modifies mapping to support soft delete feature. Updates softDeletionForBatch and softDeletionForValueHolder properties using corresponding setters.
  • Field Details

    • metadata

      @Autowired protected Metadata metadata
    • metadataTools

      @Autowired protected MetadataTools metadataTools
    • entityStates

      @Autowired protected EntityStates entityStates
  • Constructor Details

    • SoftDeleteProcessor

      public SoftDeleteProcessor()
  • Method Details

    • process

      public void process(MappingProcessorContext context)
      Description copied from interface: MappingProcessor
      Updates mapping according to the processor's aim. Can be used to enable lazy fetch, add join expression, etc.
      Specified by:
      process in interface MappingProcessor
      Parameters:
      context - Context data contains objects that cannot be injected.
    • process

      public void process(DescriptorProcessorContext context)
      Description copied from interface: DescriptorProcessor
      Updates entity descriptor according to the processor's aim.
      Specified by:
      process in interface DescriptorProcessor
      Parameters:
      context - Context data contains objects that cannot be injected.