Type.registerNamespace('SnapSystems.SnapCMS.WebService');
SnapSystems.SnapCMS.WebService.ListaImoveis=function() {
SnapSystems.SnapCMS.WebService.ListaImoveis.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SnapSystems.SnapCMS.WebService.ListaImoveis.prototype={
CarregarImoveis:function(codModulo,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ListaImoveis.get_path(), 'CarregarImoveis',false,{codModulo:codModulo},succeededCallback,failedCallback,userContext); },
CarregarImoveisSemelhantes:function(codModulo,codImovelBusca,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ListaImoveis.get_path(), 'CarregarImoveisSemelhantes',false,{codModulo:codModulo,codImovelBusca:codImovelBusca},succeededCallback,failedCallback,userContext); },
CarregarImoveisPaginados:function(codModulo,pageIndex,pageSize,orderBy,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ListaImoveis.get_path(), 'CarregarImoveisPaginados',false,{codModulo:codModulo,pageIndex:pageIndex,pageSize:pageSize,orderBy:orderBy},succeededCallback,failedCallback,userContext); },
Salvar:function(parametros,CodModulo,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ListaImoveis.get_path(), 'Salvar',false,{parametros:parametros,CodModulo:CodModulo},succeededCallback,failedCallback,userContext); },
CarregarFiltroListaImoveis:function(codModulo,codPortal,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.ListaImoveis.get_path(), 'CarregarFiltroListaImoveis',false,{codModulo:codModulo,codPortal:codPortal},succeededCallback,failedCallback,userContext); }}
SnapSystems.SnapCMS.WebService.ListaImoveis.registerClass('SnapSystems.SnapCMS.WebService.ListaImoveis',Sys.Net.WebServiceProxy);
SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance = new SnapSystems.SnapCMS.WebService.ListaImoveis();
SnapSystems.SnapCMS.WebService.ListaImoveis.set_path = function(value) { SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance._path = value; }
SnapSystems.SnapCMS.WebService.ListaImoveis.get_path = function() { return SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance._path; }
SnapSystems.SnapCMS.WebService.ListaImoveis.set_timeout = function(value) { SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance._timeout = value; }
SnapSystems.SnapCMS.WebService.ListaImoveis.get_timeout = function() { return SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance._timeout; }
SnapSystems.SnapCMS.WebService.ListaImoveis.set_defaultUserContext = function(value) { SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance._userContext = value; }
SnapSystems.SnapCMS.WebService.ListaImoveis.get_defaultUserContext = function() { return SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance._userContext; }
SnapSystems.SnapCMS.WebService.ListaImoveis.set_defaultSucceededCallback = function(value) { SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance._succeeded = value; }
SnapSystems.SnapCMS.WebService.ListaImoveis.get_defaultSucceededCallback = function() { return SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance._succeeded; }
SnapSystems.SnapCMS.WebService.ListaImoveis.set_defaultFailedCallback = function(value) { SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance._failed = value; }
SnapSystems.SnapCMS.WebService.ListaImoveis.get_defaultFailedCallback = function() { return SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance._failed; }
SnapSystems.SnapCMS.WebService.ListaImoveis.set_path("/WebService/ListaImoveis.asmx");
SnapSystems.SnapCMS.WebService.ListaImoveis.CarregarImoveis= function(codModulo,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance.CarregarImoveis(codModulo,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ListaImoveis.CarregarImoveisSemelhantes= function(codModulo,codImovelBusca,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance.CarregarImoveisSemelhantes(codModulo,codImovelBusca,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ListaImoveis.CarregarImoveisPaginados= function(codModulo,pageIndex,pageSize,orderBy,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance.CarregarImoveisPaginados(codModulo,pageIndex,pageSize,orderBy,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ListaImoveis.Salvar= function(parametros,CodModulo,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance.Salvar(parametros,CodModulo,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.ListaImoveis.CarregarFiltroListaImoveis= function(codModulo,codPortal,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.ListaImoveis._staticInstance.CarregarFiltroListaImoveis(codModulo,codPortal,onSuccess,onFailed,userContext); }
