Type.registerNamespace('SnapSystems.SnapCMS.WebService');
SnapSystems.SnapCMS.WebService.EstagioObra=function() {
SnapSystems.SnapCMS.WebService.EstagioObra.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SnapSystems.SnapCMS.WebService.EstagioObra.prototype={
Carregar:function(codEstagioObra,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.EstagioObra.get_path(), 'Carregar',false,{codEstagioObra:codEstagioObra},succeededCallback,failedCallback,userContext); },
CarregarPorPortal:function(codPortal,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.EstagioObra.get_path(), 'CarregarPorPortal',false,{codPortal:codPortal},succeededCallback,failedCallback,userContext); },
Cadastrar:function(novoEstagioObra,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.EstagioObra.get_path(), 'Cadastrar',false,{novoEstagioObra:novoEstagioObra},succeededCallback,failedCallback,userContext); },
Atualizar:function(estagioObra,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.EstagioObra.get_path(), 'Atualizar',false,{estagioObra:estagioObra},succeededCallback,failedCallback,userContext); },
Excluir:function(codEstagioObra,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.EstagioObra.get_path(), 'Excluir',false,{codEstagioObra:codEstagioObra},succeededCallback,failedCallback,userContext); },
Descer:function(codEstagio,codPortal,codUsuario,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.EstagioObra.get_path(), 'Descer',false,{codEstagio:codEstagio,codPortal:codPortal,codUsuario:codUsuario},succeededCallback,failedCallback,userContext); },
Subir:function(codEstagio,codPortal,codUsuario,succeededCallback, failedCallback, userContext) {
return this._invoke(SnapSystems.SnapCMS.WebService.EstagioObra.get_path(), 'Subir',false,{codEstagio:codEstagio,codPortal:codPortal,codUsuario:codUsuario},succeededCallback,failedCallback,userContext); }}
SnapSystems.SnapCMS.WebService.EstagioObra.registerClass('SnapSystems.SnapCMS.WebService.EstagioObra',Sys.Net.WebServiceProxy);
SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance = new SnapSystems.SnapCMS.WebService.EstagioObra();
SnapSystems.SnapCMS.WebService.EstagioObra.set_path = function(value) { SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance._path = value; }
SnapSystems.SnapCMS.WebService.EstagioObra.get_path = function() { return SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance._path; }
SnapSystems.SnapCMS.WebService.EstagioObra.set_timeout = function(value) { SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance._timeout = value; }
SnapSystems.SnapCMS.WebService.EstagioObra.get_timeout = function() { return SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance._timeout; }
SnapSystems.SnapCMS.WebService.EstagioObra.set_defaultUserContext = function(value) { SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance._userContext = value; }
SnapSystems.SnapCMS.WebService.EstagioObra.get_defaultUserContext = function() { return SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance._userContext; }
SnapSystems.SnapCMS.WebService.EstagioObra.set_defaultSucceededCallback = function(value) { SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance._succeeded = value; }
SnapSystems.SnapCMS.WebService.EstagioObra.get_defaultSucceededCallback = function() { return SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance._succeeded; }
SnapSystems.SnapCMS.WebService.EstagioObra.set_defaultFailedCallback = function(value) { SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance._failed = value; }
SnapSystems.SnapCMS.WebService.EstagioObra.get_defaultFailedCallback = function() { return SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance._failed; }
SnapSystems.SnapCMS.WebService.EstagioObra.set_path("/WebService/EstagioObra.asmx");
SnapSystems.SnapCMS.WebService.EstagioObra.Carregar= function(codEstagioObra,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance.Carregar(codEstagioObra,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.EstagioObra.CarregarPorPortal= function(codPortal,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance.CarregarPorPortal(codPortal,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.EstagioObra.Cadastrar= function(novoEstagioObra,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance.Cadastrar(novoEstagioObra,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.EstagioObra.Atualizar= function(estagioObra,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance.Atualizar(estagioObra,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.EstagioObra.Excluir= function(codEstagioObra,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance.Excluir(codEstagioObra,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.EstagioObra.Descer= function(codEstagio,codPortal,codUsuario,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance.Descer(codEstagio,codPortal,codUsuario,onSuccess,onFailed,userContext); }
SnapSystems.SnapCMS.WebService.EstagioObra.Subir= function(codEstagio,codPortal,codUsuario,onSuccess,onFailed,userContext) {SnapSystems.SnapCMS.WebService.EstagioObra._staticInstance.Subir(codEstagio,codPortal,codUsuario,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SnapSystems.SnapCMS.Entities');
if (typeof(SnapSystems.SnapCMS.Entities.EstagioObra) === 'undefined') {
SnapSystems.SnapCMS.Entities.EstagioObra=gtc("SnapSystems.SnapCMS.Entities.EstagioObra");
SnapSystems.SnapCMS.Entities.EstagioObra.registerClass('SnapSystems.SnapCMS.Entities.EstagioObra');
}
