Type.registerNamespace('Service.AspNet');
Service.AspNet.SiteService=function() {
Service.AspNet.SiteService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Service.AspNet.SiteService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Service.AspNet.SiteService._staticInstance.get_path();},
deadLinkVote:function(linkID,succeededCallback, failedCallback, userContext) {
/// <param name="linkID" type="Number">System.Int32</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(), 'deadLinkVote',false,{linkID:linkID},succeededCallback,failedCallback,userContext); },
adClick:function(adID,succeededCallback, failedCallback, userContext) {
/// <param name="adID" type="Number">System.Int32</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(), 'adClick',false,{adID:adID},succeededCallback,failedCallback,userContext); },
deleteLink:function(linkID,succeededCallback, failedCallback, userContext) {
/// <param name="linkID" type="Number">System.Int32</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(), 'deleteLink',false,{linkID:linkID},succeededCallback,failedCallback,userContext); },
nullLink:function(linkID,succeededCallback, failedCallback, userContext) {
/// <param name="linkID" type="Number">System.Int32</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(), 'nullLink',false,{linkID:linkID},succeededCallback,failedCallback,userContext); }}
Service.AspNet.SiteService.registerClass('Service.AspNet.SiteService',Sys.Net.WebServiceProxy);
Service.AspNet.SiteService._staticInstance = new Service.AspNet.SiteService();
Service.AspNet.SiteService.set_path = function(value) {
Service.AspNet.SiteService._staticInstance.set_path(value); }
Service.AspNet.SiteService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Service.AspNet.SiteService._staticInstance.get_path();}
Service.AspNet.SiteService.set_timeout = function(value) {
Service.AspNet.SiteService._staticInstance.set_timeout(value); }
Service.AspNet.SiteService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Service.AspNet.SiteService._staticInstance.get_timeout(); }
Service.AspNet.SiteService.set_defaultUserContext = function(value) { 
Service.AspNet.SiteService._staticInstance.set_defaultUserContext(value); }
Service.AspNet.SiteService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Service.AspNet.SiteService._staticInstance.get_defaultUserContext(); }
Service.AspNet.SiteService.set_defaultSucceededCallback = function(value) { 
 Service.AspNet.SiteService._staticInstance.set_defaultSucceededCallback(value); }
Service.AspNet.SiteService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Service.AspNet.SiteService._staticInstance.get_defaultSucceededCallback(); }
Service.AspNet.SiteService.set_defaultFailedCallback = function(value) { 
Service.AspNet.SiteService._staticInstance.set_defaultFailedCallback(value); }
Service.AspNet.SiteService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Service.AspNet.SiteService._staticInstance.get_defaultFailedCallback(); }
Service.AspNet.SiteService.set_path("/services/SiteService.asmx");
Service.AspNet.SiteService.deadLinkVote= function(linkID,onSuccess,onFailed,userContext) {
/// <param name="linkID" type="Number">System.Int32</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>
Service.AspNet.SiteService._staticInstance.deadLinkVote(linkID,onSuccess,onFailed,userContext); }
Service.AspNet.SiteService.adClick= function(adID,onSuccess,onFailed,userContext) {
/// <param name="adID" type="Number">System.Int32</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>
Service.AspNet.SiteService._staticInstance.adClick(adID,onSuccess,onFailed,userContext); }
Service.AspNet.SiteService.deleteLink= function(linkID,onSuccess,onFailed,userContext) {
/// <param name="linkID" type="Number">System.Int32</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>
Service.AspNet.SiteService._staticInstance.deleteLink(linkID,onSuccess,onFailed,userContext); }
Service.AspNet.SiteService.nullLink= function(linkID,onSuccess,onFailed,userContext) {
/// <param name="linkID" type="Number">System.Int32</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>
Service.AspNet.SiteService._staticInstance.nullLink(linkID,onSuccess,onFailed,userContext); }
