Skip to content
Snippets Groups Projects
Commit cc1ddb07 authored by mbrodhu's avatar mbrodhu
Browse files

Delete

parent 434f939c
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ public class IdentifierListDeliverer {
private static org.apache.commons.logging.Log log = LogFactory.getLog(IdentifierListDeliverer.class);
private String datestamp;
private String identifier;
private String identifier = "textgrid:";
private ListIdentifiersType lit = new ListIdentifiersType();
private boolean idExist = true;
private OAI_ESClient oaiEsClient;
......@@ -97,7 +97,9 @@ public class IdentifierListDeliverer {
log.debug(e);
}
identifier = hit.getFields().get("textgridUri").getValue().toString();
identifier = identifier.concat(hit.getFields().get("textgridUri").getValue().toString());
lit=setListIdentifierHeader(datestamp, identifier);
......
......@@ -62,7 +62,7 @@ public class RecordDeliverer {
private OAI_ESClient oaiEsClient;
// TODO Make this configurable!
String aggregatorURL = "http://textgrid-esx2.gwdg.de/1.0/aggregator/teicorpus/";
//String aggregatorURL = "http://textgrid-esx2.gwdg.de/1.0/aggregator/teicorpus/";
public RecordDeliverer(OAI_ESClient oaiEsClient){
this.oaiEsClient=oaiEsClient;
......@@ -152,7 +152,7 @@ public class RecordDeliverer {
if(tgObject.getField("relations.isDerivedFrom")!=null){
relations.add(tgObject.getField("relations.isDerivedFrom").getValue().toString());
}
relations.add(aggregatorURL.concat(tgObject.getField("textgridUri").getValue().toString()));
//relations.add(aggregatorURL.concat(tgObject.getField("textgridUri").getValue().toString()));
/*
* DC-Rights
......
......@@ -103,7 +103,7 @@ public class RecordListDeliverer {
private List<String> types = new ArrayList<String>();
// TODO Make configurable!
private String aggregatorURL = "http://textgrid-esx2.gwdg.de/1.0/aggregator/teicorpus/";
//private String aggregatorURL = "http://textgrid-esx2.gwdg.de/1.0/aggregator/teicorpus/";
/**
* @param oaiEsClient
......@@ -246,10 +246,10 @@ public class RecordListDeliverer {
relations.add(hit.getFields().get(IS_DERIVED_FROM)
.values().get(0).toString());
}
if (hit.getFields().get(URI) != null) {
/*if (hit.getFields().get(URI) != null) {
relations.add(aggregatorURL.concat(hit.getFields()
.get(URI).values().get(0).toString()));
}
}*/
/*
* DC-Rights
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment