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