var LoadControl=function() {
LoadControl.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LoadControl.prototype={
LoadDynamicUserControl:function(UserControl,LoadMethodName,LoadMethodParameters,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'LoadDynamicUserControl',false,{UserControl:UserControl,LoadMethodName:LoadMethodName,LoadMethodParameters:LoadMethodParameters},succeededCallback,failedCallback,userContext); },
TypeBehindQuery:function(SearchType,TargetControl,CallId,Pattern,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'TypeBehindQuery',false,{SearchType:SearchType,TargetControl:TargetControl,CallId:CallId,Pattern:Pattern},succeededCallback,failedCallback,userContext); },
CreateEditPhotoMap:function(PhotoGuid,PhotoMapGuid,Width,Height,X,Y,Guid,Value,MappedType,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'CreateEditPhotoMap',false,{PhotoGuid:PhotoGuid,PhotoMapGuid:PhotoMapGuid,Width:Width,Height:Height,X:X,Y:Y,Guid:Guid,Value:Value,MappedType:MappedType},succeededCallback,failedCallback,userContext); },
DeletePhotoMap:function(PhotoMapGuid,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'DeletePhotoMap',false,{PhotoMapGuid:PhotoMapGuid},succeededCallback,failedCallback,userContext); },
MovePhotoMap:function(PhotoMapGuid,Width,Height,X,Y,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'MovePhotoMap',false,{PhotoMapGuid:PhotoMapGuid,Width:Width,Height:Height,X:X,Y:Y},succeededCallback,failedCallback,userContext); },
SaveProfile:function(fname,lname,gender,dmonth,dday,dyear,pwebsite,favquot,PersRes,degree,lasctsc,gyear,contentlang,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'SaveProfile',false,{fname:fname,lname:lname,gender:gender,dmonth:dmonth,dday:dday,dyear:dyear,pwebsite:pwebsite,favquot:favquot,PersRes:PersRes,degree:degree,lasctsc:lasctsc,gyear:gyear,contentlang:contentlang},succeededCallback,failedCallback,userContext); },
SaveProfileC:function(country,city,gmt,address,zipcode,phone,phonec,phonea,phonen,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'SaveProfileC',false,{country:country,city:city,gmt:gmt,address:address,zipcode:zipcode,phone:phone,phonec:phonec,phonea:phonea,phonen:phonen},succeededCallback,failedCallback,userContext); },
SaveProfileB:function(company,position,industry,description,website,cv,interested,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'SaveProfileB',false,{company:company,position:position,industry:industry,description:description,website:website,cv:cv,interested:interested},succeededCallback,failedCallback,userContext); },
SetDefaultPhoto:function(photoguid,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'SetDefaultPhoto',false,{photoguid:photoguid},succeededCallback,failedCallback,userContext); },
CheckNewMailForm:function(Action,OrigMessGuid,PrevFolderGuid,Subject,Message,To,Cc,Bcc,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'CheckNewMailForm',false,{Action:Action,OrigMessGuid:OrigMessGuid,PrevFolderGuid:PrevFolderGuid,Subject:Subject,Message:Message,To:To,Cc:Cc,Bcc:Bcc},succeededCallback,failedCallback,userContext); },
MailDeleteMessages:function(MsgToDelGuids,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'MailDeleteMessages',false,{MsgToDelGuids:MsgToDelGuids},succeededCallback,failedCallback,userContext); },
MailEmptyDeletedFolder:function(succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'MailEmptyDeletedFolder',false,{},succeededCallback,failedCallback,userContext); },
SendMailMessage:function(To,Subject,Message,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'SendMailMessage',false,{To:To,Subject:Subject,Message:Message},succeededCallback,failedCallback,userContext); },
CheckInviteForm:function(emails,message,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'CheckInviteForm',false,{emails:emails,message:message,lang:lang},succeededCallback,failedCallback,userContext); },
CheckTellAFriendWithObjectForm:function(objectGuid,objectType,photoType,tellTo,message,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'CheckTellAFriendWithObjectForm',false,{objectGuid:objectGuid,objectType:objectType,photoType:photoType,tellTo:tellTo,message:message,lang:lang},succeededCallback,failedCallback,userContext); },
ImportContacts:function(email,password,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'ImportContacts',false,{email:email,password:password},succeededCallback,failedCallback,userContext); },
CheckSecurityPopup:function(ObjectGuid,ObjectType,ChoosenGroup,BrotherGuid,SelFriends,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'CheckSecurityPopup',false,{ObjectGuid:ObjectGuid,ObjectType:ObjectType,ChoosenGroup:ChoosenGroup,BrotherGuid:BrotherGuid,SelFriends:SelFriends},succeededCallback,failedCallback,userContext); },
PostDeleteAttachment:function(PostGuid,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'PostDeleteAttachment',false,{PostGuid:PostGuid},succeededCallback,failedCallback,userContext); },
SetPersonalMessage:function(Message,fromFullProfile,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'SetPersonalMessage',false,{Message:Message,fromFullProfile:fromFullProfile},succeededCallback,failedCallback,userContext); },
AddFriends:function(Message,Friends,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'AddFriends',false,{Message:Message,Friends:Friends},succeededCallback,failedCallback,userContext); },
LoadPrivacy:function(succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'LoadPrivacy',false,{},succeededCallback,failedCallback,userContext); },
getGmtFromContry:function(ddlGMT,ctl,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'getGmtFromContry',false,{ddlGMT:ddlGMT,ctl:ctl},succeededCallback,failedCallback,userContext); },
getCatsByLang:function(Lang,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'getCatsByLang',false,{Lang:Lang},succeededCallback,failedCallback,userContext); },
CheckEmailForm:function(Email,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'CheckEmailForm',false,{Email:Email},succeededCallback,failedCallback,userContext); },
ChangeEmailReq:function(op,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'ChangeEmailReq',false,{op:op},succeededCallback,failedCallback,userContext); },
EditPhoto:function(PhotoType,PhotoGuids,PhotoNames,PhotoMoveToAlbumGuids,PhotoDescs,PhotoTags,PhotoDeletes,photocoverguid,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'EditPhoto',false,{PhotoType:PhotoType,PhotoGuids:PhotoGuids,PhotoNames:PhotoNames,PhotoMoveToAlbumGuids:PhotoMoveToAlbumGuids,PhotoDescs:PhotoDescs,PhotoTags:PhotoTags,PhotoDeletes:PhotoDeletes,photocoverguid:photocoverguid},succeededCallback,failedCallback,userContext); },
EditAlbum:function(AlbumGuid,Start,PhotoGuids,PhotoNames,PhotoMoveToAlbumGuids,PhotoDescs,PhotoTags,PhotoDeletes,photocoverguid,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'EditAlbum',false,{AlbumGuid:AlbumGuid,Start:Start,PhotoGuids:PhotoGuids,PhotoNames:PhotoNames,PhotoMoveToAlbumGuids:PhotoMoveToAlbumGuids,PhotoDescs:PhotoDescs,PhotoTags:PhotoTags,PhotoDeletes:PhotoDeletes,photocoverguid:photocoverguid},succeededCallback,failedCallback,userContext); },
EditEvent:function(EventGuid,AlbumGuid,Start,PhotoGuids,PhotoNames,PhotoMoveToAlbumGuids,PhotoDescs,PhotoTags,PhotoDeletes,photocoverguid,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'EditEvent',false,{EventGuid:EventGuid,AlbumGuid:AlbumGuid,Start:Start,PhotoGuids:PhotoGuids,PhotoNames:PhotoNames,PhotoMoveToAlbumGuids:PhotoMoveToAlbumGuids,PhotoDescs:PhotoDescs,PhotoTags:PhotoTags,PhotoDeletes:PhotoDeletes,photocoverguid:photocoverguid},succeededCallback,failedCallback,userContext); },
EA_CheckFormAdd:function(Title,Desc,FolderGuid,Auth,Roles,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'EA_CheckFormAdd',false,{Title:Title,Desc:Desc,FolderGuid:FolderGuid,Auth:Auth,Roles:Roles},succeededCallback,failedCallback,userContext); },
EA_CheckFormEdit:function(AlbumGuid,Title,Description,Auth,Roles,succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'EA_CheckFormEdit',false,{AlbumGuid:AlbumGuid,Title:Title,Description:Description,Auth:Auth,Roles:Roles},succeededCallback,failedCallback,userContext); },
UpdateSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(LoadControl.get_path(), 'UpdateSession',false,{},succeededCallback,failedCallback,userContext); }}
LoadControl.registerClass('LoadControl',Sys.Net.WebServiceProxy);
LoadControl._staticInstance = new LoadControl();
LoadControl.set_path = function(value) { LoadControl._staticInstance._path = value; }
LoadControl.get_path = function() { return LoadControl._staticInstance._path; }
LoadControl.set_timeout = function(value) { LoadControl._staticInstance._timeout = value; }
LoadControl.get_timeout = function() { return LoadControl._staticInstance._timeout; }
LoadControl.set_defaultUserContext = function(value) { LoadControl._staticInstance._userContext = value; }
LoadControl.get_defaultUserContext = function() { return LoadControl._staticInstance._userContext; }
LoadControl.set_defaultSucceededCallback = function(value) { LoadControl._staticInstance._succeeded = value; }
LoadControl.get_defaultSucceededCallback = function() { return LoadControl._staticInstance._succeeded; }
LoadControl.set_defaultFailedCallback = function(value) { LoadControl._staticInstance._failed = value; }
LoadControl.get_defaultFailedCallback = function() { return LoadControl._staticInstance._failed; }
LoadControl.set_path("/ws/LoadControl.asmx");
LoadControl.LoadDynamicUserControl= function(UserControl,LoadMethodName,LoadMethodParameters,onSuccess,onFailed,userContext) {LoadControl._staticInstance.LoadDynamicUserControl(UserControl,LoadMethodName,LoadMethodParameters,onSuccess,onFailed,userContext); }
LoadControl.TypeBehindQuery= function(SearchType,TargetControl,CallId,Pattern,onSuccess,onFailed,userContext) {LoadControl._staticInstance.TypeBehindQuery(SearchType,TargetControl,CallId,Pattern,onSuccess,onFailed,userContext); }
LoadControl.CreateEditPhotoMap= function(PhotoGuid,PhotoMapGuid,Width,Height,X,Y,Guid,Value,MappedType,onSuccess,onFailed,userContext) {LoadControl._staticInstance.CreateEditPhotoMap(PhotoGuid,PhotoMapGuid,Width,Height,X,Y,Guid,Value,MappedType,onSuccess,onFailed,userContext); }
LoadControl.DeletePhotoMap= function(PhotoMapGuid,onSuccess,onFailed,userContext) {LoadControl._staticInstance.DeletePhotoMap(PhotoMapGuid,onSuccess,onFailed,userContext); }
LoadControl.MovePhotoMap= function(PhotoMapGuid,Width,Height,X,Y,onSuccess,onFailed,userContext) {LoadControl._staticInstance.MovePhotoMap(PhotoMapGuid,Width,Height,X,Y,onSuccess,onFailed,userContext); }
LoadControl.SaveProfile= function(fname,lname,gender,dmonth,dday,dyear,pwebsite,favquot,PersRes,degree,lasctsc,gyear,contentlang,onSuccess,onFailed,userContext) {LoadControl._staticInstance.SaveProfile(fname,lname,gender,dmonth,dday,dyear,pwebsite,favquot,PersRes,degree,lasctsc,gyear,contentlang,onSuccess,onFailed,userContext); }
LoadControl.SaveProfileC= function(country,city,gmt,address,zipcode,phone,phonec,phonea,phonen,onSuccess,onFailed,userContext) {LoadControl._staticInstance.SaveProfileC(country,city,gmt,address,zipcode,phone,phonec,phonea,phonen,onSuccess,onFailed,userContext); }
LoadControl.SaveProfileB= function(company,position,industry,description,website,cv,interested,onSuccess,onFailed,userContext) {LoadControl._staticInstance.SaveProfileB(company,position,industry,description,website,cv,interested,onSuccess,onFailed,userContext); }
LoadControl.SetDefaultPhoto= function(photoguid,onSuccess,onFailed,userContext) {LoadControl._staticInstance.SetDefaultPhoto(photoguid,onSuccess,onFailed,userContext); }
LoadControl.CheckNewMailForm= function(Action,OrigMessGuid,PrevFolderGuid,Subject,Message,To,Cc,Bcc,onSuccess,onFailed,userContext) {LoadControl._staticInstance.CheckNewMailForm(Action,OrigMessGuid,PrevFolderGuid,Subject,Message,To,Cc,Bcc,onSuccess,onFailed,userContext); }
LoadControl.MailDeleteMessages= function(MsgToDelGuids,onSuccess,onFailed,userContext) {LoadControl._staticInstance.MailDeleteMessages(MsgToDelGuids,onSuccess,onFailed,userContext); }
LoadControl.MailEmptyDeletedFolder= function(onSuccess,onFailed,userContext) {LoadControl._staticInstance.MailEmptyDeletedFolder(onSuccess,onFailed,userContext); }
LoadControl.SendMailMessage= function(To,Subject,Message,onSuccess,onFailed,userContext) {LoadControl._staticInstance.SendMailMessage(To,Subject,Message,onSuccess,onFailed,userContext); }
LoadControl.CheckInviteForm= function(emails,message,lang,onSuccess,onFailed,userContext) {LoadControl._staticInstance.CheckInviteForm(emails,message,lang,onSuccess,onFailed,userContext); }
LoadControl.CheckTellAFriendWithObjectForm= function(objectGuid,objectType,photoType,tellTo,message,lang,onSuccess,onFailed,userContext) {LoadControl._staticInstance.CheckTellAFriendWithObjectForm(objectGuid,objectType,photoType,tellTo,message,lang,onSuccess,onFailed,userContext); }
LoadControl.ImportContacts= function(email,password,onSuccess,onFailed,userContext) {LoadControl._staticInstance.ImportContacts(email,password,onSuccess,onFailed,userContext); }
LoadControl.CheckSecurityPopup= function(ObjectGuid,ObjectType,ChoosenGroup,BrotherGuid,SelFriends,onSuccess,onFailed,userContext) {LoadControl._staticInstance.CheckSecurityPopup(ObjectGuid,ObjectType,ChoosenGroup,BrotherGuid,SelFriends,onSuccess,onFailed,userContext); }
LoadControl.PostDeleteAttachment= function(PostGuid,onSuccess,onFailed,userContext) {LoadControl._staticInstance.PostDeleteAttachment(PostGuid,onSuccess,onFailed,userContext); }
LoadControl.SetPersonalMessage= function(Message,fromFullProfile,onSuccess,onFailed,userContext) {LoadControl._staticInstance.SetPersonalMessage(Message,fromFullProfile,onSuccess,onFailed,userContext); }
LoadControl.AddFriends= function(Message,Friends,onSuccess,onFailed,userContext) {LoadControl._staticInstance.AddFriends(Message,Friends,onSuccess,onFailed,userContext); }
LoadControl.LoadPrivacy= function(onSuccess,onFailed,userContext) {LoadControl._staticInstance.LoadPrivacy(onSuccess,onFailed,userContext); }
LoadControl.getGmtFromContry= function(ddlGMT,ctl,onSuccess,onFailed,userContext) {LoadControl._staticInstance.getGmtFromContry(ddlGMT,ctl,onSuccess,onFailed,userContext); }
LoadControl.getCatsByLang= function(Lang,onSuccess,onFailed,userContext) {LoadControl._staticInstance.getCatsByLang(Lang,onSuccess,onFailed,userContext); }
LoadControl.CheckEmailForm= function(Email,onSuccess,onFailed,userContext) {LoadControl._staticInstance.CheckEmailForm(Email,onSuccess,onFailed,userContext); }
LoadControl.ChangeEmailReq= function(op,onSuccess,onFailed,userContext) {LoadControl._staticInstance.ChangeEmailReq(op,onSuccess,onFailed,userContext); }
LoadControl.EditPhoto= function(PhotoType,PhotoGuids,PhotoNames,PhotoMoveToAlbumGuids,PhotoDescs,PhotoTags,PhotoDeletes,photocoverguid,onSuccess,onFailed,userContext) {LoadControl._staticInstance.EditPhoto(PhotoType,PhotoGuids,PhotoNames,PhotoMoveToAlbumGuids,PhotoDescs,PhotoTags,PhotoDeletes,photocoverguid,onSuccess,onFailed,userContext); }
LoadControl.EditAlbum= function(AlbumGuid,Start,PhotoGuids,PhotoNames,PhotoMoveToAlbumGuids,PhotoDescs,PhotoTags,PhotoDeletes,photocoverguid,onSuccess,onFailed,userContext) {LoadControl._staticInstance.EditAlbum(AlbumGuid,Start,PhotoGuids,PhotoNames,PhotoMoveToAlbumGuids,PhotoDescs,PhotoTags,PhotoDeletes,photocoverguid,onSuccess,onFailed,userContext); }
LoadControl.EditEvent= function(EventGuid,AlbumGuid,Start,PhotoGuids,PhotoNames,PhotoMoveToAlbumGuids,PhotoDescs,PhotoTags,PhotoDeletes,photocoverguid,onSuccess,onFailed,userContext) {LoadControl._staticInstance.EditEvent(EventGuid,AlbumGuid,Start,PhotoGuids,PhotoNames,PhotoMoveToAlbumGuids,PhotoDescs,PhotoTags,PhotoDeletes,photocoverguid,onSuccess,onFailed,userContext); }
LoadControl.EA_CheckFormAdd= function(Title,Desc,FolderGuid,Auth,Roles,onSuccess,onFailed,userContext) {LoadControl._staticInstance.EA_CheckFormAdd(Title,Desc,FolderGuid,Auth,Roles,onSuccess,onFailed,userContext); }
LoadControl.EA_CheckFormEdit= function(AlbumGuid,Title,Description,Auth,Roles,onSuccess,onFailed,userContext) {LoadControl._staticInstance.EA_CheckFormEdit(AlbumGuid,Title,Description,Auth,Roles,onSuccess,onFailed,userContext); }
LoadControl.UpdateSession= function(onSuccess,onFailed,userContext) {LoadControl._staticInstance.UpdateSession(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(LoadControlResult) === 'undefined') {
var LoadControlResult=gtc("LoadControlResult");
LoadControlResult.registerClass('LoadControlResult');
}
Type.registerNamespace('Xpro.UI.TypeBehind');
if (typeof(Xpro.UI.TypeBehind.TypeBehindSearchResult) === 'undefined') {
Xpro.UI.TypeBehind.TypeBehindSearchResult=gtc("Xpro.UI.TypeBehind.TypeBehindSearchResult");
Xpro.UI.TypeBehind.TypeBehindSearchResult.registerClass('Xpro.UI.TypeBehind.TypeBehindSearchResult');
}
Type.registerNamespace('Xpro.UI.Mapping');
if (typeof(Xpro.UI.Mapping.PhotoMapActionResult) === 'undefined') {
Xpro.UI.Mapping.PhotoMapActionResult=gtc("Xpro.UI.Mapping.PhotoMapActionResult");
Xpro.UI.Mapping.PhotoMapActionResult.registerClass('Xpro.UI.Mapping.PhotoMapActionResult');
}
Type.registerNamespace('Xpro.TypeBehind');
if (typeof(Xpro.TypeBehind.TypeBehindItemListJSON) === 'undefined') {
Xpro.TypeBehind.TypeBehindItemListJSON=gtc("Xpro.TypeBehind.TypeBehindItemListJSON");
Xpro.TypeBehind.TypeBehindItemListJSON.registerClass('Xpro.TypeBehind.TypeBehindItemListJSON');
}
if (typeof(WebServiceReturnMessage) === 'undefined') {
var WebServiceReturnMessage=gtc("WebServiceReturnMessage");
WebServiceReturnMessage.registerClass('WebServiceReturnMessage');
}
if (typeof(Xpro.UI.TypeBehind.TypeBehindSearchType) === 'undefined') {
Xpro.UI.TypeBehind.TypeBehindSearchType = function() { throw Error.invalidOperation(); }
Xpro.UI.TypeBehind.TypeBehindSearchType.prototype = {None: 0,InviteFriends: 1,TellaFriendWithObject: 2,InternalMail: 3,PhotoMapping: 4,Authorizations: 5,Location: 6}
Xpro.UI.TypeBehind.TypeBehindSearchType.registerEnum('Xpro.UI.TypeBehind.TypeBehindSearchType', true);
}
Type.registerNamespace('Xpro.Misc');
if (typeof(Xpro.Misc.SuggestTypes) === 'undefined') {
Xpro.Misc.SuggestTypes = function() { throw Error.invalidOperation(); }
Xpro.Misc.SuggestTypes.prototype = {Other: 0,InternalUser: 1,ExternalUser: 2,City: 3,Text: 4,ContactFolder: 5,None: -1}
Xpro.Misc.SuggestTypes.registerEnum('Xpro.Misc.SuggestTypes', true);
}
