Type.registerNamespace('Tunegum');
Tunegum.AjaxWebServices=function() {
Tunegum.AjaxWebServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Tunegum.AjaxWebServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Tunegum.AjaxWebServices._staticInstance.get_path();},
GetArtistList: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(), 'GetArtistList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetVenueList: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(), 'GetVenueList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetEventList: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(), 'GetEventList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetFestivalList: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(), 'GetFestivalList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
Tunegum.AjaxWebServices.registerClass('Tunegum.AjaxWebServices',Sys.Net.WebServiceProxy);
Tunegum.AjaxWebServices._staticInstance = new Tunegum.AjaxWebServices();
Tunegum.AjaxWebServices.set_path = function(value) {
Tunegum.AjaxWebServices._staticInstance.set_path(value); }
Tunegum.AjaxWebServices.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Tunegum.AjaxWebServices._staticInstance.get_path();}
Tunegum.AjaxWebServices.set_timeout = function(value) {
Tunegum.AjaxWebServices._staticInstance.set_timeout(value); }
Tunegum.AjaxWebServices.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Tunegum.AjaxWebServices._staticInstance.get_timeout(); }
Tunegum.AjaxWebServices.set_defaultUserContext = function(value) { 
Tunegum.AjaxWebServices._staticInstance.set_defaultUserContext(value); }
Tunegum.AjaxWebServices.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Tunegum.AjaxWebServices._staticInstance.get_defaultUserContext(); }
Tunegum.AjaxWebServices.set_defaultSucceededCallback = function(value) { 
 Tunegum.AjaxWebServices._staticInstance.set_defaultSucceededCallback(value); }
Tunegum.AjaxWebServices.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Tunegum.AjaxWebServices._staticInstance.get_defaultSucceededCallback(); }
Tunegum.AjaxWebServices.set_defaultFailedCallback = function(value) { 
Tunegum.AjaxWebServices._staticInstance.set_defaultFailedCallback(value); }
Tunegum.AjaxWebServices.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Tunegum.AjaxWebServices._staticInstance.get_defaultFailedCallback(); }
Tunegum.AjaxWebServices.set_path("/AjaxWebServices.asmx");
Tunegum.AjaxWebServices.GetArtistList= 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>
Tunegum.AjaxWebServices._staticInstance.GetArtistList(prefixText,count,onSuccess,onFailed,userContext); }
Tunegum.AjaxWebServices.GetVenueList= 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>
Tunegum.AjaxWebServices._staticInstance.GetVenueList(prefixText,count,onSuccess,onFailed,userContext); }
Tunegum.AjaxWebServices.GetEventList= 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>
Tunegum.AjaxWebServices._staticInstance.GetEventList(prefixText,count,onSuccess,onFailed,userContext); }
Tunegum.AjaxWebServices.GetFestivalList= 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>
Tunegum.AjaxWebServices._staticInstance.GetFestivalList(prefixText,count,onSuccess,onFailed,userContext); }
