Revision 61355
Added by Alessia Bardi over 2 years ago
ResultEntryToOaf.java | ||
---|---|---|
31 | 31 |
|
32 | 32 |
private OpenAIRESubmitterUtils utils; |
33 | 33 |
|
34 |
public ResultEntryToOaf(final String community_api){ |
|
35 |
utils = new OpenAIRESubmitterUtils(community_api); |
|
36 |
} |
|
37 |
|
|
34 | 38 |
public String asOafRecord(final ResultEntry entry, final VelocityEngine ve, |
35 | 39 |
final ISLookUpService lookupService, |
36 |
final String oafSchemaLocation, |
|
37 |
final String community_api) throws Exception { |
|
40 |
final String oafSchemaLocation) throws Exception { |
|
38 | 41 |
|
39 | 42 |
if (StringUtils.isBlank(entry.getOriginalId()) |
40 | 43 |
&& StringUtils |
Also available in: Unified diff
Need to create an instance of the OpenAIRESUbmitterUtils for the new class ResultEntryToOaf.