Changeset 1918 for MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/model/Query.java
- Timestamp:
- 04/28/12 22:48:55 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/model/Query.java
r1907 r1918 79 79 sarr = new String[1]; 80 80 sarr[0] = "1"; 81 put(" maxdepth", sarr);81 put("x_maximumDepth", sarr); 82 82 83 83 }}; … … 410 410 if (type.equals(MODEL)) { 411 411 //targetRequest = fromCMDIndex2Xpath() + "&maxdepth=" + getMaxdepth() ; /* + "&maxdepth=" + getMaxdepth() ); "&collection=" + getCollection() + */ 412 targetRequest = fromCMDIndex2Xpath() + "&maxdepth=" + getParam(" maxdepth") ; /* + "&maxdepth=" + getMaxdepth() ); "&collection=" + getCollection() + */412 targetRequest = fromCMDIndex2Xpath() + "&maxdepth=" + getParam("x-maximumDepth") ; /* + "&maxdepth=" + getMaxdepth() ); "&collection=" + getCollection() + */ 413 413 } 414 414 else if (type.equals(COLLECTION)) { 415 targetRequest = getParam("collection") + "&maxdepth=" + getParam(" maxdepth") ; /* + "&maxdepth=" + getMaxdepth() ); "&collection=" + getCollection() + */415 targetRequest = getParam("collection") + "&maxdepth=" + getParam("x-maximumDepth") ; /* + "&maxdepth=" + getMaxdepth() ); "&collection=" + getCollection() + */ 416 416 417 417 } else if (type.equals(SRUEXTERN)) {
Note: See TracChangeset
for help on using the changeset viewer.