Ignore:
Timestamp:
2012-01-31T14:54:55+13:00 (12 years ago)
Author:
sjm84
Message:

Fixing Mat to work with the new UserContext construct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/mat/trunk/src/src/org/greenstone/mat/MetadataStats.java

    r22171 r25025  
    2727import org.greenstone.util.GlobalProperties;
    2828import org.greenstone.gsdl3.util.GSPath;
     29import org.greenstone.gsdl3.util.UserContext;
    2930
    3031import org.w3c.dom.Document;
     
    184185       
    185186        Node message = this.doc.createElement(GSXML.MESSAGE_ELEM);
    186         Node request = GSXML.createBasicRequest(this.doc, GSXML.REQUEST_TYPE_PROCESS,collection+"/DocumentMetadataRetrieve","en", "");
     187        Node request = GSXML.createBasicRequest(this.doc, GSXML.REQUEST_TYPE_PROCESS,collection+"/DocumentMetadataRetrieve", new UserContext());
    187188        Node param_list = this.doc.createElement(GSXML.PARAM_ELEM+GSXML.LIST_MODIFIER);
    188189        param_list.appendChild(GSXML.createParameter(this.doc, "metadata", "all"));
Note: See TracChangeset for help on using the changeset viewer.