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