Type.registerNamespace('PopGraph.handlers.ajax');
PopGraph.handlers.ajax.user=function() {
PopGraph.handlers.ajax.user.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PopGraph.handlers.ajax.user.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PopGraph.handlers.ajax.user._staticInstance.get_path();},
login:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'login',false,{},succeededCallback,failedCallback,userContext); },
logout:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'logout',false,{},succeededCallback,failedCallback,userContext); },
addLikeReason:function(fbid,reason,succeededCallback, failedCallback, userContext) {
/// <param name="fbid" type="String">System.String</param>
/// <param name="reason" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'addLikeReason',false,{fbid:fbid,reason:reason},succeededCallback,failedCallback,userContext); },
addLikeReasonAgree:function(fbid,likereasonid,reasonText,agree,succeededCallback, failedCallback, userContext) {
/// <param name="fbid" type="String">System.String</param>
/// <param name="likereasonid" type="Number">System.Int32</param>
/// <param name="reasonText" type="String">System.String</param>
/// <param name="agree" type="Boolean">System.Boolean</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'addLikeReasonAgree',false,{fbid:fbid,likereasonid:likereasonid,reasonText:reasonText,agree:agree},succeededCallback,failedCallback,userContext); },
ContestVote:function(stvoteSide,stContestId,stleftfbid,strightfbid,succeededCallback, failedCallback, userContext) {
/// <param name="stvoteSide" type="String">System.String</param>
/// <param name="stContestId" type="String">System.String</param>
/// <param name="stleftfbid" type="String">System.String</param>
/// <param name="strightfbid" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'ContestVote',false,{stvoteSide:stvoteSide,stContestId:stContestId,stleftfbid:stleftfbid,strightfbid:strightfbid},succeededCallback,failedCallback,userContext); }}
PopGraph.handlers.ajax.user.registerClass('PopGraph.handlers.ajax.user',Sys.Net.WebServiceProxy);
PopGraph.handlers.ajax.user._staticInstance = new PopGraph.handlers.ajax.user();
PopGraph.handlers.ajax.user.set_path = function(value) {
PopGraph.handlers.ajax.user._staticInstance.set_path(value); }
PopGraph.handlers.ajax.user.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return PopGraph.handlers.ajax.user._staticInstance.get_path();}
PopGraph.handlers.ajax.user.set_timeout = function(value) {
PopGraph.handlers.ajax.user._staticInstance.set_timeout(value); }
PopGraph.handlers.ajax.user.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return PopGraph.handlers.ajax.user._staticInstance.get_timeout(); }
PopGraph.handlers.ajax.user.set_defaultUserContext = function(value) { 
PopGraph.handlers.ajax.user._staticInstance.set_defaultUserContext(value); }
PopGraph.handlers.ajax.user.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return PopGraph.handlers.ajax.user._staticInstance.get_defaultUserContext(); }
PopGraph.handlers.ajax.user.set_defaultSucceededCallback = function(value) { 
 PopGraph.handlers.ajax.user._staticInstance.set_defaultSucceededCallback(value); }
PopGraph.handlers.ajax.user.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return PopGraph.handlers.ajax.user._staticInstance.get_defaultSucceededCallback(); }
PopGraph.handlers.ajax.user.set_defaultFailedCallback = function(value) { 
PopGraph.handlers.ajax.user._staticInstance.set_defaultFailedCallback(value); }
PopGraph.handlers.ajax.user.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return PopGraph.handlers.ajax.user._staticInstance.get_defaultFailedCallback(); }
PopGraph.handlers.ajax.user.set_path("/handlers/ajax/user.asmx");
PopGraph.handlers.ajax.user.login= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
PopGraph.handlers.ajax.user._staticInstance.login(onSuccess,onFailed,userContext); }
PopGraph.handlers.ajax.user.logout= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
PopGraph.handlers.ajax.user._staticInstance.logout(onSuccess,onFailed,userContext); }
PopGraph.handlers.ajax.user.addLikeReason= function(fbid,reason,onSuccess,onFailed,userContext) {
/// <param name="fbid" type="String">System.String</param>
/// <param name="reason" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
PopGraph.handlers.ajax.user._staticInstance.addLikeReason(fbid,reason,onSuccess,onFailed,userContext); }
PopGraph.handlers.ajax.user.addLikeReasonAgree= function(fbid,likereasonid,reasonText,agree,onSuccess,onFailed,userContext) {
/// <param name="fbid" type="String">System.String</param>
/// <param name="likereasonid" type="Number">System.Int32</param>
/// <param name="reasonText" type="String">System.String</param>
/// <param name="agree" type="Boolean">System.Boolean</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
PopGraph.handlers.ajax.user._staticInstance.addLikeReasonAgree(fbid,likereasonid,reasonText,agree,onSuccess,onFailed,userContext); }
PopGraph.handlers.ajax.user.ContestVote= function(stvoteSide,stContestId,stleftfbid,strightfbid,onSuccess,onFailed,userContext) {
/// <param name="stvoteSide" type="String">System.String</param>
/// <param name="stContestId" type="String">System.String</param>
/// <param name="stleftfbid" type="String">System.String</param>
/// <param name="strightfbid" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
PopGraph.handlers.ajax.user._staticInstance.ContestVote(stvoteSide,stContestId,stleftfbid,strightfbid,onSuccess,onFailed,userContext); }
