Revision 53933
Added by Panagiotis Kanakakis almost 6 years ago
Converter.java | ||
---|---|---|
236 | 236 |
jsonObject.put("longitude",repository.getLongitude().toString()); |
237 | 237 |
jsonObject.put("latitude",repository.getLatitude().toString()); |
238 | 238 |
jsonObject.put("timezone",repository.getTimezone()); |
239 |
jsonObject.put("namespaceprefix",repository.getNamespacePrefix()); |
|
240 |
jsonObject.put("languages",repository.getOdLanguages()); |
|
239 |
// jsonObject.put("namespaceprefix",repository.getNamespacePrefix());
|
|
240 |
// jsonObject.put("languages",repository.getOdLanguages());
|
|
241 | 241 |
jsonObject.put("dateofvalidation",convertDateToString(repository.getDateOfValidation())); |
242 | 242 |
|
243 | 243 |
/* |
... | ... | |
247 | 247 |
jsonObject.put("typology",repository.getDatasourceClass()); |
248 | 248 |
jsonObject.put("platform",repository.getTypology()); |
249 | 249 |
|
250 |
jsonObject.put("dateofcollection",convertDateToString(repository.getDateOfCollection())); |
|
251 |
jsonObject.put("activationId",repository.getActivationId()); |
|
250 |
// jsonObject.put("dateofcollection",convertDateToString(repository.getDateOfCollection()));
|
|
251 |
// jsonObject.put("activationId",repository.getActivationId());
|
|
252 | 252 |
jsonObject.put("description",repository.getDescription()); |
253 |
jsonObject.put("eissn",repository.getEissn()); |
|
254 |
jsonObject.put("issn",repository.getIssn()); |
|
255 |
jsonObject.put("lissn",repository.getLissn()); |
|
253 |
// jsonObject.put("eissn",repository.getEissn());
|
|
254 |
// jsonObject.put("issn",repository.getIssn());
|
|
255 |
// jsonObject.put("lissn",repository.getLissn());
|
|
256 | 256 |
jsonObject.put("registeredby",repository.getRegisteredBy()); |
257 | 257 |
|
258 |
jsonObject.put("aggregator",repository.getAggregator()); |
|
259 |
jsonObject.put("collectedfrom",repository.getCollectedFrom()); |
|
258 |
// jsonObject.put("aggregator",repository.getAggregator());
|
|
259 |
// jsonObject.put("collectedfrom",repository.getCollectedFrom());
|
|
260 | 260 |
|
261 | 261 |
jsonObject.put("managed",repository.isRegistered()); |
262 | 262 |
|
... | ... | |
269 | 269 |
|
270 | 270 |
JSONArray organizations = new JSONArray(); |
271 | 271 |
organizations.put(organization); |
272 |
jsonObject.put("organizations",organizations); |
|
272 |
// jsonObject.put("organizations",organizations);
|
|
273 | 273 |
|
274 | 274 |
|
275 | 275 |
|
Also available in: Unified diff
1. Bug fix on piwik
2. Add new emails
3. Bug fix on repository api