Type.registerNamespace('GDF2.services');
GDF2.services.Enlaces=function() {
GDF2.services.Enlaces.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GDF2.services.Enlaces.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GDF2.services.Enlaces._staticInstance.get_path();},
InsertaEnlace:function(titulo,descripcion,url,objectId,to,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertaEnlace',false,{titulo:titulo,descripcion:descripcion,url:url,objectId:objectId,to:to},succeededCallback,failedCallback,userContext); }}
GDF2.services.Enlaces.registerClass('GDF2.services.Enlaces',Sys.Net.WebServiceProxy);
GDF2.services.Enlaces._staticInstance = new GDF2.services.Enlaces();
GDF2.services.Enlaces.set_path = function(value) { GDF2.services.Enlaces._staticInstance.set_path(value); }
GDF2.services.Enlaces.get_path = function() { return GDF2.services.Enlaces._staticInstance.get_path(); }
GDF2.services.Enlaces.set_timeout = function(value) { GDF2.services.Enlaces._staticInstance.set_timeout(value); }
GDF2.services.Enlaces.get_timeout = function() { return GDF2.services.Enlaces._staticInstance.get_timeout(); }
GDF2.services.Enlaces.set_defaultUserContext = function(value) { GDF2.services.Enlaces._staticInstance.set_defaultUserContext(value); }
GDF2.services.Enlaces.get_defaultUserContext = function() { return GDF2.services.Enlaces._staticInstance.get_defaultUserContext(); }
GDF2.services.Enlaces.set_defaultSucceededCallback = function(value) { GDF2.services.Enlaces._staticInstance.set_defaultSucceededCallback(value); }
GDF2.services.Enlaces.get_defaultSucceededCallback = function() { return GDF2.services.Enlaces._staticInstance.get_defaultSucceededCallback(); }
GDF2.services.Enlaces.set_defaultFailedCallback = function(value) { GDF2.services.Enlaces._staticInstance.set_defaultFailedCallback(value); }
GDF2.services.Enlaces.get_defaultFailedCallback = function() { return GDF2.services.Enlaces._staticInstance.get_defaultFailedCallback(); }
GDF2.services.Enlaces.set_path("/services/Enlaces.asmx");
GDF2.services.Enlaces.InsertaEnlace= function(titulo,descripcion,url,objectId,to,onSuccess,onFailed,userContext) {GDF2.services.Enlaces._staticInstance.InsertaEnlace(titulo,descripcion,url,objectId,to,onSuccess,onFailed,userContext); }
Type.registerNamespace('DALComunidad');
if (typeof(DALComunidad.TipoObjeto) === 'undefined') {
DALComunidad.TipoObjeto = function() { throw Error.invalidOperation(); }
DALComunidad.TipoObjeto.prototype = {Pelicula: 1,Perfil: 2,Noticia: 3,CineTransporte: 4,Bso: 5,Dvd: 6,Usuario: 7,Encuesta: 8,Enlace: 9,Favoritos: 10,Comentario: 11,CineLimpieza: 12,CineComodidad: 13,CineExperiencia: 14,Critica: 15,Cine: 16,Video: 17}
DALComunidad.TipoObjeto.registerEnum('DALComunidad.TipoObjeto', true);
}
