Type.registerNamespace('Migros.KulturProzent.UI.Web.Code');
Migros.KulturProzent.UI.Web.Code.ScriptService=function() {
Migros.KulturProzent.UI.Web.Code.ScriptService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Migros.KulturProzent.UI.Web.Code.ScriptService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.get_path();},
SetPrintData:function(data,fontSize,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetPrintData',false,{data:data,fontSize:fontSize},succeededCallback,failedCallback,userContext); },
DeleteFile:function(filename,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteFile',false,{filename:filename},succeededCallback,failedCallback,userContext); },
GetUploadedFileCount:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUploadedFileCount',false,{},succeededCallback,failedCallback,userContext); },
GetZipCitySuggestion:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetZipCitySuggestion',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetAssetPopupContent:function(assetId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAssetPopupContent',false,{assetId:assetId},succeededCallback,failedCallback,userContext); },
GetVideoAssetPopupContent:function(assetId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVideoAssetPopupContent',false,{assetId:assetId},succeededCallback,failedCallback,userContext); }}
Migros.KulturProzent.UI.Web.Code.ScriptService.registerClass('Migros.KulturProzent.UI.Web.Code.ScriptService',Sys.Net.WebServiceProxy);
Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance = new Migros.KulturProzent.UI.Web.Code.ScriptService();
Migros.KulturProzent.UI.Web.Code.ScriptService.set_path = function(value) { Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.set_path(value); }
Migros.KulturProzent.UI.Web.Code.ScriptService.get_path = function() { return Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.get_path(); }
Migros.KulturProzent.UI.Web.Code.ScriptService.set_timeout = function(value) { Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.set_timeout(value); }
Migros.KulturProzent.UI.Web.Code.ScriptService.get_timeout = function() { return Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.get_timeout(); }
Migros.KulturProzent.UI.Web.Code.ScriptService.set_defaultUserContext = function(value) { Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.set_defaultUserContext(value); }
Migros.KulturProzent.UI.Web.Code.ScriptService.get_defaultUserContext = function() { return Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.get_defaultUserContext(); }
Migros.KulturProzent.UI.Web.Code.ScriptService.set_defaultSucceededCallback = function(value) { Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.set_defaultSucceededCallback(value); }
Migros.KulturProzent.UI.Web.Code.ScriptService.get_defaultSucceededCallback = function() { return Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.get_defaultSucceededCallback(); }
Migros.KulturProzent.UI.Web.Code.ScriptService.set_defaultFailedCallback = function(value) { Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.set_defaultFailedCallback(value); }
Migros.KulturProzent.UI.Web.Code.ScriptService.get_defaultFailedCallback = function() { return Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.get_defaultFailedCallback(); }
Migros.KulturProzent.UI.Web.Code.ScriptService.set_path("/Code/ScriptService.asmx");
Migros.KulturProzent.UI.Web.Code.ScriptService.SetPrintData= function(data,fontSize,onSuccess,onFailed,userContext) {Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.SetPrintData(data,fontSize,onSuccess,onFailed,userContext); }
Migros.KulturProzent.UI.Web.Code.ScriptService.DeleteFile= function(filename,onSuccess,onFailed,userContext) {Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.DeleteFile(filename,onSuccess,onFailed,userContext); }
Migros.KulturProzent.UI.Web.Code.ScriptService.GetUploadedFileCount= function(onSuccess,onFailed,userContext) {Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.GetUploadedFileCount(onSuccess,onFailed,userContext); }
Migros.KulturProzent.UI.Web.Code.ScriptService.GetZipCitySuggestion= function(prefixText,count,onSuccess,onFailed,userContext) {Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.GetZipCitySuggestion(prefixText,count,onSuccess,onFailed,userContext); }
Migros.KulturProzent.UI.Web.Code.ScriptService.GetAssetPopupContent= function(assetId,onSuccess,onFailed,userContext) {Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.GetAssetPopupContent(assetId,onSuccess,onFailed,userContext); }
Migros.KulturProzent.UI.Web.Code.ScriptService.GetVideoAssetPopupContent= function(assetId,onSuccess,onFailed,userContext) {Migros.KulturProzent.UI.Web.Code.ScriptService._staticInstance.GetVideoAssetPopupContent(assetId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Migros.KulturProzent.UI.Web.Code.AssetPopupContent) === 'undefined') {
Migros.KulturProzent.UI.Web.Code.AssetPopupContent=gtc("Migros.KulturProzent.UI.Web.Code.AssetPopupContent");
Migros.KulturProzent.UI.Web.Code.AssetPopupContent.registerClass('Migros.KulturProzent.UI.Web.Code.AssetPopupContent');
}

