Changeset 3675
- Timestamp:
- 2003-01-17T10:25:36+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSCGI.java
r3641 r3675 11 11 12 12 // the args that are used in the interface 13 public static final String ACTION_ARG = "a"; 14 public static final String SUBACTION_ARG = "sa"; 15 public static final String CLUSTER_ARG = "c"; 13 public static final String ACTION_ARG = "a"; // the major type of action- eg query or browse or process 14 public static final String SUBACTION_ARG = "sa"; // subtype of action if we want different processing than the default 15 public static final String REQUEST_TYPE_ARG = "rt"; // whether the request is just to display the service form, or to actually do a request to teh service 16 public static final String REQUEST_ONLY_ARG = "ro"; // if == 1 do the request and pass back the xml - no page formatting 17 public static final String OUTPUT_ARG = "o"; // if processing is to be done, what type of output - html/xml/other?? 18 public static final String SERVICE_ARG = "s"; // the name of the service 19 public static final String CLUSTER_ARG = "c"; // these two are the same 16 20 public static final String COLLECTION_ARG = "c"; 17 21 public static final String LANGUAGE_ARG = "l"; 18 22 public static final String DOCUMENT_ARG = "d"; 19 23 public static final String RESOURCE_ARG = "r"; 20 public static final String OUTPUT_ARG = "o"; 21 public static final String SERVICE_ARG = "s"; 22 public static final String PROCESS_HANDLE_ARG = "id"; 24 public static final String PROCESS_HANDLE_ARG = "id"; // if a request wasn't completed, this identifies the request - used when asking for a status update 23 25 24 26 /** long to short mapping */ … … 33 35 34 36 // initialize with the ones we know about 35 addStaticParam(ACTION_ARG); // action 36 addStaticParam(SUBACTION_ARG); // subaction 37 addStaticParam(CLUSTER_ARG); // cluster 38 addStaticParam(COLLECTION_ARG); // collection 39 addStaticParam(LANGUAGE_ARG); // language 40 addStaticParam(DOCUMENT_ARG); // document 41 addStaticParam(RESOURCE_ARG); // resource 42 addStaticParam(OUTPUT_ARG); // output type 43 addStaticParam(SERVICE_ARG); // service name 44 addStaticParam(PROCESS_HANDLE_ARG); // an id used to query the status of a specified process 37 addStaticParam(ACTION_ARG); 38 addStaticParam(SUBACTION_ARG); 39 addStaticParam(REQUEST_TYPE_ARG); 40 addStaticParam(REQUEST_ONLY_ARG); 41 addStaticParam(CLUSTER_ARG); 42 addStaticParam(COLLECTION_ARG); 43 addStaticParam(LANGUAGE_ARG); 44 addStaticParam(DOCUMENT_ARG); 45 addStaticParam(RESOURCE_ARG); 46 addStaticParam(OUTPUT_ARG); 47 addStaticParam(SERVICE_ARG); 48 addStaticParam(PROCESS_HANDLE_ARG); 45 49 } 46 50
Note:
See TracChangeset
for help on using the changeset viewer.