Type.registerNamespace('Sogeti.KomatsuForest.Webservices');
Sogeti.KomatsuForest.Webservices.SearchHits=function() {
Sogeti.KomatsuForest.Webservices.SearchHits.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Sogeti.KomatsuForest.Webservices.SearchHits.prototype={
getSearchHtml:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(Sogeti.KomatsuForest.Webservices.SearchHits.get_path(), 'getSearchHtml',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); }}
Sogeti.KomatsuForest.Webservices.SearchHits.registerClass('Sogeti.KomatsuForest.Webservices.SearchHits',Sys.Net.WebServiceProxy);
Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance = new Sogeti.KomatsuForest.Webservices.SearchHits();
Sogeti.KomatsuForest.Webservices.SearchHits.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance._path = value; }
Sogeti.KomatsuForest.Webservices.SearchHits.get_path = function() { return Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance._path; }
Sogeti.KomatsuForest.Webservices.SearchHits.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance._timeout = value; }
Sogeti.KomatsuForest.Webservices.SearchHits.get_timeout = function() { 
return Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance._timeout; }
Sogeti.KomatsuForest.Webservices.SearchHits.set_defaultUserContext = function(value) { 
Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance._userContext = value; }
Sogeti.KomatsuForest.Webservices.SearchHits.get_defaultUserContext = function() { 
return Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance._userContext; }
Sogeti.KomatsuForest.Webservices.SearchHits.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance._succeeded = value; }
Sogeti.KomatsuForest.Webservices.SearchHits.get_defaultSucceededCallback = function() { 
return Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance._succeeded; }
Sogeti.KomatsuForest.Webservices.SearchHits.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance._failed = value; }
Sogeti.KomatsuForest.Webservices.SearchHits.get_defaultFailedCallback = function() { 
return Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance._failed; }
Sogeti.KomatsuForest.Webservices.SearchHits.set_path("/Administration/WebServices/9062782B-A6FA-4823-87FD-7BC2CC257026.asmx");
Sogeti.KomatsuForest.Webservices.SearchHits.getSearchHtml= function(contextKey,onSuccess,onFailed,userContext) {Sogeti.KomatsuForest.Webservices.SearchHits._staticInstance.getSearchHtml(contextKey,onSuccess,onFailed,userContext); }
