var TheLove=function() {
TheLove.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TheLove.prototype={
MoveSchool:function(datakey,moveUp,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'MoveSchool',false,{datakey:datakey,moveUp:moveUp},succeededCallback,failedCallback,userContext); },
TrashSchool:function(datakey,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'TrashSchool',false,{datakey:datakey},succeededCallback,failedCallback,userContext); },
DigSchool:function(datakey,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'DigSchool',false,{datakey:datakey},succeededCallback,failedCallback,userContext); },
SetTheStatus:function(newCat,datakey,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'SetTheStatus',false,{newCat:newCat,datakey:datakey},succeededCallback,failedCallback,userContext); },
SetTheStatusForSchool:function(category,schoolid,page,fullurl,MessageId,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'SetTheStatusForSchool',false,{category:category,schoolid:schoolid,page:page,fullurl:fullurl,MessageId:MessageId},succeededCallback,failedCallback,userContext); },
SetStatus:function(newCat,datakey,scid,UserId,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'SetStatus',false,{newCat:newCat,datakey:datakey,scid:scid,UserId:UserId},succeededCallback,failedCallback,userContext); },
UndecidedSchool:function(datakey,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'UndecidedSchool',false,{datakey:datakey},succeededCallback,failedCallback,userContext); },
UndecidedOrg:function(datakey,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'UndecidedOrg',false,{datakey:datakey},succeededCallback,failedCallback,userContext); },
DigOrganization:function(datakey,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'DigOrganization',false,{datakey:datakey},succeededCallback,failedCallback,userContext); },
TrashOrganization:function(datakey,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'TrashOrganization',false,{datakey:datakey},succeededCallback,failedCallback,userContext); },
SpamOrganization:function(datakey,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'SpamOrganization',false,{datakey:datakey},succeededCallback,failedCallback,userContext); },
DeleteMessageUser:function(messageId,userId,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'DeleteMessageUser',false,{messageId:messageId,userId:userId},succeededCallback,failedCallback,userContext); },
ReportSpam:function(userId,aoSchoolId,msgBody,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'ReportSpam',false,{userId:userId,aoSchoolId:aoSchoolId,msgBody:msgBody},succeededCallback,failedCallback,userContext); },
GetSchoolID:function(externalID,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'GetSchoolID',false,{externalID:externalID},succeededCallback,failedCallback,userContext); },
GetSchoolName:function(schoolid,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'GetSchoolName',false,{schoolid:schoolid},succeededCallback,failedCallback,userContext); },
GetStatusText:function(orgtype,statusid,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'GetStatusText',false,{orgtype:orgtype,statusid:statusid},succeededCallback,failedCallback,userContext); },
GetStatusTextBySchoolUser:function(SchoolId,UserId,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'GetStatusTextBySchoolUser',false,{SchoolId:SchoolId,UserId:UserId},succeededCallback,failedCallback,userContext); },
AddToShoutOut:function(aoSchoolId,page,FullUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'AddToShoutOut',false,{aoSchoolId:aoSchoolId,page:page,FullUrl:FullUrl},succeededCallback,failedCallback,userContext); },
GetSchoolNewMessageCount:function(userId,schoolId,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'GetSchoolNewMessageCount',false,{userId:userId,schoolId:schoolId},succeededCallback,failedCallback,userContext); },
FormatMessage:function(text,greeting,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'FormatMessage',false,{text:text,greeting:greeting},succeededCallback,failedCallback,userContext); },
FormatAnnouncement:function(text,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'FormatAnnouncement',false,{text:text},succeededCallback,failedCallback,userContext); },
GetFriendMessage:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'GetFriendMessage',false,{id:id},succeededCallback,failedCallback,userContext); },
ReplyToLove:function(msgID,senderID,msgBody,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'ReplyToLove',false,{msgID:msgID,senderID:senderID,msgBody:msgBody},succeededCallback,failedCallback,userContext); },
AOReplyToLove:function(msgID,senderID,msgBody,receiverID,succeededCallback, failedCallback, userContext) {
return this._invoke(TheLove.get_path(), 'AOReplyToLove',false,{msgID:msgID,senderID:senderID,msgBody:msgBody,receiverID:receiverID},succeededCallback,failedCallback,userContext); }}
TheLove.registerClass('TheLove',Sys.Net.WebServiceProxy);
TheLove._staticInstance = new TheLove();
TheLove.set_path = function(value) { TheLove._staticInstance._path = value; }
TheLove.get_path = function() { return TheLove._staticInstance._path; }
TheLove.set_timeout = function(value) { TheLove._staticInstance._timeout = value; }
TheLove.get_timeout = function() { return TheLove._staticInstance._timeout; }
TheLove.set_defaultUserContext = function(value) { TheLove._staticInstance._userContext = value; }
TheLove.get_defaultUserContext = function() { return TheLove._staticInstance._userContext; }
TheLove.set_defaultSucceededCallback = function(value) { TheLove._staticInstance._succeeded = value; }
TheLove.get_defaultSucceededCallback = function() { return TheLove._staticInstance._succeeded; }
TheLove.set_defaultFailedCallback = function(value) { TheLove._staticInstance._failed = value; }
TheLove.get_defaultFailedCallback = function() { return TheLove._staticInstance._failed; }
TheLove.set_path("/Forms/TheLove/TheLove.asmx");
TheLove.MoveSchool= function(datakey,moveUp,onSuccess,onFailed,userContext) {TheLove._staticInstance.MoveSchool(datakey,moveUp,onSuccess,onFailed,userContext); }
TheLove.TrashSchool= function(datakey,onSuccess,onFailed,userContext) {TheLove._staticInstance.TrashSchool(datakey,onSuccess,onFailed,userContext); }
TheLove.DigSchool= function(datakey,onSuccess,onFailed,userContext) {TheLove._staticInstance.DigSchool(datakey,onSuccess,onFailed,userContext); }
TheLove.SetTheStatus= function(newCat,datakey,onSuccess,onFailed,userContext) {TheLove._staticInstance.SetTheStatus(newCat,datakey,onSuccess,onFailed,userContext); }
TheLove.SetTheStatusForSchool= function(category,schoolid,page,fullurl,MessageId,onSuccess,onFailed,userContext) {TheLove._staticInstance.SetTheStatusForSchool(category,schoolid,page,fullurl,MessageId,onSuccess,onFailed,userContext); }
TheLove.SetStatus= function(newCat,datakey,scid,UserId,onSuccess,onFailed,userContext) {TheLove._staticInstance.SetStatus(newCat,datakey,scid,UserId,onSuccess,onFailed,userContext); }
TheLove.UndecidedSchool= function(datakey,onSuccess,onFailed,userContext) {TheLove._staticInstance.UndecidedSchool(datakey,onSuccess,onFailed,userContext); }
TheLove.UndecidedOrg= function(datakey,onSuccess,onFailed,userContext) {TheLove._staticInstance.UndecidedOrg(datakey,onSuccess,onFailed,userContext); }
TheLove.DigOrganization= function(datakey,onSuccess,onFailed,userContext) {TheLove._staticInstance.DigOrganization(datakey,onSuccess,onFailed,userContext); }
TheLove.TrashOrganization= function(datakey,onSuccess,onFailed,userContext) {TheLove._staticInstance.TrashOrganization(datakey,onSuccess,onFailed,userContext); }
TheLove.SpamOrganization= function(datakey,onSuccess,onFailed,userContext) {TheLove._staticInstance.SpamOrganization(datakey,onSuccess,onFailed,userContext); }
TheLove.DeleteMessageUser= function(messageId,userId,onSuccess,onFailed,userContext) {TheLove._staticInstance.DeleteMessageUser(messageId,userId,onSuccess,onFailed,userContext); }
TheLove.ReportSpam= function(userId,aoSchoolId,msgBody,onSuccess,onFailed,userContext) {TheLove._staticInstance.ReportSpam(userId,aoSchoolId,msgBody,onSuccess,onFailed,userContext); }
TheLove.GetSchoolID= function(externalID,onSuccess,onFailed,userContext) {TheLove._staticInstance.GetSchoolID(externalID,onSuccess,onFailed,userContext); }
TheLove.GetSchoolName= function(schoolid,onSuccess,onFailed,userContext) {TheLove._staticInstance.GetSchoolName(schoolid,onSuccess,onFailed,userContext); }
TheLove.GetStatusText= function(orgtype,statusid,onSuccess,onFailed,userContext) {TheLove._staticInstance.GetStatusText(orgtype,statusid,onSuccess,onFailed,userContext); }
TheLove.GetStatusTextBySchoolUser= function(SchoolId,UserId,onSuccess,onFailed,userContext) {TheLove._staticInstance.GetStatusTextBySchoolUser(SchoolId,UserId,onSuccess,onFailed,userContext); }
TheLove.AddToShoutOut= function(aoSchoolId,page,FullUrl,onSuccess,onFailed,userContext) {TheLove._staticInstance.AddToShoutOut(aoSchoolId,page,FullUrl,onSuccess,onFailed,userContext); }
TheLove.GetSchoolNewMessageCount= function(userId,schoolId,onSuccess,onFailed,userContext) {TheLove._staticInstance.GetSchoolNewMessageCount(userId,schoolId,onSuccess,onFailed,userContext); }
TheLove.FormatMessage= function(text,greeting,onSuccess,onFailed,userContext) {TheLove._staticInstance.FormatMessage(text,greeting,onSuccess,onFailed,userContext); }
TheLove.FormatAnnouncement= function(text,onSuccess,onFailed,userContext) {TheLove._staticInstance.FormatAnnouncement(text,onSuccess,onFailed,userContext); }
TheLove.GetFriendMessage= function(id,onSuccess,onFailed,userContext) {TheLove._staticInstance.GetFriendMessage(id,onSuccess,onFailed,userContext); }
TheLove.ReplyToLove= function(msgID,senderID,msgBody,onSuccess,onFailed,userContext) {TheLove._staticInstance.ReplyToLove(msgID,senderID,msgBody,onSuccess,onFailed,userContext); }
TheLove.AOReplyToLove= function(msgID,senderID,msgBody,receiverID,onSuccess,onFailed,userContext) {TheLove._staticInstance.AOReplyToLove(msgID,senderID,msgBody,receiverID,onSuccess,onFailed,userContext); }
