allow mongo implementation of IDeleteExpungeSvc (#4352)
This commit is contained in:
parent
c6733b1111
commit
9c388279a6
|
@ -35,7 +35,7 @@ import java.util.List;
|
|||
import java.util.stream.Collectors;
|
||||
|
||||
@Transactional(propagation = Propagation.MANDATORY)
|
||||
public class DeleteExpungeSvcImpl implements IDeleteExpungeSvc {
|
||||
public class DeleteExpungeSvcImpl implements IDeleteExpungeSvc<JpaPid> {
|
||||
private static final Logger ourLog = LoggerFactory.getLogger(DeleteExpungeSvcImpl.class);
|
||||
|
||||
private final EntityManager myEntityManager;
|
||||
|
|
|
@ -21,13 +21,14 @@ package ca.uhn.fhir.jpa.api.svc;
|
|||
*/
|
||||
|
||||
import ca.uhn.fhir.jpa.model.dao.JpaPid;
|
||||
import ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId;
|
||||
import org.springframework.transaction.annotation.Propagation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Transactional(propagation = Propagation.MANDATORY)
|
||||
public interface IDeleteExpungeSvc {
|
||||
public interface IDeleteExpungeSvc<T extends IResourcePersistentId<?>> {
|
||||
|
||||
void deleteExpunge(List<JpaPid> thePersistentIds);
|
||||
void deleteExpunge(List<T> thePersistentIds);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue