var FamilyService=function() {
FamilyService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
FamilyService.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetFiles:function(succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'GetFiles',false,{},succeededCallback,failedCallback,userContext); },
GetLoginPage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'GetLoginPage',false,{},succeededCallback,failedCallback,userContext); },
GetPhotoHtmlByParentID:function(ParentID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'GetPhotoHtmlByParentID',false,{ParentID:ParentID},succeededCallback,failedCallback,userContext); },
GetPhotoHtmlBySysCategory:function(CategoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'GetPhotoHtmlBySysCategory',false,{CategoryID:CategoryID},succeededCallback,failedCallback,userContext); },
GetHtmlByURL:function(sURL,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'GetHtmlByURL',false,{sURL:sURL},succeededCallback,failedCallback,userContext); },
Login:function(UserName,Password,CurrentURL,isRedirect,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'Login',false,{UserName:UserName,Password:Password,CurrentURL:CurrentURL,isRedirect:isRedirect},succeededCallback,failedCallback,userContext); },
ChangeDiaryBlock:function(cateID,paraRoomID,paraStageID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'ChangeDiaryBlock',false,{cateID:cateID,paraRoomID:paraRoomID,paraStageID:paraStageID},succeededCallback,failedCallback,userContext); },
MarkFriend:function(succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'MarkFriend',false,{},succeededCallback,failedCallback,userContext); },
MarkFriendFromSearch:function(familyid,cateID,cateName,friendName,friendRemark,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'MarkFriendFromSearch',false,{familyid:familyid,cateID:cateID,cateName:cateName,friendName:friendName,friendRemark:friendRemark},succeededCallback,failedCallback,userContext); },
AddFriend:function(url,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'AddFriend',false,{url:url},succeededCallback,failedCallback,userContext); },
SendRegard:function(succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'SendRegard',false,{},succeededCallback,failedCallback,userContext); },
FriendListHtml:function(familyID,userList,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'FriendListHtml',false,{familyID:familyID,userList:userList},succeededCallback,failedCallback,userContext); },
SetHelloReadFlag:function(MsgID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'SetHelloReadFlag',false,{MsgID:MsgID},succeededCallback,failedCallback,userContext); },
FriendExists:function(friendList,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'FriendExists',false,{friendList:friendList},succeededCallback,failedCallback,userContext); },
MarkMultimedia:function(sID,title,description,publicLevel,sPhoto,sPhotoDesc,sInterlude,fontColor,borderColor,borderAlpha,borderStyle,animation,musicURL,oper,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'MarkMultimedia',false,{sID:sID,title:title,description:description,publicLevel:publicLevel,sPhoto:sPhoto,sPhotoDesc:sPhotoDesc,sInterlude:sInterlude,fontColor:fontColor,borderColor:borderColor,borderAlpha:borderAlpha,borderStyle:borderStyle,animation:animation,musicURL:musicURL,oper:oper},succeededCallback,failedCallback,userContext); },
InviteFriend:function(userName,mobile,youName,pwd2,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'InviteFriend',false,{userName:userName,mobile:mobile,youName:youName,pwd2:pwd2},succeededCallback,failedCallback,userContext); },
circleALL:function(plog,USerID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'circleALL',false,{plog:plog,USerID:USerID},succeededCallback,failedCallback,userContext); },
SendInviteMail:function(SenderName,MailTo,MailMsg,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'SendInviteMail',false,{SenderName:SenderName,MailTo:MailTo,MailMsg:MailMsg},succeededCallback,failedCallback,userContext); },
GetFamilyShop:function(p_type,p_userid,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'GetFamilyShop',false,{p_type:p_type,p_userid:p_userid},succeededCallback,failedCallback,userContext); }}
FamilyService.registerClass('FamilyService',Sys.Net.WebServiceProxy);
FamilyService._staticInstance = new FamilyService();
FamilyService.set_path = function(value) { FamilyService._staticInstance._path = value; }
FamilyService.get_path = function() { return FamilyService._staticInstance._path; }
FamilyService.set_timeout = function(value) { FamilyService._staticInstance._timeout = value; }
FamilyService.get_timeout = function() { return FamilyService._staticInstance._timeout; }
FamilyService.set_defaultUserContext = function(value) { FamilyService._staticInstance._userContext = value; }
FamilyService.get_defaultUserContext = function() { return FamilyService._staticInstance._userContext; }
FamilyService.set_defaultSucceededCallback = function(value) { FamilyService._staticInstance._succeeded = value; }
FamilyService.get_defaultSucceededCallback = function() { return FamilyService._staticInstance._succeeded; }
FamilyService.set_defaultFailedCallback = function(value) { FamilyService._staticInstance._failed = value; }
FamilyService.get_defaultFailedCallback = function() { return FamilyService._staticInstance._failed; }
FamilyService.set_path("/Services/FamilyService.asmx");
FamilyService.HelloWorld= function(onSuccess,onFailed,userContext) {FamilyService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
FamilyService.GetFiles= function(onSuccess,onFailed,userContext) {FamilyService._staticInstance.GetFiles(onSuccess,onFailed,userContext); }
FamilyService.GetLoginPage= function(onSuccess,onFailed,userContext) {FamilyService._staticInstance.GetLoginPage(onSuccess,onFailed,userContext); }
FamilyService.GetPhotoHtmlByParentID= function(ParentID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.GetPhotoHtmlByParentID(ParentID,onSuccess,onFailed,userContext); }
FamilyService.GetPhotoHtmlBySysCategory= function(CategoryID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.GetPhotoHtmlBySysCategory(CategoryID,onSuccess,onFailed,userContext); }
FamilyService.GetHtmlByURL= function(sURL,onSuccess,onFailed,userContext) {FamilyService._staticInstance.GetHtmlByURL(sURL,onSuccess,onFailed,userContext); }
FamilyService.Login= function(UserName,Password,CurrentURL,isRedirect,onSuccess,onFailed,userContext) {FamilyService._staticInstance.Login(UserName,Password,CurrentURL,isRedirect,onSuccess,onFailed,userContext); }
FamilyService.ChangeDiaryBlock= function(cateID,paraRoomID,paraStageID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.ChangeDiaryBlock(cateID,paraRoomID,paraStageID,onSuccess,onFailed,userContext); }
FamilyService.MarkFriend= function(onSuccess,onFailed,userContext) {FamilyService._staticInstance.MarkFriend(onSuccess,onFailed,userContext); }
FamilyService.MarkFriendFromSearch= function(familyid,cateID,cateName,friendName,friendRemark,onSuccess,onFailed,userContext) {FamilyService._staticInstance.MarkFriendFromSearch(familyid,cateID,cateName,friendName,friendRemark,onSuccess,onFailed,userContext); }
FamilyService.AddFriend= function(url,onSuccess,onFailed,userContext) {FamilyService._staticInstance.AddFriend(url,onSuccess,onFailed,userContext); }
FamilyService.SendRegard= function(onSuccess,onFailed,userContext) {FamilyService._staticInstance.SendRegard(onSuccess,onFailed,userContext); }
FamilyService.FriendListHtml= function(familyID,userList,onSuccess,onFailed,userContext) {FamilyService._staticInstance.FriendListHtml(familyID,userList,onSuccess,onFailed,userContext); }
FamilyService.SetHelloReadFlag= function(MsgID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.SetHelloReadFlag(MsgID,onSuccess,onFailed,userContext); }
FamilyService.FriendExists= function(friendList,onSuccess,onFailed,userContext) {FamilyService._staticInstance.FriendExists(friendList,onSuccess,onFailed,userContext); }
FamilyService.MarkMultimedia= function(sID,title,description,publicLevel,sPhoto,sPhotoDesc,sInterlude,fontColor,borderColor,borderAlpha,borderStyle,animation,musicURL,oper,onSuccess,onFailed,userContext) {FamilyService._staticInstance.MarkMultimedia(sID,title,description,publicLevel,sPhoto,sPhotoDesc,sInterlude,fontColor,borderColor,borderAlpha,borderStyle,animation,musicURL,oper,onSuccess,onFailed,userContext); }
FamilyService.InviteFriend= function(userName,mobile,youName,pwd2,onSuccess,onFailed,userContext) {FamilyService._staticInstance.InviteFriend(userName,mobile,youName,pwd2,onSuccess,onFailed,userContext); }
FamilyService.circleALL= function(plog,USerID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.circleALL(plog,USerID,onSuccess,onFailed,userContext); }
FamilyService.SendInviteMail= function(SenderName,MailTo,MailMsg,onSuccess,onFailed,userContext) {FamilyService._staticInstance.SendInviteMail(SenderName,MailTo,MailMsg,onSuccess,onFailed,userContext); }
FamilyService.GetFamilyShop= function(p_type,p_userid,onSuccess,onFailed,userContext) {FamilyService._staticInstance.GetFamilyShop(p_type,p_userid,onSuccess,onFailed,userContext); }
