Ignore:
Timestamp:
2012-11-06T15:27:10+13:00 (11 years ago)
Author:
kjdon
Message:

trying to tidy up the collection classes. Move some general stuff to servicecluster and reuse the code a bit more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/XMLCollection.java

    r25465 r26446  
    4848
    4949    //plugin stuff
    50     Element import_list = (Element)GSXML.getChildByTagName(coll_config_xml, GSXML.IMPORT_ELEM);
    51     if (import_list != null)
    52     {
    53         Element plugin_list = (Element)GSXML.getChildByTagName(import_list, GSXML.PLUGIN_ELEM+GSXML.LIST_MODIFIER);
    54         addPlugins(plugin_list);
    55     }
     50    // Element import_list = (Element)GSXML.getChildByTagName(coll_config_xml, GSXML.IMPORT_ELEM);
     51    // if (import_list != null)
     52    // {
     53    // Element plugin_list = (Element)GSXML.getChildByTagName(import_list, GSXML.PLUGIN_ELEM+GSXML.LIST_MODIFIER);
     54    // addPlugins(plugin_list);
     55    // }
    5656   
    5757    // are we a private collection??
     
    100100        description.appendChild(this.service_list);
    101101        description.appendChild(this.metadata_list);
    102         description.appendChild(this.plugin_item_list);
     102        description.appendChild(this.library_param_list);
    103103        description.appendChild(this.document_list);
    104104        return response;
     
    122122            } else if (info.equals(GSXML.DOCUMENT_ELEM+GSXML.LIST_MODIFIER)) {
    123123            description.appendChild(this.document_list);
    124             } else if (info.equals(GSXML.PLUGIN_ELEM+GSXML.LIST_MODIFIER)) {
    125                 description.appendChild(this.plugin_item_list);
     124            // } else if (info.equals(GSXML.PLUGIN_ELEM+GSXML.LIST_MODIFIER)) {
     125            //  description.appendChild(this.plugin_item_list);
     126            // }
     127            } else if (info.equals("libraryParamlist")) {
     128             
     129              description.appendChild(this.library_param_list);
    126130            }
    127            
     131       
    128132        }
    129133        }
Note: See TracChangeset for help on using the changeset viewer.