Changeset 25967

Show
Ignore:
Timestamp:
19.07.2012 11:44:58 (7 years ago)
Author:
kjdon
Message:

added new doctype pagedhierarchy

Location:
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractGS2DocumentRetrieve.java

    r25818 r25967  
    359359            return GSXML.DOC_TYPE_PAGED; 
    360360        } 
     361        if (childtype.equals("PagedHierarchy")) 
     362          { 
     363            return GSXML.DOC_TYPE_PAGED_HIERARCHY; 
     364          } 
    361365        return GSXML.DOC_TYPE_HIERARCHY; 
    362366    } 
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2Browse.java

    r25727 r25967  
    3737 * Greenstone 2 collection classifier service 
    3838 *  
    39  * @author Katherine Don 
    40  * @author <a href="mailto:mdewsnip@cs.waikato.ac.nz">Michael Dewsnip</a> 
    4139 */ 
    4240 
     
    168166            return GSXML.DOC_TYPE_PAGED; 
    169167        } 
     168        if (childtype.equals("PagedHierarchy")) 
     169          { 
     170            return GSXML.DOC_TYPE_PAGED_HIERARCHY; 
     171          } 
    170172        return GSXML.DOC_TYPE_HIERARCHY; 
    171173