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); },
GetHtmlByURL:function(sURL,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'GetHtmlByURL',false,{sURL:sURL},succeededCallback,failedCallback,userContext); },
MarkFriend:function(succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'MarkFriend',false,{},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); },
SendMail:function(sendMail,subject,mailContent,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'SendMail',false,{sendMail:sendMail,subject:subject,mailContent:mailContent},succeededCallback,failedCallback,userContext); },
SendFamilyURL:function(friendURL,linkURL,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'SendFamilyURL',false,{friendURL:friendURL,linkURL:linkURL},succeededCallback,failedCallback,userContext); },
CheckCircleByName:function(circleName,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'CheckCircleByName',false,{circleName:circleName},succeededCallback,failedCallback,userContext); },
AddCircle:function(userID,circleID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'AddCircle',false,{userID:userID,circleID:circleID},succeededCallback,failedCallback,userContext); },
BackCircle:function(userID,circleID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'BackCircle',false,{userID:userID,circleID:circleID},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); },
ManageCirclePhoto:function(AlbumID,typeID,StickID,HighLightID,CircleID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'ManageCirclePhoto',false,{AlbumID:AlbumID,typeID:typeID,StickID:StickID,HighLightID:HighLightID,CircleID:CircleID},succeededCallback,failedCallback,userContext); },
AlbumName:function(AlbumID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'AlbumName',false,{AlbumID:AlbumID},succeededCallback,failedCallback,userContext); },
CircleReply:function(AlbumID,CircleID,userID,txtContent,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'CircleReply',false,{AlbumID:AlbumID,CircleID:CircleID,userID:userID,txtContent:txtContent},succeededCallback,failedCallback,userContext); },
rtplist:function(ReplyByID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'rtplist',false,{ReplyByID:ReplyByID},succeededCallback,failedCallback,userContext); },
LinkeUser:function(NameID,succeededCallback, failedCallback, userContext) {
return this._invoke(FamilyService.get_path(), 'LinkeUser',false,{NameID:NameID},succeededCallback,failedCallback,userContext); }}
FamilyService.registerClass('FamilyService',Sys.Net.WebServiceProxy);
FamilyService._staticInstance = new FamilyService();
FamilyService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; FamilyService._staticInstance._path = value; }
FamilyService.get_path = function() { return FamilyService._staticInstance._path; }
FamilyService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
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) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; FamilyService._staticInstance._succeeded = value; }
FamilyService.get_defaultSucceededCallback = function() { 
return FamilyService._staticInstance._succeeded; }
FamilyService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; 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.GetHtmlByURL= function(sURL,onSuccess,onFailed,userContext) {FamilyService._staticInstance.GetHtmlByURL(sURL,onSuccess,onFailed,userContext); }
FamilyService.MarkFriend= function(onSuccess,onFailed,userContext) {FamilyService._staticInstance.MarkFriend(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.SendMail= function(sendMail,subject,mailContent,onSuccess,onFailed,userContext) {FamilyService._staticInstance.SendMail(sendMail,subject,mailContent,onSuccess,onFailed,userContext); }
FamilyService.SendFamilyURL= function(friendURL,linkURL,onSuccess,onFailed,userContext) {FamilyService._staticInstance.SendFamilyURL(friendURL,linkURL,onSuccess,onFailed,userContext); }
FamilyService.CheckCircleByName= function(circleName,onSuccess,onFailed,userContext) {FamilyService._staticInstance.CheckCircleByName(circleName,onSuccess,onFailed,userContext); }
FamilyService.AddCircle= function(userID,circleID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.AddCircle(userID,circleID,onSuccess,onFailed,userContext); }
FamilyService.BackCircle= function(userID,circleID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.BackCircle(userID,circleID,onSuccess,onFailed,userContext); }
FamilyService.Login= function(UserName,Password,currentURL,IsRedirect,onSuccess,onFailed,userContext) {FamilyService._staticInstance.Login(UserName,Password,currentURL,IsRedirect,onSuccess,onFailed,userContext); }
FamilyService.ManageCirclePhoto= function(AlbumID,typeID,StickID,HighLightID,CircleID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.ManageCirclePhoto(AlbumID,typeID,StickID,HighLightID,CircleID,onSuccess,onFailed,userContext); }
FamilyService.AlbumName= function(AlbumID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.AlbumName(AlbumID,onSuccess,onFailed,userContext); }
FamilyService.CircleReply= function(AlbumID,CircleID,userID,txtContent,onSuccess,onFailed,userContext) {FamilyService._staticInstance.CircleReply(AlbumID,CircleID,userID,txtContent,onSuccess,onFailed,userContext); }
FamilyService.rtplist= function(ReplyByID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.rtplist(ReplyByID,onSuccess,onFailed,userContext); }
FamilyService.LinkeUser= function(NameID,onSuccess,onFailed,userContext) {FamilyService._staticInstance.LinkeUser(NameID,onSuccess,onFailed,userContext); }
