var CompletaCampos=function() {
CompletaCampos.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CompletaCampos.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CompletaCampos._staticInstance.get_path();},
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); },
GetCargoLista: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(), 'GetCargoLista',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCargoLista_Site: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(), 'GetCargoLista_Site',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetInstituicao_Site: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(), 'GetInstituicao_Site',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCandidato: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(), 'GetCandidato',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
CompletaCampos.registerClass('CompletaCampos',Sys.Net.WebServiceProxy);
CompletaCampos._staticInstance = new CompletaCampos();
CompletaCampos.set_path = function(value) {
CompletaCampos._staticInstance.set_path(value); }
CompletaCampos.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CompletaCampos._staticInstance.get_path();}
CompletaCampos.set_timeout = function(value) {
CompletaCampos._staticInstance.set_timeout(value); }
CompletaCampos.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CompletaCampos._staticInstance.get_timeout(); }
CompletaCampos.set_defaultUserContext = function(value) { 
CompletaCampos._staticInstance.set_defaultUserContext(value); }
CompletaCampos.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CompletaCampos._staticInstance.get_defaultUserContext(); }
CompletaCampos.set_defaultSucceededCallback = function(value) { 
 CompletaCampos._staticInstance.set_defaultSucceededCallback(value); }
CompletaCampos.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CompletaCampos._staticInstance.get_defaultSucceededCallback(); }
CompletaCampos.set_defaultFailedCallback = function(value) { 
CompletaCampos._staticInstance.set_defaultFailedCallback(value); }
CompletaCampos.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CompletaCampos._staticInstance.get_defaultFailedCallback(); }
CompletaCampos.set_enableJsonp = function(value) { CompletaCampos._staticInstance.set_enableJsonp(value); }
CompletaCampos.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return CompletaCampos._staticInstance.get_enableJsonp(); }
CompletaCampos.set_jsonpCallbackParameter = function(value) { CompletaCampos._staticInstance.set_jsonpCallbackParameter(value); }
CompletaCampos.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return CompletaCampos._staticInstance.get_jsonpCallbackParameter(); }
CompletaCampos.set_path("/sistema/agenda/CompletaCampos.asmx");
CompletaCampos.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>
CompletaCampos._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
CompletaCampos.GetCargoLista= 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>
CompletaCampos._staticInstance.GetCargoLista(prefixText,count,onSuccess,onFailed,userContext); }
CompletaCampos.GetCargoLista_Site= 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>
CompletaCampos._staticInstance.GetCargoLista_Site(prefixText,count,onSuccess,onFailed,userContext); }
CompletaCampos.GetInstituicao_Site= 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>
CompletaCampos._staticInstance.GetInstituicao_Site(prefixText,count,onSuccess,onFailed,userContext); }
CompletaCampos.GetCandidato= 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>
CompletaCampos._staticInstance.GetCandidato(prefixText,count,onSuccess,onFailed,userContext); }

