- Timestamp:
- 2003-07-02T14:39:36+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2Construct.java
r4098 r4853 141 141 142 142 protected Element processNewCollection(Element request) { 143 return runCommand(request, CollectionConstructor.NEW);143 return runCommand(request, GS2PerlConstructor.NEW); 144 144 } 145 145 … … 160 160 } 161 161 protected Element processImportCollection(Element request) { 162 return runCommand(request, CollectionConstructor.IMPORT);162 return runCommand(request, GS2PerlConstructor.IMPORT); 163 163 } 164 164 165 165 protected Element processBuildCollection(Element request) { 166 return runCommand(request, CollectionConstructor.BUILD);166 return runCommand(request, GS2PerlConstructor.BUILD); 167 167 } 168 168 protected Element processActivateCollection(Element request) { 169 Element response = runCommand(request, CollectionConstructor.ACTIVATE);169 Element response = runCommand(request, GS2PerlConstructor.ACTIVATE); 170 170 // this activates the collection on disk. but now we need to tell 171 171 // the MR about it. but we have to wait until the process is finished. … … 504 504 // do teh actual command 505 505 String coll_name=null; 506 if (type== CollectionConstructor.NEW) {506 if (type==GS2PerlConstructor.NEW) { 507 507 String coll_title = (String)params.get(NEW_COL_TITLE_PARAM); 508 508 coll_name = createNewCollName(coll_title); … … 516 516 //create the constructor to do the work 517 517 518 CollectionConstructor constructor = new GS2PerlConstructor("perl_build");518 GS2PerlConstructor constructor = new GS2PerlConstructor("perl_build"); 519 519 if (!constructor.configure()) { 520 520 Text t = doc_.createTextNode(getTextString("general.configure_constructor_error", lang)); … … 622 622 623 623 Element param_list = doc_.createElement(GSXML.PARAM_ELEM+GSXML.LIST_MODIFIER); 624 if (type == CollectionConstructor.NEW) {624 if (type == GS2PerlConstructor.NEW) { 625 625 Element param = doc_.createElement(GSXML.PARAM_ELEM); 626 626 param.setAttribute(GSXML.NAME_ATT, "creator");
Note:
See TracChangeset
for help on using the changeset viewer.