Changeset 4698


Ignore:
Timestamp:
2003-06-18T11:47:40+12:00 (21 years ago)
Author:
kjdon
Message:

renamed some args, added some new ones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSCGI.java

    r4242 r4698  
    1515    public static final String SUBACTION_ARG = "sa"; // subtype of action if we want different processing than the default
    1616    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
    17     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 REQUEST_ONLY_ARG = "ro"; // if == 1 do the request and pass back the xml - no page formatting
    1818    public static final String RESPONSE_ONLY_ARG = "ro"; // if == 1 do the request and pass back the response xml - no page formatting
    1919    public static final String OUTPUT_ARG = "o"; // if processing is to be done, what type of output - html/xml/other??
     
    2828    public static final String SIBLING_ARG = "sib"; // this should not be in here
    2929    // internal configure args
    30     public static final String STATUS_SUBSET_ARG = "ss";
    31     public static final String STATUS_MODULE_NAME_ARG = "sn";
    32     public static final String STATUS_MODULE_TYPE_ARG = "st";
     30    public static final String SYSTEM_SUBSET_ARG = "ss";
     31    public static final String SYSTEM_CLUSTER_ARG = "sc";
     32    public static final String SYSTEM_MODULE_NAME_ARG = "sn";
     33    public static final String SYSTEM_MODULE_TYPE_ARG = "st";
    3334
    3435    public static final String HITS_PER_PAGE_ARG = "hp";
    3536    public static final String HITS_NUMBER_ARG = "hn";
     37
     38    public static final String DOCUMENT_TYPE_ARG = "dt";
    3639    /** long to short mapping */
    3740    protected HashMap long_map_=null;
     
    5154    addStaticParam(SUBACTION_ARG, false);
    5255    addStaticParam(REQUEST_TYPE_ARG, false);
    53     addStaticParam(REQUEST_ONLY_ARG, false);
     56    addStaticParam(RESPONSE_ONLY_ARG, false);
    5457    addStaticParam(CLUSTER_ARG, true);
    5558    //addStaticParam(COLLECTION_ARG);
     
    6063    addStaticParam(SERVICE_ARG, true);
    6164    addStaticParam(PROCESS_ID_ARG, true);
    62     addStaticParam(STATUS_SUBSET_ARG, true);
    63     addStaticParam(STATUS_MODULE_NAME_ARG, true);
    64     addStaticParam(STATUS_MODULE_TYPE_ARG, true);
     65    addStaticParam(SYSTEM_SUBSET_ARG, false);
     66    addStaticParam(SYSTEM_CLUSTER_ARG, false);
     67    addStaticParam(SYSTEM_MODULE_NAME_ARG, false);
     68    addStaticParam(SYSTEM_MODULE_TYPE_ARG, false);
    6569    addStaticParam(SIBLING_ARG, false);
    6670    addStaticParam(HITS_PER_PAGE_ARG, true);
     71    addStaticParam(DOCUMENT_TYPE_ARG, true);
    6772    }
    6873
Note: See TracChangeset for help on using the changeset viewer.