Jean-Francois Leveque

Preimplementation pour tests

......@@ -2,5 +2,8 @@ package org.legrog.entities;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface PublisherRepository extends JpaRepository<Publisher, Integer> {
List<Publisher> findByValidatedVersionIsNotNull();
}
......
......@@ -21,4 +21,6 @@ public interface PublisherSearchRepository {
* @return list of matching IndexedPublishers
*/
List<IndexedPublisher> search(String string) throws SearchingException;
public void reindex(List<IndexedPublisher> inxdexedPublishers);
}
......
......@@ -64,4 +64,9 @@ public class PublisherSearchRepositorySolrj implements PublisherSearchRepository
return new ArrayList<>();
}
}
@Override
public void reindex(List<IndexedPublisher> inxdexedPublishers) {
}
}
......