Revision 58157
Added by Katerina Iatropoulou about 4 years ago
CSVResponseFormat.java | ||
---|---|---|
36 | 36 |
return project; |
37 | 37 |
|
38 | 38 |
} else if (entity.equals(RequestResponseHandler.Entity.PUBLICATION) || entity.equals(RequestResponseHandler.Entity.DATASET) |
39 |
||entity.equals(RequestResponseHandler.Entity.SOFTWARE) || entity.equals(RequestResponseHandler.Entity.OTHER)) { |
|
39 |
||entity.equals(RequestResponseHandler.Entity.SOFTWARE) || entity.equals(RequestResponseHandler.Entity.OTHER) |
|
40 |
|| entity.equals(RequestResponseHandler.Entity.RESULT)) { |
|
40 | 41 |
if (special) { |
41 | 42 |
return result_special; |
42 | 43 |
} |
Also available in: Unified diff
Enhanced portal API with general method to return resources based on their type. For oaftype result we can query with multiple resulttypeids that are seperated with OR operator