Type.registerNamespace('NewsManager.Services');
NewsManager.Services.mnfService=function() {
NewsManager.Services.mnfService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NewsManager.Services.mnfService.prototype={
getMnfDetails:function(sMnfName,succeededCallback, failedCallback, userContext) {
return this._invoke(NewsManager.Services.mnfService.get_path(), 'getMnfDetails',false,{sMnfName:sMnfName},succeededCallback,failedCallback,userContext); },
GetCompletionList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(NewsManager.Services.mnfService.get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); }}
NewsManager.Services.mnfService.registerClass('NewsManager.Services.mnfService',Sys.Net.WebServiceProxy);
NewsManager.Services.mnfService._staticInstance = new NewsManager.Services.mnfService();
NewsManager.Services.mnfService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; NewsManager.Services.mnfService._staticInstance._path = value; }
NewsManager.Services.mnfService.get_path = function() { return NewsManager.Services.mnfService._staticInstance._path; }
NewsManager.Services.mnfService.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); }
NewsManager.Services.mnfService._staticInstance._timeout = value; }
NewsManager.Services.mnfService.get_timeout = function() { 
return NewsManager.Services.mnfService._staticInstance._timeout; }
NewsManager.Services.mnfService.set_defaultUserContext = function(value) { 
NewsManager.Services.mnfService._staticInstance._userContext = value; }
NewsManager.Services.mnfService.get_defaultUserContext = function() { 
return NewsManager.Services.mnfService._staticInstance._userContext; }
NewsManager.Services.mnfService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; NewsManager.Services.mnfService._staticInstance._succeeded = value; }
NewsManager.Services.mnfService.get_defaultSucceededCallback = function() { 
return NewsManager.Services.mnfService._staticInstance._succeeded; }
NewsManager.Services.mnfService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; NewsManager.Services.mnfService._staticInstance._failed = value; }
NewsManager.Services.mnfService.get_defaultFailedCallback = function() { 
return NewsManager.Services.mnfService._staticInstance._failed; }
NewsManager.Services.mnfService.set_path("/services/manufacturers.asmx");
NewsManager.Services.mnfService.getMnfDetails= function(sMnfName,onSuccess,onFailed,userContext) {NewsManager.Services.mnfService._staticInstance.getMnfDetails(sMnfName,onSuccess,onFailed,userContext); }
NewsManager.Services.mnfService.GetCompletionList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {NewsManager.Services.mnfService._staticInstance.GetCompletionList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
