var gWS=function() {
gWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
gWS.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
AddPushpin:function(nForumID,strTitle,strDetail,strExpireDate,dLAT,dLNG,strImageURL,strImageHeight,strImageWidth,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'AddPushpin',false,{nForumID:nForumID,strTitle:strTitle,strDetail:strDetail,strExpireDate:strExpireDate,dLAT:dLAT,dLNG:dLNG,strImageURL:strImageURL,strImageHeight:strImageHeight,strImageWidth:strImageWidth},succeededCallback,failedCallback,userContext); },
UpdatePushpin:function(nPushpinID,nForumID,strTitle,strDetail,strExpireDate,strImageURL,strImageHeight,strImageWidth,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'UpdatePushpin',false,{nPushpinID:nPushpinID,nForumID:nForumID,strTitle:strTitle,strDetail:strDetail,strExpireDate:strExpireDate,strImageURL:strImageURL,strImageHeight:strImageHeight,strImageWidth:strImageWidth},succeededCallback,failedCallback,userContext); },
UpdatePushpinCoordinate:function(nPushpinID,dLAT,dLNG,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'UpdatePushpinCoordinate',false,{nPushpinID:nPushpinID,dLAT:dLAT,dLNG:dLNG},succeededCallback,failedCallback,userContext); },
DeletePushpin:function(nPushpinID,bDelForumMsg,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'DeletePushpin',false,{nPushpinID:nPushpinID,bDelForumMsg:bDelForumMsg},succeededCallback,failedCallback,userContext); },
GetPushpins:function(dNorthEastLAT,dNorthEastLNG,dSouthWestLAT,dSouthWestLNG,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'GetPushpins',false,{dNorthEastLAT:dNorthEastLAT,dNorthEastLNG:dNorthEastLNG,dSouthWestLAT:dSouthWestLAT,dSouthWestLNG:dSouthWestLNG},succeededCallback,failedCallback,userContext); },
GetFavoritePushpins:function(nFavoriteUserID,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'GetFavoritePushpins',false,{nFavoriteUserID:nFavoriteUserID},succeededCallback,failedCallback,userContext); },
SearchPushpins:function(dNorthEastLAT,dNorthEastLNG,dSouthWestLAT,dSouthWestLNG,strKeys,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'SearchPushpins',false,{dNorthEastLAT:dNorthEastLAT,dNorthEastLNG:dNorthEastLNG,dSouthWestLAT:dSouthWestLAT,dSouthWestLNG:dSouthWestLNG,strKeys:strKeys},succeededCallback,failedCallback,userContext); },
UserBasicInfoSave:function(strBirthday,strEducation,strRelationshipStatus,strHereFor,strHometown,strLiveAt,strOccupation,strEthnicity,strReligion,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'UserBasicInfoSave',false,{strBirthday:strBirthday,strEducation:strEducation,strRelationshipStatus:strRelationshipStatus,strHereFor:strHereFor,strHometown:strHometown,strLiveAt:strLiveAt,strOccupation:strOccupation,strEthnicity:strEthnicity,strReligion:strReligion},succeededCallback,failedCallback,userContext); },
AboutMeSave:function(strText,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'AboutMeSave',false,{strText:strText},succeededCallback,failedCallback,userContext); },
MyLinkSave:function(strFieldName,strLink,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'MyLinkSave',false,{strFieldName:strFieldName,strLink:strLink},succeededCallback,failedCallback,userContext); },
UserSpaceCommentDelete:function(nCommentID,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'UserSpaceCommentDelete',false,{nCommentID:nCommentID},succeededCallback,failedCallback,userContext); },
UserSpaceCommentAdd:function(nSpaceUserID,strComment,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'UserSpaceCommentAdd',false,{nSpaceUserID:nSpaceUserID,strComment:strComment},succeededCallback,failedCallback,userContext); },
IsUserAllowToAddComment:function(nMinutes,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'IsUserAllowToAddComment',false,{nMinutes:nMinutes},succeededCallback,failedCallback,userContext); },
Pushpin_MyFavorite_Update:function(nPushpinID,nAdd,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'Pushpin_MyFavorite_Update',false,{nPushpinID:nPushpinID,nAdd:nAdd},succeededCallback,failedCallback,userContext); },
UserInfo_UserFriend_Update:function(nFriendUserID,nAdd,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'UserInfo_UserFriend_Update',false,{nFriendUserID:nFriendUserID,nAdd:nAdd},succeededCallback,failedCallback,userContext); },
UserInfo_HomepagePicture_Update:function(strImageLink,strHeight,strWidth,succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'UserInfo_HomepagePicture_Update',false,{strImageLink:strImageLink,strHeight:strHeight,strWidth:strWidth},succeededCallback,failedCallback,userContext); },
GetUserID:function(succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'GetUserID',false,{},succeededCallback,failedCallback,userContext); },
ClientIp:function(succeededCallback, failedCallback, userContext) {
return this._invoke(gWS.get_path(), 'ClientIp',false,{},succeededCallback,failedCallback,userContext); }}
gWS.registerClass('gWS',Sys.Net.WebServiceProxy);
gWS._staticInstance = new gWS();
gWS.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; gWS._staticInstance._path = value; }
gWS.get_path = function() { return gWS._staticInstance._path; }
gWS.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); }
gWS._staticInstance._timeout = value; }
gWS.get_timeout = function() { 
return gWS._staticInstance._timeout; }
gWS.set_defaultUserContext = function(value) { 
gWS._staticInstance._userContext = value; }
gWS.get_defaultUserContext = function() { 
return gWS._staticInstance._userContext; }
gWS.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; gWS._staticInstance._succeeded = value; }
gWS.get_defaultSucceededCallback = function() { 
return gWS._staticInstance._succeeded; }
gWS.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; gWS._staticInstance._failed = value; }
gWS.get_defaultFailedCallback = function() { 
return gWS._staticInstance._failed; }
gWS.set_path("/forum/gmy/gWS.asmx");
gWS.HelloWorld= function(onSuccess,onFailed,userContext) {gWS._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
gWS.AddPushpin= function(nForumID,strTitle,strDetail,strExpireDate,dLAT,dLNG,strImageURL,strImageHeight,strImageWidth,onSuccess,onFailed,userContext) {gWS._staticInstance.AddPushpin(nForumID,strTitle,strDetail,strExpireDate,dLAT,dLNG,strImageURL,strImageHeight,strImageWidth,onSuccess,onFailed,userContext); }
gWS.UpdatePushpin= function(nPushpinID,nForumID,strTitle,strDetail,strExpireDate,strImageURL,strImageHeight,strImageWidth,onSuccess,onFailed,userContext) {gWS._staticInstance.UpdatePushpin(nPushpinID,nForumID,strTitle,strDetail,strExpireDate,strImageURL,strImageHeight,strImageWidth,onSuccess,onFailed,userContext); }
gWS.UpdatePushpinCoordinate= function(nPushpinID,dLAT,dLNG,onSuccess,onFailed,userContext) {gWS._staticInstance.UpdatePushpinCoordinate(nPushpinID,dLAT,dLNG,onSuccess,onFailed,userContext); }
gWS.DeletePushpin= function(nPushpinID,bDelForumMsg,onSuccess,onFailed,userContext) {gWS._staticInstance.DeletePushpin(nPushpinID,bDelForumMsg,onSuccess,onFailed,userContext); }
gWS.GetPushpins= function(dNorthEastLAT,dNorthEastLNG,dSouthWestLAT,dSouthWestLNG,onSuccess,onFailed,userContext) {gWS._staticInstance.GetPushpins(dNorthEastLAT,dNorthEastLNG,dSouthWestLAT,dSouthWestLNG,onSuccess,onFailed,userContext); }
gWS.GetFavoritePushpins= function(nFavoriteUserID,onSuccess,onFailed,userContext) {gWS._staticInstance.GetFavoritePushpins(nFavoriteUserID,onSuccess,onFailed,userContext); }
gWS.SearchPushpins= function(dNorthEastLAT,dNorthEastLNG,dSouthWestLAT,dSouthWestLNG,strKeys,onSuccess,onFailed,userContext) {gWS._staticInstance.SearchPushpins(dNorthEastLAT,dNorthEastLNG,dSouthWestLAT,dSouthWestLNG,strKeys,onSuccess,onFailed,userContext); }
gWS.UserBasicInfoSave= function(strBirthday,strEducation,strRelationshipStatus,strHereFor,strHometown,strLiveAt,strOccupation,strEthnicity,strReligion,onSuccess,onFailed,userContext) {gWS._staticInstance.UserBasicInfoSave(strBirthday,strEducation,strRelationshipStatus,strHereFor,strHometown,strLiveAt,strOccupation,strEthnicity,strReligion,onSuccess,onFailed,userContext); }
gWS.AboutMeSave= function(strText,onSuccess,onFailed,userContext) {gWS._staticInstance.AboutMeSave(strText,onSuccess,onFailed,userContext); }
gWS.MyLinkSave= function(strFieldName,strLink,onSuccess,onFailed,userContext) {gWS._staticInstance.MyLinkSave(strFieldName,strLink,onSuccess,onFailed,userContext); }
gWS.UserSpaceCommentDelete= function(nCommentID,onSuccess,onFailed,userContext) {gWS._staticInstance.UserSpaceCommentDelete(nCommentID,onSuccess,onFailed,userContext); }
gWS.UserSpaceCommentAdd= function(nSpaceUserID,strComment,onSuccess,onFailed,userContext) {gWS._staticInstance.UserSpaceCommentAdd(nSpaceUserID,strComment,onSuccess,onFailed,userContext); }
gWS.IsUserAllowToAddComment= function(nMinutes,onSuccess,onFailed,userContext) {gWS._staticInstance.IsUserAllowToAddComment(nMinutes,onSuccess,onFailed,userContext); }
gWS.Pushpin_MyFavorite_Update= function(nPushpinID,nAdd,onSuccess,onFailed,userContext) {gWS._staticInstance.Pushpin_MyFavorite_Update(nPushpinID,nAdd,onSuccess,onFailed,userContext); }
gWS.UserInfo_UserFriend_Update= function(nFriendUserID,nAdd,onSuccess,onFailed,userContext) {gWS._staticInstance.UserInfo_UserFriend_Update(nFriendUserID,nAdd,onSuccess,onFailed,userContext); }
gWS.UserInfo_HomepagePicture_Update= function(strImageLink,strHeight,strWidth,onSuccess,onFailed,userContext) {gWS._staticInstance.UserInfo_HomepagePicture_Update(strImageLink,strHeight,strWidth,onSuccess,onFailed,userContext); }
gWS.GetUserID= function(onSuccess,onFailed,userContext) {gWS._staticInstance.GetUserID(onSuccess,onFailed,userContext); }
gWS.ClientIp= function(onSuccess,onFailed,userContext) {gWS._staticInstance.ClientIp(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('yaf.gmy.classes');
if (typeof(yaf.gmy.classes.js_gmy_pushpin) === 'undefined') {
yaf.gmy.classes.js_gmy_pushpin=gtc("yaf.gmy.classes.js_gmy_pushpin");
yaf.gmy.classes.js_gmy_pushpin.registerClass('yaf.gmy.classes.js_gmy_pushpin');
}
