Revision 435 org.gvsig.busquedacatastral/trunk/org.gvsig.busquedacatastral/org.gvsig.busquedacatastral.lib/org.gvsig.busquedacatastral.lib.api/src/main/java/org/gvsig/busquedacatastral/lib/api/BusquedaCatastralManager.java

View differences:

BusquedaCatastralManager.java
26 26
import java.io.IOException;
27 27
import java.util.List;
28 28

  
29
import org.gvsig.busquedacatastral.lib.api.exceptions.BusquedaCatastralException;
29 30
import org.gvsig.busquedacatastral.lib.api.exceptions.BusquedaCatastralGettingDataException;
30 31
import org.gvsig.busquedacatastral.lib.api.exceptions.BusquedaCatastralGettingParamsException;
31 32
import org.gvsig.busquedacatastral.lib.api.exceptions.BusquedaCatastralInvalidSRSException;
......
79 80
        * Gets Provincias from catastro
80 81
        * @return List<DynObject>
81 82
        */
82
       public List<DynObject> getProvincias() throws BusquedaCatastralGettingParamsException;
83
       public List<DynObject> getProvincias() throws BusquedaCatastralException;
83 84

  
84 85
       /**
85 86
        * Gets Municipios from catastro, depending from provincia
86 87
        * @param query
87 88
        * @return List<DynObject>
88 89
        */
89
       public List<DynObject> getMunicipios(QueryCatastral query) throws BusquedaCatastralGettingParamsException;
90
       public List<DynObject> getMunicipios(QueryCatastral query) throws BusquedaCatastralException;
90 91

  
91 92
       /**
92 93
        * Gets Municipios from catastro, depending from provincia and filtered
......
94 95
        * @param municipio
95 96
        * @return List<DynObject>
96 97
        */
97
       public List<DynObject> getMunicipios(QueryCatastral query, String municipio)throws BusquedaCatastralGettingParamsException;
98
       public List<DynObject> getMunicipios(QueryCatastral query, String municipio)throws BusquedaCatastralException;
98 99

  
99 100
       /**
100 101
        * Tipos de vias del catastro
101 102
        * @return List<TipoVia>
102 103
        */
103
       public List<TipoVia> getTiposDeVia()throws BusquedaCatastralGettingParamsException;
104
       public List<TipoVia> getTiposDeVia()throws BusquedaCatastralException;
104 105

  
105 106
       /**
106 107
        * Vias del catastro en funcion del municipio
107 108
        * @param query
108 109
        * @return List<DynObject>
109 110
        */
110
       public List<DynObject> getVias(QueryCatastral query)throws BusquedaCatastralGettingParamsException;
111
       public List<DynObject> getVias(QueryCatastral query)throws BusquedaCatastralException;
111 112

  
112 113
       /**
113 114
        * Vias del catastro en funcion del municipio, filtrado
......
115 116
        * @param via
116 117
        * @return List<DynObject>
117 118
        */
118
       public List<DynObject> getVias(QueryCatastral query, String via)throws BusquedaCatastralGettingParamsException;
119
       public List<DynObject> getVias(QueryCatastral query, String via)throws BusquedaCatastralException;
119 120

  
120 121
       /**
121 122
        * Devuelve los posibles numeros de una v?a entre un intervalo dado
......
124 125
        * @param fin
125 126
        * @return List<String>
126 127
        */
127
       public List<String> getNumeros(QueryCatastral query,String inicio, String fin)throws BusquedaCatastralGettingParamsException;
128
       public List<String> getNumeros(QueryCatastral query,String inicio, String fin)throws BusquedaCatastralException;
128 129

  
129 130
       /**
130 131
        * Devuelve las referecias catastrales para la query formada
131 132
        * @param query
132 133
        * @return List<ReferenciaCatastral>
133 134
        */
134
       public List<ReferenciaCatastral> getReferenciasCatastrales(QueryCatastral query)throws BusquedaCatastralGettingParamsException;
135
       public List<ReferenciaCatastral> getReferenciasCatastrales(QueryCatastral query)throws BusquedaCatastralException;
135 136

  
136 137
       /**
137 138
        * Devuelve un punto del centroide correspondiente de la referencia catastral
138 139
        * @param referenciacatastral
139 140
        * @return Point
140 141
        */
141
       public Point getPoint(String referenciacatastral, SRSCatastro srs)throws BusquedaCatastralGettingDataException, BusquedaCatastralInvalidSRSException;
142
       public Point getPoint(String referenciacatastral, SRSCatastro srs)throws BusquedaCatastralException;
142 143

  
143 144
       /**
144 145
        * Devuelve un punto del centroide correspondiente del codigo de la referencia catastral
145 146
        * @param referenciacatastral
147
        * @param srs
146 148
        * @return Point
149
     * @throws BusquedaCatastralException
147 150
        */
148
       public Point getPoint(ReferenciaCatastral referenciacatastral, SRSCatastro srs)throws BusquedaCatastralGettingDataException, BusquedaCatastralInvalidSRSException;
151
       public Point getPoint(ReferenciaCatastral referenciacatastral, SRSCatastro srs)throws BusquedaCatastralException;
149 152

  
150 153
       /**
151 154
        * Devuelve los datos catastrales de la parcela en el punto indicado
152 155
        * @param p
156
     * @param srs
153 157
        * @return DynObject
158
     * @throws BusquedaCatastralException
154 159
        */
155
       public DynObject getDatosCatastrales(Point p, SRSCatastro srs)throws BusquedaCatastralGettingDataException, BusquedaCatastralInvalidSRSException;
160
       public DynObject getDatosCatastrales(Point p, SRSCatastro srs)throws BusquedaCatastralException;
156 161

  
157 162
       /**
158 163
        * Devuelve los datos catastrales del codigo de la referencia catastral
159 164
        * @param rc
160 165
        * @return DynObject
166
     * @throws BusquedaCatastralException
161 167
        */
162
       public DynObject getDatosCatastrales(String rc)throws BusquedaCatastralGettingDataException;
168
       public DynObject getDatosCatastrales(String rc)throws BusquedaCatastralException;
163 169

  
164
       public File getCacheFolder();
170
       /**
171
     * @return
172
     */
173
    public File getCacheFolder();
165 174

  
166
       public void setCacheFolder(File cacheFolder);
175
       /**
176
     * @param cacheFolder
177
     */
178
    public void setCacheFolder(File cacheFolder);
167 179
}
168 180

  
169 181

  

Also available in: Unified diff