Type.registerNamespace('IPC.DNN.UI.Services');
IPC.DNN.UI.Services.DataService=function() {
IPC.DNN.UI.Services.DataService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
IPC.DNN.UI.Services.DataService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return IPC.DNN.UI.Services.DataService._staticInstance.get_path();},
GetMatchingPortalImages:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMatchingPortalImages',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetDownloadFileCategories:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDownloadFileCategories',false,{},succeededCallback,failedCallback,userContext); },
LogDownloadEvent:function(fileID,portalID,userID,actionName,pageUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LogDownloadEvent',false,{fileID:fileID,portalID:portalID,userID:userID,actionName:actionName,pageUrl:pageUrl},succeededCallback,failedCallback,userContext); },
GetFileDescription:function(fileID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFileDescription',false,{fileID:fileID},succeededCallback,failedCallback,userContext); },
GetFileModuleID:function(fileID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFileModuleID',false,{fileID:fileID},succeededCallback,failedCallback,userContext); },
ReformatUrl:function(url,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ReformatUrl',false,{url:url},succeededCallback,failedCallback,userContext); },
GetMatchingSolutionNames:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMatchingSolutionNames',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetMatchingPublisherNames:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMatchingPublisherNames',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetMatchingFeatures:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMatchingFeatures',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetMatchingTags:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMatchingTags',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
IPC.DNN.UI.Services.DataService.registerClass('IPC.DNN.UI.Services.DataService',Sys.Net.WebServiceProxy);
IPC.DNN.UI.Services.DataService._staticInstance = new IPC.DNN.UI.Services.DataService();
IPC.DNN.UI.Services.DataService.set_path = function(value) { IPC.DNN.UI.Services.DataService._staticInstance.set_path(value); }
IPC.DNN.UI.Services.DataService.get_path = function() { return IPC.DNN.UI.Services.DataService._staticInstance.get_path(); }
IPC.DNN.UI.Services.DataService.set_timeout = function(value) { IPC.DNN.UI.Services.DataService._staticInstance.set_timeout(value); }
IPC.DNN.UI.Services.DataService.get_timeout = function() { return IPC.DNN.UI.Services.DataService._staticInstance.get_timeout(); }
IPC.DNN.UI.Services.DataService.set_defaultUserContext = function(value) { IPC.DNN.UI.Services.DataService._staticInstance.set_defaultUserContext(value); }
IPC.DNN.UI.Services.DataService.get_defaultUserContext = function() { return IPC.DNN.UI.Services.DataService._staticInstance.get_defaultUserContext(); }
IPC.DNN.UI.Services.DataService.set_defaultSucceededCallback = function(value) { IPC.DNN.UI.Services.DataService._staticInstance.set_defaultSucceededCallback(value); }
IPC.DNN.UI.Services.DataService.get_defaultSucceededCallback = function() { return IPC.DNN.UI.Services.DataService._staticInstance.get_defaultSucceededCallback(); }
IPC.DNN.UI.Services.DataService.set_defaultFailedCallback = function(value) { IPC.DNN.UI.Services.DataService._staticInstance.set_defaultFailedCallback(value); }
IPC.DNN.UI.Services.DataService.get_defaultFailedCallback = function() { return IPC.DNN.UI.Services.DataService._staticInstance.get_defaultFailedCallback(); }
IPC.DNN.UI.Services.DataService.set_path("/Data/DataService.asmx");
IPC.DNN.UI.Services.DataService.GetMatchingPortalImages= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {IPC.DNN.UI.Services.DataService._staticInstance.GetMatchingPortalImages(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
IPC.DNN.UI.Services.DataService.GetDownloadFileCategories= function(onSuccess,onFailed,userContext) {IPC.DNN.UI.Services.DataService._staticInstance.GetDownloadFileCategories(onSuccess,onFailed,userContext); }
IPC.DNN.UI.Services.DataService.LogDownloadEvent= function(fileID,portalID,userID,actionName,pageUrl,onSuccess,onFailed,userContext) {IPC.DNN.UI.Services.DataService._staticInstance.LogDownloadEvent(fileID,portalID,userID,actionName,pageUrl,onSuccess,onFailed,userContext); }
IPC.DNN.UI.Services.DataService.GetFileDescription= function(fileID,onSuccess,onFailed,userContext) {IPC.DNN.UI.Services.DataService._staticInstance.GetFileDescription(fileID,onSuccess,onFailed,userContext); }
IPC.DNN.UI.Services.DataService.GetFileModuleID= function(fileID,onSuccess,onFailed,userContext) {IPC.DNN.UI.Services.DataService._staticInstance.GetFileModuleID(fileID,onSuccess,onFailed,userContext); }
IPC.DNN.UI.Services.DataService.ReformatUrl= function(url,onSuccess,onFailed,userContext) {IPC.DNN.UI.Services.DataService._staticInstance.ReformatUrl(url,onSuccess,onFailed,userContext); }
IPC.DNN.UI.Services.DataService.GetMatchingSolutionNames= function(prefixText,count,onSuccess,onFailed,userContext) {IPC.DNN.UI.Services.DataService._staticInstance.GetMatchingSolutionNames(prefixText,count,onSuccess,onFailed,userContext); }
IPC.DNN.UI.Services.DataService.GetMatchingPublisherNames= function(prefixText,count,onSuccess,onFailed,userContext) {IPC.DNN.UI.Services.DataService._staticInstance.GetMatchingPublisherNames(prefixText,count,onSuccess,onFailed,userContext); }
IPC.DNN.UI.Services.DataService.GetMatchingFeatures= function(prefixText,count,onSuccess,onFailed,userContext) {IPC.DNN.UI.Services.DataService._staticInstance.GetMatchingFeatures(prefixText,count,onSuccess,onFailed,userContext); }
IPC.DNN.UI.Services.DataService.GetMatchingTags= function(prefixText,count,onSuccess,onFailed,userContext) {IPC.DNN.UI.Services.DataService._staticInstance.GetMatchingTags(prefixText,count,onSuccess,onFailed,userContext); }
