Type.registerNamespace('SnapSystems.SnapCMS.WebService');
SnapSystems.SnapCMS.WebService.ZonaValor=function() {
SnapSystems.SnapCMS.WebService.ZonaValor.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SnapSystems.SnapCMS.WebService.ZonaValor.prototype={
Procurar:function(parametros,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ZonaValor.get_path(), 'Procurar',false,{parametros:parametros},succeededCallback,failedCallback,userContext); },
CarregarZonaValor:function(codPortal,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ZonaValor.get_path(), 'CarregarZonaValor',false,{codPortal:codPortal},succeededCallback,failedCallback,userContext); },
CarregarGrid:function(codPortal,paginaInicial,registrosPagina,ordenadoPor,sortOrder,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ZonaValor.get_path(), 'CarregarGrid',false,{codPortal:codPortal,paginaInicial:paginaInicial,registrosPagina:registrosPagina,ordenadoPor:ordenadoPor,sortOrder:sortOrder},succeededCallback,failedCallback,userContext); },
Carregar:function(codZonaValor,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ZonaValor.get_path(), 'Carregar',false,{codZonaValor:codZonaValor},succeededCallback,failedCallback,userContext); },
Excluir:function(codZonaValor,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ZonaValor.get_path(), 'Excluir',false,{codZonaValor:codZonaValor},succeededCallback,failedCallback,userContext); },
Cadastrar:function(zonaValor,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ZonaValor.get_path(), 'Cadastrar',false,{zonaValor:zonaValor},succeededCallback,failedCallback,userContext); },
Atualizar:function(zonaValor,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ZonaValor.get_path(), 'Atualizar',false,{zonaValor:zonaValor},succeededCallback,failedCallback,userContext); },
RetornaListaZonaValor:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ZonaValor.get_path(), 'RetornaListaZonaValor',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
CarregarPorCidade:function(codCidade,codPortal,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ZonaValor.get_path(), 'CarregarPorCidade',false,{codCidade:codCidade,codPortal:codPortal},succeededCallback,failedCallback,userContext); }}
SnapSystems.SnapCMS.WebService.ZonaValor.registerClass('SnapSystems.SnapCMS.WebService.ZonaValor',Sys.Net.WebServiceProxy);
SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance = new SnapSystems.SnapCMS.WebService.ZonaValor();
SnapSystems.SnapCMS.WebService.ZonaValor.set_path = function(value) { SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance._path = value; }
SnapSystems.SnapCMS.WebService.ZonaValor.get_path = function() { return SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance._path; }
SnapSystems.SnapCMS.WebService.ZonaValor.set_timeout = function(value) { SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance._timeout = value; }
SnapSystems.SnapCMS.WebService.ZonaValor.get_timeout = function() { return SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance._timeout; }
SnapSystems.SnapCMS.WebService.ZonaValor.set_defaultUserContext = function(value) { SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance._userContext = value; }
SnapSystems.SnapCMS.WebService.ZonaValor.get_defaultUserContext = function() { return SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance._userContext; }
SnapSystems.SnapCMS.WebService.ZonaValor.set_defaultSucceededCallback = function(value) { SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance._succeeded = value; }
SnapSystems.SnapCMS.WebService.ZonaValor.get_defaultSucceededCallback = function() { return SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance._succeeded; }
SnapSystems.SnapCMS.WebService.ZonaValor.set_defaultFailedCallback = function(value) { SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance._failed = value; }
SnapSystems.SnapCMS.WebService.ZonaValor.get_defaultFailedCallback = function() { return SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance._failed; }
SnapSystems.SnapCMS.WebService.ZonaValor.set_path("/WebService/ZonaValor.asmx");
SnapSystems.SnapCMS.WebService.ZonaValor.Procurar= function(parametros,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance.Procurar(parametros,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ZonaValor.CarregarZonaValor= function(codPortal,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance.CarregarZonaValor(codPortal,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ZonaValor.CarregarGrid= function(codPortal,paginaInicial,registrosPagina,ordenadoPor,sortOrder,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance.CarregarGrid(codPortal,paginaInicial,registrosPagina,ordenadoPor,sortOrder,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ZonaValor.Carregar= function(codZonaValor,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance.Carregar(codZonaValor,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ZonaValor.Excluir= function(codZonaValor,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance.Excluir(codZonaValor,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ZonaValor.Cadastrar= function(zonaValor,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance.Cadastrar(zonaValor,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ZonaValor.Atualizar= function(zonaValor,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance.Atualizar(zonaValor,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ZonaValor.RetornaListaZonaValor= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance.RetornaListaZonaValor(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ZonaValor.CarregarPorCidade= function(codCidade,codPortal,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ZonaValor._staticInstance.CarregarPorCidade(codCidade,codPortal,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SnapSystems.SnapCMS.Entities');
if (typeof(SnapSystems.SnapCMS.Entities.ParametrosBusca) === 'undefined') {
SnapSystems.SnapCMS.Entities.ParametrosBusca=gtc("SnapSystems.SnapCMS.Entities.ParametrosBusca");
SnapSystems.SnapCMS.Entities.ParametrosBusca.registerClass('SnapSystems.SnapCMS.Entities.ParametrosBusca');
}
if (typeof(SnapSystems.SnapCMS.Entities.ZonaValor) === 'undefined') {
SnapSystems.SnapCMS.Entities.ZonaValor=gtc("SnapSystems.SnapCMS.Entities.ZonaValor");
SnapSystems.SnapCMS.Entities.ZonaValor.registerClass('SnapSystems.SnapCMS.Entities.ZonaValor');
}
