Revision 42548
Added by Sandro La Bruzzo almost 8 years ago
OAIInternalController.java | ||
---|---|---|
243 | 243 |
List<TDSRule> getTransformationRules(final HttpServletResponse response) throws IOException, ISLookUpException { |
244 | 244 |
|
245 | 245 |
final String query = "for $x in collection('/db/DRIVER/TransformationRuleDSResources/TransformationRuleDSResourceType')" |
246 |
+ " return concat($x//RESOURCE_IDENTIFIER/@value/string(), ':-:', $x//CONFIGURATION//TITLE)";
|
|
246 |
+ " return concat('id:-:',$x//RESOURCE_IDENTIFIER/@value/string(), ':-:title:-:', $x//CONFIGURATION//TITLE)";
|
|
247 | 247 |
return this.configuration.getLookupClient().search(query, TDSRule.class, ":-:"); |
248 | 248 |
} |
249 | 249 |
|
Also available in: Unified diff
edited OAI workflows