Type.registerNamespace('Core.WebServices');
Core.WebServices.Common=function() {
Core.WebServices.Common.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Core.WebServices.Common.prototype={
Search:function(query,succeededCallback, failedCallback, userContext) {
return this._invoke(Core.WebServices.Common.get_path(), 'Search',false,{query:query},succeededCallback,failedCallback,userContext); },
LogVisit:function(pageid,succeededCallback, failedCallback, userContext) {
return this._invoke(Core.WebServices.Common.get_path(), 'LogVisit',false,{pageid:pageid},succeededCallback,failedCallback,userContext); },
CallPlugin:function(Ass,Plugin,args,succeededCallback, failedCallback, userContext) {
return this._invoke(Core.WebServices.Common.get_path(), 'CallPlugin',false,{Ass:Ass,Plugin:Plugin,args:args},succeededCallback,failedCallback,userContext); }}
Core.WebServices.Common.registerClass('Core.WebServices.Common',Sys.Net.WebServiceProxy);
Core.WebServices.Common._staticInstance = new Core.WebServices.Common();
Core.WebServices.Common.set_path = function(value) { Core.WebServices.Common._staticInstance._path = value; }
Core.WebServices.Common.get_path = function() { return Core.WebServices.Common._staticInstance._path; }
Core.WebServices.Common.set_timeout = function(value) { Core.WebServices.Common._staticInstance._timeout = value; }
Core.WebServices.Common.get_timeout = function() { return Core.WebServices.Common._staticInstance._timeout; }
Core.WebServices.Common.set_defaultUserContext = function(value) { Core.WebServices.Common._staticInstance._userContext = value; }
Core.WebServices.Common.get_defaultUserContext = function() { return Core.WebServices.Common._staticInstance._userContext; }
Core.WebServices.Common.set_defaultSucceededCallback = function(value) { Core.WebServices.Common._staticInstance._succeeded = value; }
Core.WebServices.Common.get_defaultSucceededCallback = function() { return Core.WebServices.Common._staticInstance._succeeded; }
Core.WebServices.Common.set_defaultFailedCallback = function(value) { Core.WebServices.Common._staticInstance._failed = value; }
Core.WebServices.Common.get_defaultFailedCallback = function() { return Core.WebServices.Common._staticInstance._failed; }
Core.WebServices.Common.set_path("/Core,Core.WebServices.Common.asmx");
Core.WebServices.Common.Search= function(query,onSuccess,onFailed,userContext) {Core.WebServices.Common._staticInstance.Search(query,onSuccess,onFailed,userContext); }
Core.WebServices.Common.LogVisit= function(pageid,onSuccess,onFailed,userContext) {Core.WebServices.Common._staticInstance.LogVisit(pageid,onSuccess,onFailed,userContext); }
Core.WebServices.Common.CallPlugin= function(Ass,Plugin,args,onSuccess,onFailed,userContext) {Core.WebServices.Common._staticInstance.CallPlugin(Ass,Plugin,args,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Core.Indexing');
if (typeof(Core.Indexing.AjaxHit) === 'undefined') {
Core.Indexing.AjaxHit=gtc("Core.Indexing.AjaxHit");
Core.Indexing.AjaxHit.registerClass('Core.Indexing.AjaxHit');
}
