Revision 45455
Added by Alessia Bardi over 7 years ago
OAIStoreServiceImpl.java | ||
---|---|---|
5 | 5 |
import eu.dnetlib.enabling.resultset.client.ResultSetClient; |
6 | 6 |
import eu.dnetlib.enabling.tools.AbstractBaseService; |
7 | 7 |
import eu.dnetlib.enabling.tools.blackboard.NotificationHandler; |
8 |
import eu.dnetlib.oai.conf.OAISetHelper; |
|
9 |
import eu.dnetlib.oai.conf.OAISetsCounter; |
|
10 | 8 |
import eu.dnetlib.oai.mongo.MongoPublisherStore; |
11 | 9 |
import eu.dnetlib.oai.mongo.MongoPublisherStoreDAO; |
10 |
import eu.dnetlib.oai.sets.OAISetsCounter; |
|
12 | 11 |
import eu.dnetlib.oai.sync.OAIStoreSynchronizer; |
12 |
import eu.dnetlib.oai.utils.OAIHelper; |
|
13 | 13 |
import eu.dnetlib.rmi.common.ResultSet; |
14 | 14 |
import eu.dnetlib.rmi.provision.MDFInfo; |
15 | 15 |
import eu.dnetlib.rmi.provision.OAIStoreService; |
... | ... | |
31 | 31 |
@Resource(name = "oaiSetsCounter") |
32 | 32 |
private OAISetsCounter setsCounter; |
33 | 33 |
@Autowired |
34 |
private OAISetHelper oaiSetHelper;
|
|
34 |
private OAIHelper oaiHelper;
|
|
35 | 35 |
@Autowired |
36 | 36 |
private ResultSetClient resultSetClient; |
37 | 37 |
|
... | ... | |
58 | 58 |
|
59 | 59 |
@Override |
60 | 60 |
public void refreshConfiguration(final String dbName) { |
61 |
this.oaiSetHelper.loadConfiguration(dbName);
|
|
61 |
this.oaiHelper.loadConfiguration(dbName); |
|
62 | 62 |
} |
63 | 63 |
|
64 | 64 |
@Override |
... | ... | |
103 | 103 |
this.setsCounter = setsCounter; |
104 | 104 |
} |
105 | 105 |
|
106 |
public OAISetHelper getOaiSetHelper() {
|
|
107 |
return this.oaiSetHelper;
|
|
106 |
public OAIHelper getOaiSetHelper() { |
|
107 |
return this.oaiHelper; |
|
108 | 108 |
} |
109 | 109 |
|
110 |
public void setOaiSetHelper(final OAISetHelper oaiSetHelper) {
|
|
111 |
this.oaiSetHelper = oaiSetHelper;
|
|
110 |
public void setOaiSetHelper(final OAIHelper oaiHelper) {
|
|
111 |
this.oaiHelper = oaiHelper;
|
|
112 | 112 |
} |
113 | 113 |
|
114 | 114 |
public MongoPublisherStoreDAO getMongoPublisherStoreDAO() { |
Also available in: Unified diff
Included changes about the CQL translation as in most recent version of cnr-cql-utils of DNet40 + refactoring of OAI parameters