Type.registerNamespace('com.ourfaves');
com.ourfaves.userprofile=function() {
com.ourfaves.userprofile.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
com.ourfaves.userprofile.prototype={
DeleteProfilePicture:function(_imageID,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'DeleteProfilePicture',false,{_imageID:_imageID},succeededCallback,failedCallback,userContext); },
EditPictureTagline:function(_imageID,_tagline,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'EditPictureTagline',false,{_imageID:_imageID,_tagline:_tagline},succeededCallback,failedCallback,userContext); },
SetProfilePicture:function(_imageID,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'SetProfilePicture',false,{_imageID:_imageID},succeededCallback,failedCallback,userContext); },
UpdateUserProfileTags:function(categoryID,tags,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'UpdateUserProfileTags',false,{categoryID:categoryID,tags:tags},succeededCallback,failedCallback,userContext); },
AddUserProfileTag:function(categoryID,tag,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'AddUserProfileTag',false,{categoryID:categoryID,tag:tag},succeededCallback,failedCallback,userContext); },
RemoveUserProfileTag:function(categoryID,tag,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'RemoveUserProfileTag',false,{categoryID:categoryID,tag:tag},succeededCallback,failedCallback,userContext); },
SaveUserProfileTags:function(tags0,tags1,tags2,tags3,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'SaveUserProfileTags',false,{tags0:tags0,tags1:tags1,tags2:tags2,tags3:tags3},succeededCallback,failedCallback,userContext); },
UpdateNeighbourhood:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'UpdateNeighbourhood',false,{userName:userName},succeededCallback,failedCallback,userContext); },
InviteFriend:function(friend_user_id,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'InviteFriend',false,{friend_user_id:friend_user_id},succeededCallback,failedCallback,userContext); },
AcceptFriend:function(friend_user_id,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'AcceptFriend',false,{friend_user_id:friend_user_id},succeededCallback,failedCallback,userContext); },
DeleteFriend:function(friend_id,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'DeleteFriend',false,{friend_id:friend_id},succeededCallback,failedCallback,userContext); },
DeleteFriendInvite:function(friend_user_id,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'DeleteFriendInvite',false,{friend_user_id:friend_user_id},succeededCallback,failedCallback,userContext); },
ReadUserTagsByPrefix:function(_prefix,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'ReadUserTagsByPrefix',false,{_prefix:_prefix},succeededCallback,failedCallback,userContext); },
ReadUserInfo:function(succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'ReadUserInfo',false,{},succeededCallback,failedCallback,userContext); },
ReadFaveProfilePicture:function(faveID,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'ReadFaveProfilePicture',false,{faveID:faveID},succeededCallback,failedCallback,userContext); },
CreateThingComment:function(ThingID,CommentMessage,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'CreateThingComment',false,{ThingID:ThingID,CommentMessage:CommentMessage},succeededCallback,failedCallback,userContext); },
CreateLocationComment:function(LocationID,CommentMessage,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'CreateLocationComment',false,{LocationID:LocationID,CommentMessage:CommentMessage},succeededCallback,failedCallback,userContext); },
InternalUserComments:function(userName,comment,is_private,subject,faveID,commentType,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'InternalUserComments',false,{userName:userName,comment:comment,is_private:is_private,subject:subject,faveID:faveID,commentType:commentType},succeededCallback,failedCallback,userContext); },
CreateInlineUserComment:function(userName,comment,commentType,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'CreateInlineUserComment',false,{userName:userName,comment:comment,commentType:commentType},succeededCallback,failedCallback,userContext); },
CInlineUserComment:function(userName,comment,commentType,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'CInlineUserComment',false,{userName:userName,comment:comment,commentType:commentType},succeededCallback,failedCallback,userContext); },
ReadUserCommentLayout:function(PageUserGUID,rec_count,type,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'ReadUserCommentLayout',false,{PageUserGUID:PageUserGUID,rec_count:rec_count,type:type},succeededCallback,failedCallback,userContext); },
DeleteUserComment:function(commentID,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'DeleteUserComment',false,{commentID:commentID},succeededCallback,failedCallback,userContext); },
CreateNeighbourhoodComment:function(NeighbourhoodID,CommentMessage,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'CreateNeighbourhoodComment',false,{NeighbourhoodID:NeighbourhoodID,CommentMessage:CommentMessage},succeededCallback,failedCallback,userContext); },
ReadCommentFaveLayout:function(faveID,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'ReadCommentFaveLayout',false,{faveID:faveID},succeededCallback,failedCallback,userContext); },
ReadCommentLayout:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'ReadCommentLayout',false,{userName:userName},succeededCallback,failedCallback,userContext); },
ReadPrivateLayout:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'ReadPrivateLayout',false,{userName:userName},succeededCallback,failedCallback,userContext); },
ReadComplimentLayout:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'ReadComplimentLayout',false,{userName:userName},succeededCallback,failedCallback,userContext); },
CreateBookmark:function(faveID,comment,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'CreateBookmark',false,{faveID:faveID,comment:comment},succeededCallback,failedCallback,userContext); },
DeleteBookmark:function(faveID,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'DeleteBookmark',false,{faveID:faveID},succeededCallback,failedCallback,userContext); },
AddNewsletter:function(succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.userprofile.get_path(), 'AddNewsletter',false,{},succeededCallback,failedCallback,userContext); }}
com.ourfaves.userprofile.registerClass('com.ourfaves.userprofile',Sys.Net.WebServiceProxy);
com.ourfaves.userprofile._staticInstance = new com.ourfaves.userprofile();
com.ourfaves.userprofile.set_path = function(value) { com.ourfaves.userprofile._staticInstance._path = value; }
com.ourfaves.userprofile.get_path = function() { return com.ourfaves.userprofile._staticInstance._path; }
com.ourfaves.userprofile.set_timeout = function(value) { com.ourfaves.userprofile._staticInstance._timeout = value; }
com.ourfaves.userprofile.get_timeout = function() { return com.ourfaves.userprofile._staticInstance._timeout; }
com.ourfaves.userprofile.set_defaultUserContext = function(value) { com.ourfaves.userprofile._staticInstance._userContext = value; }
com.ourfaves.userprofile.get_defaultUserContext = function() { return com.ourfaves.userprofile._staticInstance._userContext; }
com.ourfaves.userprofile.set_defaultSucceededCallback = function(value) { com.ourfaves.userprofile._staticInstance._succeeded = value; }
com.ourfaves.userprofile.get_defaultSucceededCallback = function() { return com.ourfaves.userprofile._staticInstance._succeeded; }
com.ourfaves.userprofile.set_defaultFailedCallback = function(value) { com.ourfaves.userprofile._staticInstance._failed = value; }
com.ourfaves.userprofile.get_defaultFailedCallback = function() { return com.ourfaves.userprofile._staticInstance._failed; }
com.ourfaves.userprofile.set_path("/WebService/userprofile.asmx");
com.ourfaves.userprofile.DeleteProfilePicture= function(_imageID,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.DeleteProfilePicture(_imageID,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.EditPictureTagline= function(_imageID,_tagline,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.EditPictureTagline(_imageID,_tagline,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.SetProfilePicture= function(_imageID,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.SetProfilePicture(_imageID,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.UpdateUserProfileTags= function(categoryID,tags,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.UpdateUserProfileTags(categoryID,tags,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.AddUserProfileTag= function(categoryID,tag,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.AddUserProfileTag(categoryID,tag,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.RemoveUserProfileTag= function(categoryID,tag,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.RemoveUserProfileTag(categoryID,tag,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.SaveUserProfileTags= function(tags0,tags1,tags2,tags3,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.SaveUserProfileTags(tags0,tags1,tags2,tags3,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.UpdateNeighbourhood= function(userName,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.UpdateNeighbourhood(userName,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.InviteFriend= function(friend_user_id,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.InviteFriend(friend_user_id,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.AcceptFriend= function(friend_user_id,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.AcceptFriend(friend_user_id,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.DeleteFriend= function(friend_id,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.DeleteFriend(friend_id,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.DeleteFriendInvite= function(friend_user_id,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.DeleteFriendInvite(friend_user_id,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.ReadUserTagsByPrefix= function(_prefix,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.ReadUserTagsByPrefix(_prefix,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.ReadUserInfo= function(onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.ReadUserInfo(onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.ReadFaveProfilePicture= function(faveID,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.ReadFaveProfilePicture(faveID,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.CreateThingComment= function(ThingID,CommentMessage,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.CreateThingComment(ThingID,CommentMessage,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.CreateLocationComment= function(LocationID,CommentMessage,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.CreateLocationComment(LocationID,CommentMessage,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.InternalUserComments= function(userName,comment,is_private,subject,faveID,commentType,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.InternalUserComments(userName,comment,is_private,subject,faveID,commentType,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.CreateInlineUserComment= function(userName,comment,commentType,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.CreateInlineUserComment(userName,comment,commentType,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.CInlineUserComment= function(userName,comment,commentType,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.CInlineUserComment(userName,comment,commentType,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.ReadUserCommentLayout= function(PageUserGUID,rec_count,type,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.ReadUserCommentLayout(PageUserGUID,rec_count,type,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.DeleteUserComment= function(commentID,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.DeleteUserComment(commentID,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.CreateNeighbourhoodComment= function(NeighbourhoodID,CommentMessage,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.CreateNeighbourhoodComment(NeighbourhoodID,CommentMessage,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.ReadCommentFaveLayout= function(faveID,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.ReadCommentFaveLayout(faveID,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.ReadCommentLayout= function(userName,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.ReadCommentLayout(userName,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.ReadPrivateLayout= function(userName,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.ReadPrivateLayout(userName,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.ReadComplimentLayout= function(userName,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.ReadComplimentLayout(userName,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.CreateBookmark= function(faveID,comment,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.CreateBookmark(faveID,comment,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.DeleteBookmark= function(faveID,onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.DeleteBookmark(faveID,onSuccess,onFailed,userContext); }
com.ourfaves.userprofile.AddNewsletter= function(onSuccess,onFailed,userContext) {com.ourfaves.userprofile._staticInstance.AddNewsletter(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WebServiceReturnObject) === 'undefined') {
var WebServiceReturnObject=gtc("WebServiceReturnObject");
WebServiceReturnObject.registerClass('WebServiceReturnObject');
}
