Class PidToIBaseResourceProcessor

java.lang.Object
ca.uhn.fhir.jpa.batch.processor.PidToIBaseResourceProcessor
All Implemented Interfaces:
org.springframework.batch.item.ItemProcessor<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>,List<org.hl7.fhir.instance.model.api.IBaseResource>>

public class PidToIBaseResourceProcessor extends Object implements org.springframework.batch.item.ItemProcessor<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>,List<org.hl7.fhir.instance.model.api.IBaseResource>>
Reusable Item Processor which converts ResourcePersistentIds to their IBaseResources
  • Constructor Details

  • Method Details

    • process

      public List<org.hl7.fhir.instance.model.api.IBaseResource> process(List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theResourcePersistentId)
      Specified by:
      process in interface org.springframework.batch.item.ItemProcessor<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>,List<org.hl7.fhir.instance.model.api.IBaseResource>>