Changeset 38338 for main/trunk/greenstone3
- Timestamp:
- 2023-10-31T12:59:50+13:00 (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2Construct.java
r38316 r38338 112 112 } 113 113 114 // in configure we set up any params that should be saved to the session. At this stage, assuming none should be saved. 115 114 116 115 /** returns a specific service description */ 117 116 protected Element getServiceDescription(Document doc, String service, String lang, String subset) 118 117 { 119 120 118 119 Element description = doc.createElement(GSXML.SERVICE_ELEM); 121 120 description.setAttribute(GSXML.TYPE_ATT, GSXML.SERVICE_TYPE_PROCESS); 122 121 description.setAttribute(GSXML.NAME_ATT, service); … … 150 149 { 151 150 152 this.collection_list = getCollectionList();153 151 Element param = GSXML.createParameterDescription(doc, COL_PARAM, getTextString("param." + COL_PARAM, lang), GSXML.PARAM_TYPE_ENUM_SINGLE, null, this.collection_list, this.collection_list); 154 152 param_list.appendChild(param); … … 687 685 } 688 686 687 688 689 689 /** 690 690 * configure the service module for now, all services have type=build - need 691 691 * to think about this 692 692 */ 693 // in configure we set up any params that should be saved to the session. At this stage, assuming none should be saved. 693 694 public boolean configure(Element info, Element extra_info) 694 695 { … … 699 700 700 701 logger.info("configuring GS2Construct"); 702 703 // read thru collect folder and set up collectionList 704 this.collection_list = getCollectionList(); 701 705 702 706 Element e = null;
Note:
See TracChangeset
for help on using the changeset viewer.