1'use strict'; 2 3angular 4 .module('BormApp.AnunciosModule') 5 .factory('AnuncioFactory', [ '$http', function($http) { 6 7 var datos = { 8 findEliUriByFechaNumero: function(fecha, numero){ 9 return $http.get('services/anuncio/eliUri/fecha/' + fecha + '/numero/' + numero); 10 }, 11 findAnunciosByAnunciante: function(nombreAnunciante){ 12 return $http.get('services/anuncio?anunciante=' + nombreAnunciante); 13 }, 14 findAnuncioByFechaNumero: function(fecha, numero){ 15 return $http.get('services/anuncio/fecha/' + fecha + '/numero/' + numero); 16 }, 17 findReferenciasByFechaNumero: function(fecha, numero){ 18 return $http.get('services/referencia/anuncio/fecha/' + fecha + '/numero/' + numero); 19 }, 20 findPDFById : function(idAnuncio){ 21 return $http.get('services/anuncio/' + idAnuncio + '/pdf', {responseType: 'arraybuffer'}); 22 }, 23 findPDFByNPE : function(npe){ 24 return $http.get('services/anuncio/pdf/' + npe, {responseType: 'arraybuffer'}); 25 }, 26 findTXTById : function(idAnuncio){ 27 return $http.get('services/anuncio/' + idAnuncio + '/txt', {responseType: 'arraybuffer'}); 28 }, 29 findBySearchFilter: function(idAyuntamiento, pageNumber, pageSize, fechaDesde, fechaHasta){ 30 return $http.get('services/anuncio/ayuntamiento/' + idAyuntamiento 31 + '?pageNumber=' + pageNumber + '&pageSize=' + pageSize 32 + '&fechaDesde=' + fechaDesde + '&fechaHasta=' + fechaHasta); 33 }, 34 findAnunciosMasVisitados: function(){ 35 return $http.get('services/anuncio/masVisitados'); 36 }, 37 findDestacadoBySearchFilter: function(pageNumber, pageSize){ 38 return $http.get('services/anuncio/destacados' 39 + '?pageNumber=' + pageNumber + '&pageSize=' + pageSize); 40 }, 41 // Devuelve el Boletin, sirve para el titulo del cuadro gris en los suplementos. 42 findByFechaPublicacion: function(fecha){ 43 return $http.get('services/boletin/fecha/' +fecha); 44 } 45 46 } 47 48 return datos; 49 50 }]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.