Type.registerNamespace('iHorizonsGeneralWebService');
iHorizonsGeneralWebService.GeneralWebService=function() {
iHorizonsGeneralWebService.GeneralWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
iHorizonsGeneralWebService.GeneralWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return iHorizonsGeneralWebService.GeneralWebService._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
DecodeString:function(EncodedString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DecodeString',false,{EncodedString:EncodedString},succeededCallback,failedCallback,userContext); },
GetDayEvents:function(date,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDayEvents',false,{date:date,lang:lang},succeededCallback,failedCallback,userContext); },
GetSpecificDaySelectedEvents:function(Lng,ID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSpecificDaySelectedEvents',false,{Lng:Lng,ID:ID},succeededCallback,failedCallback,userContext); },
GetMonthEvents:function(fromDate,toDate,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMonthEvents',false,{fromDate:fromDate,toDate:toDate,lang:lang},succeededCallback,failedCallback,userContext); },
GetAudioVideoGalleryOnLine:function(PageNo,PageSize,ID,Title,enumGallaryType,PublishStartDate,PublishEndDate,Lang,SortBy,SortDirec,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAudioVideoGalleryOnLine',false,{PageNo:PageNo,PageSize:PageSize,ID:ID,Title:Title,enumGallaryType:enumGallaryType,PublishStartDate:PublishStartDate,PublishEndDate:PublishEndDate,Lang:Lang,SortBy:SortBy,SortDirec:SortDirec},succeededCallback,failedCallback,userContext); },
GetAudioVideoGallery:function(Title,Description,enumGallaryType,From,Till,Lang,ModifiedFrom,ModifiedTo,PublishedFrom,PublishedTo,Status,PageLength,PageNumber,ID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAudioVideoGallery',false,{Title:Title,Description:Description,enumGallaryType:enumGallaryType,From:From,Till:Till,Lang:Lang,ModifiedFrom:ModifiedFrom,ModifiedTo:ModifiedTo,PublishedFrom:PublishedFrom,PublishedTo:PublishedTo,Status:Status,PageLength:PageLength,PageNumber:PageNumber,ID:ID},succeededCallback,failedCallback,userContext); },
GetFileTranscript:function(ID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFileTranscript',false,{ID:ID},succeededCallback,failedCallback,userContext); },
GetFileInfo:function(ID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFileInfo',false,{ID:ID},succeededCallback,failedCallback,userContext); },
ReturnCultureResources:function(lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ReturnCultureResources',false,{lang:lang},succeededCallback,failedCallback,userContext); },
GetAllAlbumsName:function(enumGallaryType,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllAlbumsName',false,{enumGallaryType:enumGallaryType,lang:lang},succeededCallback,failedCallback,userContext); },
CheckAvailability:function(sUserName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckAvailability',false,{sUserName:sUserName},succeededCallback,failedCallback,userContext); },
GetAllSites:function(lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllSites',false,{lang:lang},succeededCallback,failedCallback,userContext); },
AddListItem:function(ListName,Field,Value,FileName,contents,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddListItem',false,{ListName:ListName,Field:Field,Value:Value,FileName:FileName,contents:contents},succeededCallback,failedCallback,userContext); },
SiteMap:function(RootNodeURL,CurrentUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SiteMap',false,{RootNodeURL:RootNodeURL,CurrentUrl:CurrentUrl},succeededCallback,failedCallback,userContext); },
SubScribeNewsletter:function(NewsEmail,Lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SubScribeNewsletter',false,{NewsEmail:NewsEmail,Lang:Lang},succeededCallback,failedCallback,userContext); },
UnSubscribeNews:function(NewsEmail,Lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UnSubscribeNews',false,{NewsEmail:NewsEmail,Lang:Lang},succeededCallback,failedCallback,userContext); }}
iHorizonsGeneralWebService.GeneralWebService.registerClass('iHorizonsGeneralWebService.GeneralWebService',Sys.Net.WebServiceProxy);
iHorizonsGeneralWebService.GeneralWebService._staticInstance = new iHorizonsGeneralWebService.GeneralWebService();
iHorizonsGeneralWebService.GeneralWebService.set_path = function(value) { iHorizonsGeneralWebService.GeneralWebService._staticInstance.set_path(value); }
iHorizonsGeneralWebService.GeneralWebService.get_path = function() { return iHorizonsGeneralWebService.GeneralWebService._staticInstance.get_path(); }
iHorizonsGeneralWebService.GeneralWebService.set_timeout = function(value) { iHorizonsGeneralWebService.GeneralWebService._staticInstance.set_timeout(value); }
iHorizonsGeneralWebService.GeneralWebService.get_timeout = function() { return iHorizonsGeneralWebService.GeneralWebService._staticInstance.get_timeout(); }
iHorizonsGeneralWebService.GeneralWebService.set_defaultUserContext = function(value) { iHorizonsGeneralWebService.GeneralWebService._staticInstance.set_defaultUserContext(value); }
iHorizonsGeneralWebService.GeneralWebService.get_defaultUserContext = function() { return iHorizonsGeneralWebService.GeneralWebService._staticInstance.get_defaultUserContext(); }
iHorizonsGeneralWebService.GeneralWebService.set_defaultSucceededCallback = function(value) { iHorizonsGeneralWebService.GeneralWebService._staticInstance.set_defaultSucceededCallback(value); }
iHorizonsGeneralWebService.GeneralWebService.get_defaultSucceededCallback = function() { return iHorizonsGeneralWebService.GeneralWebService._staticInstance.get_defaultSucceededCallback(); }
iHorizonsGeneralWebService.GeneralWebService.set_defaultFailedCallback = function(value) { iHorizonsGeneralWebService.GeneralWebService._staticInstance.set_defaultFailedCallback(value); }
iHorizonsGeneralWebService.GeneralWebService.get_defaultFailedCallback = function() { return iHorizonsGeneralWebService.GeneralWebService._staticInstance.get_defaultFailedCallback(); }
iHorizonsGeneralWebService.GeneralWebService.set_path("/webService/GeneralWebService.asmx");
iHorizonsGeneralWebService.GeneralWebService.HelloWorld= function(onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.DecodeString= function(EncodedString,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.DecodeString(EncodedString,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.GetDayEvents= function(date,lang,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.GetDayEvents(date,lang,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.GetSpecificDaySelectedEvents= function(Lng,ID,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.GetSpecificDaySelectedEvents(Lng,ID,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.GetMonthEvents= function(fromDate,toDate,lang,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.GetMonthEvents(fromDate,toDate,lang,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.GetAudioVideoGalleryOnLine= function(PageNo,PageSize,ID,Title,enumGallaryType,PublishStartDate,PublishEndDate,Lang,SortBy,SortDirec,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.GetAudioVideoGalleryOnLine(PageNo,PageSize,ID,Title,enumGallaryType,PublishStartDate,PublishEndDate,Lang,SortBy,SortDirec,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.GetAudioVideoGallery= function(Title,Description,enumGallaryType,From,Till,Lang,ModifiedFrom,ModifiedTo,PublishedFrom,PublishedTo,Status,PageLength,PageNumber,ID,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.GetAudioVideoGallery(Title,Description,enumGallaryType,From,Till,Lang,ModifiedFrom,ModifiedTo,PublishedFrom,PublishedTo,Status,PageLength,PageNumber,ID,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.GetFileTranscript= function(ID,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.GetFileTranscript(ID,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.GetFileInfo= function(ID,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.GetFileInfo(ID,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.ReturnCultureResources= function(lang,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.ReturnCultureResources(lang,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.GetAllAlbumsName= function(enumGallaryType,lang,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.GetAllAlbumsName(enumGallaryType,lang,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.CheckAvailability= function(sUserName,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.CheckAvailability(sUserName,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.GetAllSites= function(lang,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.GetAllSites(lang,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.AddListItem= function(ListName,Field,Value,FileName,contents,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.AddListItem(ListName,Field,Value,FileName,contents,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.SiteMap= function(RootNodeURL,CurrentUrl,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.SiteMap(RootNodeURL,CurrentUrl,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.SubScribeNewsletter= function(NewsEmail,Lang,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.SubScribeNewsletter(NewsEmail,Lang,onSuccess,onFailed,userContext); }
iHorizonsGeneralWebService.GeneralWebService.UnSubscribeNews= function(NewsEmail,Lang,onSuccess,onFailed,userContext) {iHorizonsGeneralWebService.GeneralWebService._staticInstance.UnSubscribeNews(NewsEmail,Lang,onSuccess,onFailed,userContext); }

