var WebServiceForSearch=function() {
WebServiceForSearch.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebServiceForSearch.prototype={
GetMetaList:function(Type,Key,Keyword,Group,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServiceForSearch.get_path(), 'GetMetaList',false,{Type:Type,Key:Key,Keyword:Keyword,Group:Group},succeededCallback,failedCallback,userContext); },
GetKeywordList:function(keyword,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServiceForSearch.get_path(), 'GetKeywordList',false,{keyword:keyword},succeededCallback,failedCallback,userContext); },
SetKeywordList:function(keyword,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServiceForSearch.get_path(), 'SetKeywordList',false,{keyword:keyword},succeededCallback,failedCallback,userContext); }}
WebServiceForSearch.registerClass('WebServiceForSearch',Sys.Net.WebServiceProxy);
WebServiceForSearch._staticInstance = new WebServiceForSearch();
WebServiceForSearch.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WebServiceForSearch._staticInstance._path = value; }
WebServiceForSearch.get_path = function() { return WebServiceForSearch._staticInstance._path; }
WebServiceForSearch.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); }
WebServiceForSearch._staticInstance._timeout = value; }
WebServiceForSearch.get_timeout = function() { 
return WebServiceForSearch._staticInstance._timeout; }
WebServiceForSearch.set_defaultUserContext = function(value) { 
WebServiceForSearch._staticInstance._userContext = value; }
WebServiceForSearch.get_defaultUserContext = function() { 
return WebServiceForSearch._staticInstance._userContext; }
WebServiceForSearch.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WebServiceForSearch._staticInstance._succeeded = value; }
WebServiceForSearch.get_defaultSucceededCallback = function() { 
return WebServiceForSearch._staticInstance._succeeded; }
WebServiceForSearch.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WebServiceForSearch._staticInstance._failed = value; }
WebServiceForSearch.get_defaultFailedCallback = function() { 
return WebServiceForSearch._staticInstance._failed; }
WebServiceForSearch.set_path("/Library/modules/HealthPedia/WebService/WebServiceForSearch.asmx");
WebServiceForSearch.GetMetaList= function(Type,Key,Keyword,Group,onSuccess,onFailed,userContext) {WebServiceForSearch._staticInstance.GetMetaList(Type,Key,Keyword,Group,onSuccess,onFailed,userContext); }
WebServiceForSearch.GetKeywordList= function(keyword,onSuccess,onFailed,userContext) {WebServiceForSearch._staticInstance.GetKeywordList(keyword,onSuccess,onFailed,userContext); }
WebServiceForSearch.SetKeywordList= function(keyword,onSuccess,onFailed,userContext) {WebServiceForSearch._staticInstance.SetKeywordList(keyword,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WebServiceForSearch_MetaInfo) === 'undefined') {
var WebServiceForSearch_MetaInfo=gtc("WebServiceForSearch+MetaInfo");
WebServiceForSearch_MetaInfo.registerClass('WebServiceForSearch_MetaInfo');
}
if (typeof(WebServiceForSearch_KeywordInfo) === 'undefined') {
var WebServiceForSearch_KeywordInfo=gtc("WebServiceForSearch+KeywordInfo");
WebServiceForSearch_KeywordInfo.registerClass('WebServiceForSearch_KeywordInfo');
}
