Type.registerNamespace('SmallPondsWebSite');
SmallPondsWebSite.Membership=function() {
SmallPondsWebSite.Membership.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SmallPondsWebSite.Membership.prototype={
CheckUserName:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(SmallPondsWebSite.Membership.get_path(), 'CheckUserName',false,{userName:userName},succeededCallback,failedCallback,userContext); },
CheckEmail:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(SmallPondsWebSite.Membership.get_path(), 'CheckEmail',false,{email:email},succeededCallback,failedCallback,userContext); },
SubmitRating:function(itemID,uid,itemType,succeededCallback, failedCallback, userContext) {
return this._invoke(SmallPondsWebSite.Membership.get_path(), 'SubmitRating',false,{itemID:itemID,uid:uid,itemType:itemType},succeededCallback,failedCallback,userContext); },
FlagItem:function(itemID,uid,itemType,succeededCallback, failedCallback, userContext) {
return this._invoke(SmallPondsWebSite.Membership.get_path(), 'FlagItem',false,{itemID:itemID,uid:uid,itemType:itemType},succeededCallback,failedCallback,userContext); },
AddToMyFavorites:function(itemID,uid,succeededCallback, failedCallback, userContext) {
return this._invoke(SmallPondsWebSite.Membership.get_path(), 'AddToMyFavorites',false,{itemID:itemID,uid:uid},succeededCallback,failedCallback,userContext); }}
SmallPondsWebSite.Membership.registerClass('SmallPondsWebSite.Membership',Sys.Net.WebServiceProxy);
SmallPondsWebSite.Membership._staticInstance = new SmallPondsWebSite.Membership();
SmallPondsWebSite.Membership.set_path = function(value) { SmallPondsWebSite.Membership._staticInstance._path = value; }
SmallPondsWebSite.Membership.get_path = function() { return SmallPondsWebSite.Membership._staticInstance._path; }
SmallPondsWebSite.Membership.set_timeout = function(value) { SmallPondsWebSite.Membership._staticInstance._timeout = value; }
SmallPondsWebSite.Membership.get_timeout = function() { return SmallPondsWebSite.Membership._staticInstance._timeout; }
SmallPondsWebSite.Membership.set_defaultUserContext = function(value) { SmallPondsWebSite.Membership._staticInstance._userContext = value; }
SmallPondsWebSite.Membership.get_defaultUserContext = function() { return SmallPondsWebSite.Membership._staticInstance._userContext; }
SmallPondsWebSite.Membership.set_defaultSucceededCallback = function(value) { SmallPondsWebSite.Membership._staticInstance._succeeded = value; }
SmallPondsWebSite.Membership.get_defaultSucceededCallback = function() { return SmallPondsWebSite.Membership._staticInstance._succeeded; }
SmallPondsWebSite.Membership.set_defaultFailedCallback = function(value) { SmallPondsWebSite.Membership._staticInstance._failed = value; }
SmallPondsWebSite.Membership.get_defaultFailedCallback = function() { return SmallPondsWebSite.Membership._staticInstance._failed; }
SmallPondsWebSite.Membership.set_path("/service/Membership.asmx");
SmallPondsWebSite.Membership.CheckUserName= function(userName,onSuccess,onFailed,userContext) {SmallPondsWebSite.Membership._staticInstance.CheckUserName(userName,onSuccess,onFailed,userContext); }
SmallPondsWebSite.Membership.CheckEmail= function(email,onSuccess,onFailed,userContext) {SmallPondsWebSite.Membership._staticInstance.CheckEmail(email,onSuccess,onFailed,userContext); }
SmallPondsWebSite.Membership.SubmitRating= function(itemID,uid,itemType,onSuccess,onFailed,userContext) {SmallPondsWebSite.Membership._staticInstance.SubmitRating(itemID,uid,itemType,onSuccess,onFailed,userContext); }
SmallPondsWebSite.Membership.FlagItem= function(itemID,uid,itemType,onSuccess,onFailed,userContext) {SmallPondsWebSite.Membership._staticInstance.FlagItem(itemID,uid,itemType,onSuccess,onFailed,userContext); }
SmallPondsWebSite.Membership.AddToMyFavorites= function(itemID,uid,onSuccess,onFailed,userContext) {SmallPondsWebSite.Membership._staticInstance.AddToMyFavorites(itemID,uid,onSuccess,onFailed,userContext); }
