Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-03-09 12:37:37 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eca60e2f0ed2a3a0e65d423e1b21bbd75e734700
eca60e2f
1 parent
429977df
Preimplementation pour tests
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
src/main/java/org/legrog/entities/PublisherRepository.java
src/main/java/org/legrog/entities/PublisherSearchRepository.java
src/main/java/org/legrog/entities/PublisherSearchRepositorySolrj.java
src/main/java/org/legrog/entities/PublisherRepository.java
View file @
eca60e2
...
...
@@ -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
();
}
...
...
src/main/java/org/legrog/entities/PublisherSearchRepository.java
View file @
eca60e2
...
...
@@ -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
);
}
...
...
src/main/java/org/legrog/entities/PublisherSearchRepositorySolrj.java
View file @
eca60e2
...
...
@@ -64,4 +64,9 @@ public class PublisherSearchRepositorySolrj implements PublisherSearchRepository
return
new
ArrayList
<>();
}
}
@Override
public
void
reindex
(
List
<
IndexedPublisher
>
inxdexedPublishers
)
{
}
}
...
...
Please
register
or
login
to post a comment