1 |
57029
|
argiro.kok
|
package eu.dnetlib.data.claims.handler;
|
2 |
41200
|
katerina.i
|
|
3 |
57029
|
argiro.kok
|
import eu.dnetlib.data.claims.entity.Claim;
|
4 |
|
|
import eu.dnetlib.data.claims.entity.OpenaireEntity;
|
5 |
|
|
import eu.dnetlib.data.claims.entity.Project;
|
6 |
|
|
import eu.dnetlib.data.claims.entity.Result;
|
7 |
|
|
import eu.dnetlib.data.claims.sql.SQLStoreException;
|
8 |
|
|
import eu.dnetlib.data.claims.sql.SqlDAO;
|
9 |
62526
|
katerina.i
|
import eu.dnetlib.data.claims.utils.*;
|
10 |
|
|
import org.apache.logging.log4j.LogManager;
|
11 |
|
|
import org.apache.logging.log4j.Logger;
|
12 |
58341
|
argiro.kok
|
import org.springframework.beans.factory.annotation.Autowired;
|
13 |
41200
|
katerina.i
|
|
14 |
42199
|
argiro.kok
|
import java.sql.ResultSet;
|
15 |
47219
|
argiro.kok
|
import java.sql.SQLException;
|
16 |
48012
|
tsampikos.
|
import java.util.ArrayList;
|
17 |
41791
|
argiro.kok
|
import java.util.Date;
|
18 |
41200
|
katerina.i
|
import java.util.List;
|
19 |
|
|
|
20 |
|
|
/**
|
21 |
|
|
* Created by kiatrop on 5/2/2016.
|
22 |
|
|
*/
|
23 |
|
|
public class ClaimHandler {
|
24 |
|
|
|
25 |
|
|
SqlDAO sqlDAO = null;
|
26 |
|
|
QueryGenerator queryGenerator = null;
|
27 |
41350
|
argiro.kok
|
ResultHandler resultHandler = null;
|
28 |
|
|
ProjectHandler projectHandler = null;
|
29 |
47039
|
argiro.kok
|
ClaimValidation claimValidation = null;
|
30 |
58341
|
argiro.kok
|
@Autowired
|
31 |
|
|
IndexResultHandler indexResultHandler;
|
32 |
|
|
ContextUtils contextUtils;
|
33 |
|
|
ExternalRecordHandler externalRecordHandler;
|
34 |
41200
|
katerina.i
|
|
35 |
62526
|
katerina.i
|
private static final Logger logger = LogManager.getLogger(ClaimHandler.class);
|
36 |
42291
|
katerina.i
|
|
37 |
41791
|
argiro.kok
|
/**
|
38 |
|
|
* Saves a list of claims in DB
|
39 |
|
|
* @param claims
|
40 |
|
|
*/
|
41 |
41350
|
argiro.kok
|
public void saveClaims(List<Claim> claims){
|
42 |
|
|
for(Claim claim:claims){
|
43 |
|
|
try {
|
44 |
|
|
saveClaim(claim);
|
45 |
47219
|
argiro.kok
|
} catch (SQLStoreException e) {
|
46 |
47211
|
katerina.i
|
logger.error("Claim couldn't be saved : " + claim.getId() + "\n" + claim.toString(), e);
|
47 |
47219
|
argiro.kok
|
} catch (SQLException e) {
|
48 |
|
|
logger.error("Claim couldn't be saved : " + claim.getId() + "\n" + claim.toString(), e);
|
49 |
41350
|
argiro.kok
|
}
|
50 |
41200
|
katerina.i
|
}
|
51 |
41350
|
argiro.kok
|
}
|
52 |
48012
|
tsampikos.
|
public String generateSaveQueryForClaim(Claim claim, ArrayList<Object> params){
|
53 |
41200
|
katerina.i
|
|
54 |
41350
|
argiro.kok
|
String query= null;
|
55 |
48012
|
tsampikos.
|
query = queryGenerator.generateInsertFullClaimQuery(claim, params);
|
56 |
41350
|
argiro.kok
|
return query;
|
57 |
|
|
}
|
58 |
41791
|
argiro.kok
|
/**
|
59 |
|
|
* saves a claim in DB
|
60 |
|
|
* @param claim
|
61 |
|
|
* @throws Exception
|
62 |
|
|
*/
|
63 |
42271
|
argiro.kok
|
//TODO make private - used in Migration
|
64 |
47219
|
argiro.kok
|
public String saveClaim(Claim claim) throws SQLStoreException, SQLException {
|
65 |
42291
|
katerina.i
|
logger.info("Saving claim...");
|
66 |
42271
|
argiro.kok
|
String id = null;
|
67 |
48012
|
tsampikos.
|
ArrayList<Object> params = new ArrayList<>();
|
68 |
|
|
String query = generateSaveQueryForClaim(claim, params);
|
69 |
|
|
ResultSet rs=sqlDAO.executePreparedQuery(query, params);
|
70 |
42271
|
argiro.kok
|
if(rs.next()) {
|
71 |
|
|
id = rs.getString(1);
|
72 |
|
|
}
|
73 |
47219
|
argiro.kok
|
rs.close();
|
74 |
42271
|
argiro.kok
|
return id;
|
75 |
41200
|
katerina.i
|
}
|
76 |
52857
|
argiro.kok
|
// - used in Migration
|
77 |
|
|
public void saveOrphanClaimId(String id) throws SQLStoreException, Exception {
|
78 |
|
|
logger.info("Saving orphan claim id...");
|
79 |
41200
|
katerina.i
|
|
80 |
52857
|
argiro.kok
|
String query = queryGenerator.generateInsertQueryForClaimsOrphanIds(id);
|
81 |
|
|
sqlDAO.executeUpdateQuery(query);
|
82 |
|
|
}
|
83 |
|
|
|
84 |
41791
|
argiro.kok
|
/**
|
85 |
|
|
* Gets the main information for a claim relation - builds a claim object
|
86 |
|
|
* exports metadata
|
87 |
|
|
* and saves the claim relations in the DB
|
88 |
|
|
* @param user
|
89 |
|
|
* @param sourceType
|
90 |
|
|
* @param sourceId
|
91 |
|
|
* @param sourceCollectedFrom
|
92 |
|
|
* @param targetType
|
93 |
|
|
* @param targetId
|
94 |
|
|
* @param targetCollectedFrom
|
95 |
|
|
* @throws Exception
|
96 |
|
|
*/
|
97 |
58341
|
argiro.kok
|
public String buildAndInsertClaim(String user, String sourceType, String sourceId, String sourceCollectedFrom, String sourceAccessRights, String sourceEmbargoDate, String targetType, String targetId, String targetCollectedFrom, String targetAccessRights, String targetEmbargoDate, String claimedInDashboard ) throws Exception, SQLStoreException {
|
98 |
42271
|
argiro.kok
|
String id = null;
|
99 |
42291
|
katerina.i
|
|
100 |
47039
|
argiro.kok
|
claimValidation.validateCollectedFrom(targetCollectedFrom);
|
101 |
|
|
claimValidation.validateCollectedFrom(sourceCollectedFrom);
|
102 |
47214
|
argiro.kok
|
logger.info("Trying to create a claim {user:"+user+", sourceType:"+sourceType+", sourceId:"+sourceId+", sourceCollectedFrom:"+sourceCollectedFrom+", sourceAccessRights:"+sourceAccessRights
|
103 |
|
|
+", sourceEmbargoDate:"+sourceEmbargoDate +", targetType:"+targetType +", targetId:"+targetId +", targetCollectedFrom:"+targetCollectedFrom +", targetAccessRights:"+targetAccessRights
|
104 |
|
|
+", targetEmbargoDate:"+targetEmbargoDate+"}");
|
105 |
58341
|
argiro.kok
|
Claim claim = buildClaim(user,sourceType,sourceId,sourceCollectedFrom, sourceAccessRights, sourceEmbargoDate, targetType, targetId, targetCollectedFrom, targetAccessRights, targetEmbargoDate, claimedInDashboard);
|
106 |
41791
|
argiro.kok
|
if(claimValidation.validateClaim(claim)) {
|
107 |
|
|
claim = exportMedatataForClaim(claim);
|
108 |
42271
|
argiro.kok
|
id = saveClaim(claim);
|
109 |
47214
|
argiro.kok
|
}else{
|
110 |
|
|
logger.info("claim is not valid");
|
111 |
41791
|
argiro.kok
|
}
|
112 |
42271
|
argiro.kok
|
return id;
|
113 |
41791
|
argiro.kok
|
}
|
114 |
|
|
|
115 |
|
|
/**
|
116 |
|
|
* Gets the main information of a relation claim and
|
117 |
|
|
* builds a claim object
|
118 |
|
|
* @param user
|
119 |
|
|
* @param sourceType publication, dataset, project, context
|
120 |
|
|
* @param sourceId openaireId, doi or orcid workid
|
121 |
|
|
* @param sourceCollectedFrom only for source with type publication, dataset
|
122 |
|
|
* @param targetType publication, dataset, project, context
|
123 |
|
|
* @param targetId openaireId, doi or orcid workid
|
124 |
|
|
* @param targetCollectedFrom only for target with type publication, dataset
|
125 |
|
|
* @return a claim object
|
126 |
|
|
* @throws Exception
|
127 |
|
|
*/
|
128 |
58341
|
argiro.kok
|
public Claim buildClaim(String user, String sourceType, String sourceId,String sourceCollectedFrom, String sourceAccessRights, String sourceEmbargoDate, String targetType,String targetId,String targetCollectedFrom, String targetAccessRights, String targetEmbargoDate, String claimedInDashboard ) throws Exception {
|
129 |
41791
|
argiro.kok
|
Claim claim = new Claim();
|
130 |
|
|
claim.setUserMail(user);
|
131 |
58341
|
argiro.kok
|
claim.setClaimedInDashboard(claimedInDashboard);
|
132 |
42199
|
argiro.kok
|
claim.setDate(new Date());
|
133 |
41791
|
argiro.kok
|
//date
|
134 |
|
|
claim.setSourceType(sourceType);
|
135 |
|
|
claim.setTargetType(targetType);
|
136 |
42789
|
argiro.kok
|
claim.setSource(buildOpenaireEntity(sourceId,sourceType,sourceCollectedFrom,sourceAccessRights, sourceEmbargoDate));
|
137 |
|
|
claim.setTarget(buildOpenaireEntity(targetId,targetType,targetCollectedFrom, targetAccessRights, targetEmbargoDate));
|
138 |
42291
|
katerina.i
|
|
139 |
|
|
if (claim.getSource() == null) {
|
140 |
47214
|
argiro.kok
|
throw new ClaimValidationException("The source id is invalid.");
|
141 |
42291
|
katerina.i
|
}
|
142 |
|
|
|
143 |
|
|
if (claim.getTarget() == null) {
|
144 |
47214
|
argiro.kok
|
throw new ClaimValidationException("The target id is invalid.");
|
145 |
42291
|
katerina.i
|
}
|
146 |
41791
|
argiro.kok
|
//TODO from external sources need an OPenaireID
|
147 |
|
|
return claim;
|
148 |
|
|
|
149 |
|
|
}
|
150 |
|
|
|
151 |
48012
|
tsampikos.
|
public boolean updateClaimCurationInfo(String curatedBy, String claimId, boolean approved) throws SQLStoreException, SQLException, Exception {
|
152 |
47003
|
konstantin
|
logger.info("Updating claim curation info...");
|
153 |
48012
|
tsampikos.
|
ArrayList<Object> params = new ArrayList<>();
|
154 |
|
|
String query = queryGenerator.generateUpdateClaimCuration(curatedBy, claimId, approved, params);
|
155 |
|
|
//ResultSet rs = sqlDAO.executeUpdateQuery(query, params);
|
156 |
|
|
return sqlDAO.executeUpdateQuery(query, params);
|
157 |
47059
|
konstantin
|
|
158 |
48012
|
tsampikos.
|
/*
|
159 |
47059
|
konstantin
|
boolean success = false;
|
160 |
|
|
while (rs.next())
|
161 |
|
|
{
|
162 |
|
|
success = true;
|
163 |
|
|
}
|
164 |
|
|
rs.close();
|
165 |
|
|
return success;
|
166 |
48012
|
tsampikos.
|
*/
|
167 |
47003
|
konstantin
|
}
|
168 |
|
|
|
169 |
|
|
|
170 |
41791
|
argiro.kok
|
/**
|
171 |
42291
|
katerina.i
|
* Gets the main information of an openaire entityinfrastruct_::openaire
|
172 |
41791
|
argiro.kok
|
* and returns a full object
|
173 |
|
|
* @param id
|
174 |
|
|
* @param type
|
175 |
|
|
* @param collectedFrom
|
176 |
|
|
* @return openaire Entity (Context, Result, Project)
|
177 |
|
|
* @throws Exception
|
178 |
|
|
*/
|
179 |
57029
|
argiro.kok
|
public OpenaireEntity buildOpenaireEntity(String id, String type, String collectedFrom, String accessRights, String embargoDate) throws Exception {
|
180 |
58341
|
argiro.kok
|
logger.debug(id+" "+ type+" "+collectedFrom);
|
181 |
41791
|
argiro.kok
|
if(type==null){
|
182 |
|
|
return null;
|
183 |
|
|
}
|
184 |
|
|
else if(type.equals(ClaimUtils.CONTEXT)){
|
185 |
58341
|
argiro.kok
|
return contextUtils.fetchContextById(id);
|
186 |
41791
|
argiro.kok
|
}else if (type.equals(ClaimUtils.PROJECT)){
|
187 |
57125
|
argiro.kok
|
Project project = projectHandler.fetchProjectByID(id);
|
188 |
58341
|
argiro.kok
|
// if(project == null){
|
189 |
|
|
// project = projectHandler.fetchProjectByID(id);
|
190 |
|
|
// }
|
191 |
47214
|
argiro.kok
|
if(project == null){
|
192 |
|
|
logger.error("Project with id:"+id + " couldn't be fetched.");
|
193 |
|
|
}
|
194 |
|
|
|
195 |
|
|
return project;
|
196 |
52857
|
argiro.kok
|
}else if (type.equals(ClaimUtils.PUBLICATION)||type.equals(ClaimUtils.DATASET)||type.equals(ClaimUtils.SOFTWARE) ||type.equals(ClaimUtils.OTHER) ){
|
197 |
41791
|
argiro.kok
|
if(collectedFrom == null){
|
198 |
|
|
return null;
|
199 |
|
|
}else if(collectedFrom.equals(ClaimUtils.CROSSREF)){
|
200 |
46977
|
argiro.kok
|
|
201 |
42789
|
argiro.kok
|
Result result = externalRecordHandler.fetchResultfromCrossref(id);
|
202 |
47214
|
argiro.kok
|
if(result == null){
|
203 |
47215
|
katerina.i
|
logger.error("Record with id: " + id + " couldn't be fetched from crossref.");
|
204 |
47214
|
argiro.kok
|
}
|
205 |
|
|
|
206 |
42789
|
argiro.kok
|
result.setAccessRights(accessRights);
|
207 |
|
|
result.setEmbargoEndDate(embargoDate);
|
208 |
58494
|
argiro.kok
|
result.setResultType(type);
|
209 |
42789
|
argiro.kok
|
return result;
|
210 |
41791
|
argiro.kok
|
}else if (collectedFrom.equals(ClaimUtils.DATACITE)){
|
211 |
42789
|
argiro.kok
|
Result result = externalRecordHandler.fetchResultfromDatacite(id);
|
212 |
47214
|
argiro.kok
|
if(result == null){
|
213 |
|
|
logger.error("Record with id:"+id + " couldn't be fetched from datacite.");
|
214 |
|
|
}else {
|
215 |
|
|
result.setAccessRights(accessRights);
|
216 |
|
|
result.setEmbargoEndDate(embargoDate);
|
217 |
58494
|
argiro.kok
|
result.setResultType(type);
|
218 |
47214
|
argiro.kok
|
}
|
219 |
42789
|
argiro.kok
|
return result;
|
220 |
41791
|
argiro.kok
|
}else if (collectedFrom.equals(ClaimUtils.ORCID)){
|
221 |
42789
|
argiro.kok
|
Result result = externalRecordHandler.fetchResultfromOrcid(id);
|
222 |
47214
|
argiro.kok
|
if(result == null){
|
223 |
|
|
logger.error("Record with id:"+id + " couldn't be fetched from ORCID.");
|
224 |
|
|
}else {
|
225 |
|
|
result.setAccessRights(accessRights);
|
226 |
|
|
result.setEmbargoEndDate(embargoDate);
|
227 |
58494
|
argiro.kok
|
result.setResultType(type);
|
228 |
47214
|
argiro.kok
|
}
|
229 |
42789
|
argiro.kok
|
return result;
|
230 |
41791
|
argiro.kok
|
}else if (collectedFrom.equals(ClaimUtils.OPENAIRE)){
|
231 |
49865
|
argiro.kok
|
Result result = null;
|
232 |
|
|
if(type.equals(ClaimUtils.PUBLICATION)){
|
233 |
57125
|
argiro.kok
|
result = indexResultHandler.fetchPublicationById(id);
|
234 |
49865
|
argiro.kok
|
|
235 |
|
|
}else if(type.equals(ClaimUtils.DATASET)){
|
236 |
57125
|
argiro.kok
|
result = indexResultHandler.fetchDatasetById(id);
|
237 |
49865
|
argiro.kok
|
}else if(type.equals(ClaimUtils.SOFTWARE)){
|
238 |
57125
|
argiro.kok
|
result = indexResultHandler.fetchSoftwareById(id);
|
239 |
52857
|
argiro.kok
|
}else if(type.equals(ClaimUtils.OTHER)){
|
240 |
57125
|
argiro.kok
|
result = indexResultHandler.fetchOtherById(id);
|
241 |
49865
|
argiro.kok
|
}
|
242 |
47214
|
argiro.kok
|
if(result == null){
|
243 |
49865
|
argiro.kok
|
logger.error("Record with id:"+id + " and type " + type + " couldn't be fetched from openaire.");
|
244 |
47214
|
argiro.kok
|
}
|
245 |
|
|
return result;
|
246 |
41791
|
argiro.kok
|
}
|
247 |
|
|
}
|
248 |
|
|
return null;
|
249 |
|
|
}
|
250 |
|
|
|
251 |
|
|
|
252 |
|
|
/**
|
253 |
|
|
* Exports the metadata for the source and the target of a claim and sets the proper field
|
254 |
|
|
* @param claim
|
255 |
|
|
* @return claim with the proper metadata path of the result of source and target
|
256 |
|
|
*/
|
257 |
|
|
public Claim exportMedatataForClaim(Claim claim){
|
258 |
|
|
if(claim.getTargetType().equals(ClaimUtils.DATASET)||claim.getTargetType().equals(ClaimUtils.PUBLICATION)){
|
259 |
|
|
String path = resultHandler.exportMetadataFileForResult((Result)claim.getTarget());
|
260 |
|
|
((Result) claim.getTarget()).setRecordPath(path);
|
261 |
|
|
}
|
262 |
|
|
if(claim.getSourceType().equals(ClaimUtils.DATASET)||claim.getSourceType().equals(ClaimUtils.PUBLICATION)){
|
263 |
|
|
String path = resultHandler.exportMetadataFileForResult((Result)claim.getSource());
|
264 |
|
|
((Result) claim.getSource()).setRecordPath(path);
|
265 |
|
|
}
|
266 |
|
|
return claim;
|
267 |
|
|
|
268 |
|
|
}
|
269 |
|
|
|
270 |
47219
|
argiro.kok
|
public void deleteClaim(String user, String claimId) throws SQLStoreException, Exception {
|
271 |
42199
|
argiro.kok
|
|
272 |
48012
|
tsampikos.
|
ArrayList<Object> params = new ArrayList<>();
|
273 |
|
|
String query = queryGenerator.generateSelectClaimQuery(claimId,user, params);
|
274 |
|
|
ResultSet rs = sqlDAO.executePreparedQuery(query, params);
|
275 |
42199
|
argiro.kok
|
if(rs.next()) {
|
276 |
|
|
String sourceType =rs.getString(2);
|
277 |
|
|
String sourceId =rs.getString(3);
|
278 |
|
|
String targetType =rs.getString(4);
|
279 |
|
|
String targetId =rs.getString(5);
|
280 |
48294
|
argiro.kok
|
this.checkRecordFile(sourceType, sourceId);
|
281 |
|
|
this.checkRecordFile(targetType, targetId);
|
282 |
|
|
|
283 |
48012
|
tsampikos.
|
ArrayList<Object> params2 = new ArrayList<>();
|
284 |
|
|
String query2 = queryGenerator.generateDeleteFullClaimQuery(claimId,user,sourceType,sourceId,targetType,targetId, params2);
|
285 |
|
|
sqlDAO.executeUpdateQuery(query2, params2);
|
286 |
42199
|
argiro.kok
|
}else{
|
287 |
47214
|
argiro.kok
|
logger.error("Claim with id : "+ claimId+" user: "+user+" couldn't be deleted." );
|
288 |
42199
|
argiro.kok
|
}
|
289 |
47219
|
argiro.kok
|
rs.close();
|
290 |
41791
|
argiro.kok
|
}
|
291 |
42270
|
argiro.kok
|
|
292 |
48294
|
argiro.kok
|
public void checkRecordFile(String type, String id) throws SQLStoreException, SQLException {
|
293 |
53031
|
argiro.kok
|
if(type.equals("publication") || type.equals("dataset")|| type.equals("other")|| type.equals("software")){
|
294 |
48294
|
argiro.kok
|
this.resultHandler.deleteRecordFile(type,id);
|
295 |
|
|
}
|
296 |
|
|
}
|
297 |
47219
|
argiro.kok
|
public boolean deleteClaim(String claimId) throws Exception, SQLStoreException {
|
298 |
42291
|
katerina.i
|
|
299 |
48012
|
tsampikos.
|
ArrayList<Object> params = new ArrayList<>();
|
300 |
|
|
String query = queryGenerator.generateSelectClaimQuery(claimId, params);
|
301 |
|
|
ResultSet rs = sqlDAO.executePreparedQuery(query, params);
|
302 |
42270
|
argiro.kok
|
if(rs.next()) {
|
303 |
|
|
String sourceType =rs.getString(2);
|
304 |
|
|
String sourceId =rs.getString(3);
|
305 |
|
|
String targetType =rs.getString(4);
|
306 |
|
|
String targetId =rs.getString(5);
|
307 |
|
|
String user =rs.getString(6);
|
308 |
53031
|
argiro.kok
|
this.checkRecordFile(sourceType, sourceId);
|
309 |
|
|
this.checkRecordFile(targetType, targetId);
|
310 |
48012
|
tsampikos.
|
ArrayList<Object> params2 = new ArrayList<>();
|
311 |
|
|
String query2 = queryGenerator.generateDeleteFullClaimQuery(claimId,user,sourceType,sourceId,targetType,targetId, params2);
|
312 |
|
|
sqlDAO.executeUpdateQuery(query2, params2);
|
313 |
47219
|
argiro.kok
|
rs.close();
|
314 |
42291
|
katerina.i
|
return true;
|
315 |
42270
|
argiro.kok
|
}
|
316 |
47219
|
argiro.kok
|
rs.close();
|
317 |
47214
|
argiro.kok
|
logger.error("Couldn't delete claim with id : " + claimId +". It doesn't not exist.");
|
318 |
42291
|
katerina.i
|
return false;
|
319 |
|
|
|
320 |
42270
|
argiro.kok
|
}
|
321 |
42291
|
katerina.i
|
|
322 |
41350
|
argiro.kok
|
public SqlDAO getSqlDAO() {
|
323 |
|
|
return sqlDAO;
|
324 |
41200
|
katerina.i
|
}
|
325 |
|
|
|
326 |
41350
|
argiro.kok
|
public void setSqlDAO(SqlDAO sqlDAO) {
|
327 |
|
|
this.sqlDAO = sqlDAO;
|
328 |
|
|
}
|
329 |
|
|
|
330 |
|
|
public QueryGenerator getQueryGenerator() {
|
331 |
|
|
return queryGenerator;
|
332 |
|
|
}
|
333 |
|
|
|
334 |
|
|
public void setQueryGenerator(QueryGenerator queryGenerator) {
|
335 |
|
|
this.queryGenerator = queryGenerator;
|
336 |
|
|
}
|
337 |
|
|
|
338 |
|
|
public ResultHandler getResultHandler() {
|
339 |
|
|
return resultHandler;
|
340 |
|
|
}
|
341 |
|
|
|
342 |
|
|
public void setResultHandler(ResultHandler resultHandler) {
|
343 |
|
|
this.resultHandler = resultHandler;
|
344 |
|
|
}
|
345 |
|
|
|
346 |
|
|
public ProjectHandler getProjectHandler() {
|
347 |
|
|
return projectHandler;
|
348 |
|
|
}
|
349 |
|
|
|
350 |
|
|
public void setProjectHandler(ProjectHandler projectHandler) {
|
351 |
|
|
this.projectHandler = projectHandler;
|
352 |
|
|
}
|
353 |
47039
|
argiro.kok
|
|
354 |
|
|
public ClaimValidation getClaimValidation() {
|
355 |
|
|
return claimValidation;
|
356 |
|
|
}
|
357 |
|
|
|
358 |
|
|
public void setClaimValidation(ClaimValidation claimValidation) {
|
359 |
|
|
this.claimValidation = claimValidation;
|
360 |
|
|
}
|
361 |
49865
|
argiro.kok
|
|
362 |
58341
|
argiro.kok
|
public ContextUtils getContextUtils() {
|
363 |
|
|
return contextUtils;
|
364 |
49865
|
argiro.kok
|
}
|
365 |
|
|
|
366 |
58341
|
argiro.kok
|
public void setContextUtils(ContextUtils contextUtils) {
|
367 |
|
|
this.contextUtils = contextUtils;
|
368 |
49865
|
argiro.kok
|
}
|
369 |
58341
|
argiro.kok
|
|
370 |
|
|
public IndexResultHandler getIndexResultHandler() {
|
371 |
|
|
return indexResultHandler;
|
372 |
|
|
}
|
373 |
|
|
|
374 |
|
|
public void setIndexResultHandler(IndexResultHandler indexResultHandler) {
|
375 |
|
|
this.indexResultHandler = indexResultHandler;
|
376 |
|
|
}
|
377 |
|
|
|
378 |
|
|
public ExternalRecordHandler getExternalRecordHandler() {
|
379 |
|
|
return externalRecordHandler;
|
380 |
|
|
}
|
381 |
|
|
|
382 |
|
|
public void setExternalRecordHandler(ExternalRecordHandler externalRecordHandler) {
|
383 |
|
|
this.externalRecordHandler = externalRecordHandler;
|
384 |
|
|
}
|
385 |
41200
|
katerina.i
|
}
|