var TagZar=function() {
TagZar.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TagZar.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TagZar._staticInstance.get_path();},
GetTopTags:function(nLimit,succeededCallback, failedCallback, userContext) {
/// <param name="nLimit" 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(), 'GetTopTags',false,{nLimit:nLimit},succeededCallback,failedCallback,userContext); },
GetAllTags:function(nLimit,succeededCallback, failedCallback, userContext) {
/// <param name="nLimit" 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(), 'GetAllTags',false,{nLimit:nLimit},succeededCallback,failedCallback,userContext); },
ListRelatedTags:function(nLimit,nTagID,succeededCallback, failedCallback, userContext) {
/// <param name="nLimit" type="Number">System.Int32</param>
/// <param name="nTagID" 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(), 'ListRelatedTags',false,{nLimit:nLimit,nTagID:nTagID},succeededCallback,failedCallback,userContext); },
ListRelatedTagsByText:function(nLimit,sTagText,succeededCallback, failedCallback, userContext) {
/// <param name="nLimit" type="Number">System.Int32</param>
/// <param name="sTagText" 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(), 'ListRelatedTagsByText',false,{nLimit:nLimit,sTagText:sTagText},succeededCallback,failedCallback,userContext); },
ThumbsUp:function(nSiteID,nTagID,succeededCallback, failedCallback, userContext) {
/// <param name="nSiteID" type="Number">System.Int32</param>
/// <param name="nTagID" 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(), 'ThumbsUp',false,{nSiteID:nSiteID,nTagID:nTagID},succeededCallback,failedCallback,userContext); },
GetCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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(), 'GetCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
TagZar.registerClass('TagZar',Sys.Net.WebServiceProxy);
TagZar._staticInstance = new TagZar();
TagZar.set_path = function(value) {
TagZar._staticInstance.set_path(value); }
TagZar.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return TagZar._staticInstance.get_path();}
TagZar.set_timeout = function(value) {
TagZar._staticInstance.set_timeout(value); }
TagZar.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return TagZar._staticInstance.get_timeout(); }
TagZar.set_defaultUserContext = function(value) { 
TagZar._staticInstance.set_defaultUserContext(value); }
TagZar.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return TagZar._staticInstance.get_defaultUserContext(); }
TagZar.set_defaultSucceededCallback = function(value) { 
 TagZar._staticInstance.set_defaultSucceededCallback(value); }
TagZar.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return TagZar._staticInstance.get_defaultSucceededCallback(); }
TagZar.set_defaultFailedCallback = function(value) { 
TagZar._staticInstance.set_defaultFailedCallback(value); }
TagZar.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return TagZar._staticInstance.get_defaultFailedCallback(); }
TagZar.set_path("/service/TagZar.asmx");
TagZar.GetTopTags= function(nLimit,onSuccess,onFailed,userContext) {
/// <param name="nLimit" 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>
TagZar._staticInstance.GetTopTags(nLimit,onSuccess,onFailed,userContext); }
TagZar.GetAllTags= function(nLimit,onSuccess,onFailed,userContext) {
/// <param name="nLimit" 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>
TagZar._staticInstance.GetAllTags(nLimit,onSuccess,onFailed,userContext); }
TagZar.ListRelatedTags= function(nLimit,nTagID,onSuccess,onFailed,userContext) {
/// <param name="nLimit" type="Number">System.Int32</param>
/// <param name="nTagID" 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>
TagZar._staticInstance.ListRelatedTags(nLimit,nTagID,onSuccess,onFailed,userContext); }
TagZar.ListRelatedTagsByText= function(nLimit,sTagText,onSuccess,onFailed,userContext) {
/// <param name="nLimit" type="Number">System.Int32</param>
/// <param name="sTagText" 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>
TagZar._staticInstance.ListRelatedTagsByText(nLimit,sTagText,onSuccess,onFailed,userContext); }
TagZar.ThumbsUp= function(nSiteID,nTagID,onSuccess,onFailed,userContext) {
/// <param name="nSiteID" type="Number">System.Int32</param>
/// <param name="nTagID" 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>
TagZar._staticInstance.ThumbsUp(nSiteID,nTagID,onSuccess,onFailed,userContext); }
TagZar.GetCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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>
TagZar._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
