Type.registerNamespace('TVAGoogle.common.services');
TVAGoogle.common.services.Counties=function() {
TVAGoogle.common.services.Counties.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TVAGoogle.common.services.Counties.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TVAGoogle.common.services.Counties._staticInstance.get_path();},
GetCounties:function(pSubsetTOKEN,succeededCallback, failedCallback, userContext) {
/// <param name="pSubsetTOKEN" 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(), 'GetCounties',false,{pSubsetTOKEN:pSubsetTOKEN},succeededCallback,failedCallback,userContext); },
GetCountyCompletionList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="contextKey" 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(), 'GetCountyCompletionList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetCountyCode:function(pCode,succeededCallback, failedCallback, userContext) {
/// <param name="pCode" 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(), 'GetCountyCode',false,{pCode:pCode},succeededCallback,failedCallback,userContext); }}
TVAGoogle.common.services.Counties.registerClass('TVAGoogle.common.services.Counties',Sys.Net.WebServiceProxy);
TVAGoogle.common.services.Counties._staticInstance = new TVAGoogle.common.services.Counties();
TVAGoogle.common.services.Counties.set_path = function(value) {
TVAGoogle.common.services.Counties._staticInstance.set_path(value); }
TVAGoogle.common.services.Counties.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return TVAGoogle.common.services.Counties._staticInstance.get_path();}
TVAGoogle.common.services.Counties.set_timeout = function(value) {
TVAGoogle.common.services.Counties._staticInstance.set_timeout(value); }
TVAGoogle.common.services.Counties.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return TVAGoogle.common.services.Counties._staticInstance.get_timeout(); }
TVAGoogle.common.services.Counties.set_defaultUserContext = function(value) { 
TVAGoogle.common.services.Counties._staticInstance.set_defaultUserContext(value); }
TVAGoogle.common.services.Counties.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return TVAGoogle.common.services.Counties._staticInstance.get_defaultUserContext(); }
TVAGoogle.common.services.Counties.set_defaultSucceededCallback = function(value) { 
 TVAGoogle.common.services.Counties._staticInstance.set_defaultSucceededCallback(value); }
TVAGoogle.common.services.Counties.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return TVAGoogle.common.services.Counties._staticInstance.get_defaultSucceededCallback(); }
TVAGoogle.common.services.Counties.set_defaultFailedCallback = function(value) { 
TVAGoogle.common.services.Counties._staticInstance.set_defaultFailedCallback(value); }
TVAGoogle.common.services.Counties.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return TVAGoogle.common.services.Counties._staticInstance.get_defaultFailedCallback(); }
TVAGoogle.common.services.Counties.set_path("/common/services/Counties.asmx");
TVAGoogle.common.services.Counties.GetCounties= function(pSubsetTOKEN,onSuccess,onFailed,userContext) {
/// <param name="pSubsetTOKEN" 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>
TVAGoogle.common.services.Counties._staticInstance.GetCounties(pSubsetTOKEN,onSuccess,onFailed,userContext); }
TVAGoogle.common.services.Counties.GetCountyCompletionList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="contextKey" 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>
TVAGoogle.common.services.Counties._staticInstance.GetCountyCompletionList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
TVAGoogle.common.services.Counties.GetCountyCode= function(pCode,onSuccess,onFailed,userContext) {
/// <param name="pCode" 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>
TVAGoogle.common.services.Counties._staticInstance.GetCountyCode(pCode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('TVAGoogle.common.data');
if (typeof(TVAGoogle.common.data.County) === 'undefined') {
TVAGoogle.common.data.County=gtc("TVAGoogle.common.data.County");
TVAGoogle.common.data.County.registerClass('TVAGoogle.common.data.County');
}
