public abstract class RicercaBase extends Object implements IRicerca, IRicercaComponibile
Constructor and Description |
---|
RicercaBase() |
Modifier and Type | Method and Description |
---|---|
void |
addRicerca(int id,
LayerTerritorio layerTer) |
ArrayList<OggettoTerritorio> |
cerca(Object... args)
Implementa la ricerca effettiva
|
List<RicercaCampo> |
getCampiRicerca()
Permette di recuperare l'elenco dei campi sui quali viene effettuata la ricerca
|
List<RicercaCampo> |
getCampiRicercaTot()
Restituisce la definizione equivalente di questa ricerca
|
Filtro |
getGeomFilter(String geomWKT)
Recupera un filtro corrispondente all'intersezione con la geometria passata come argomento.
|
protected LayerTerritorio |
getLayerTer() |
it.prato.comune.utilita.logging.interfaces.LogInterface |
getLogger() |
String |
getNomeRicerca() |
List<IRicercaComponibile> |
getRicerche() |
JSGeometryArrayList<? extends JSGeometry> |
ricercaSuggest2(int nCampo,
boolean withGeometry,
Object... valori)
Implementa l'autosuggest sui campi della ricerca abilitati
|
void |
setCampiRicerca(List<RicercaCampo> campiRicerca)
Permette di definire l'insieme dei capi utilizzati per dare la ricerca
|
void |
setGeomFilterAvailable(Boolean pGeomFilterAvailable)
Permette di impostare se la ricerca consente di impostare il filtro geometrico.
|
void |
setLayerTer(LayerTerritorio layerTer)
Permette di settare layerTerr
|
void |
setLogger(it.prato.comune.utilita.logging.interfaces.LogInterface logger)
Permette di settare il logger
|
void |
setNomeRicerca(String nomeRicerca)
Definisce il nome della ricerca, che verrĂ mostrato nell'apposita lista di scelta di Tolomeo
|
void |
setRicerche(List<IRicercaComponibile> ricerche) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFiltro
public void addRicerca(int id, LayerTerritorio layerTer) throws SITException
addRicerca
in interface IRicerca
SITException
#addRicerca(int, LayerTerritorio)}
public final Filtro getGeomFilter(String geomWKT) throws SITException, IOException
geomWKT
- Geometria di filtroSITException
- eccezione rilanciata in caso di erroreIOException
- eccezione rilanciata in caso di errore IOpublic ArrayList<OggettoTerritorio> cerca(Object... args) throws SITException
IRicerca
cerca
in interface IRicerca
SITException
protected LayerTerritorio getLayerTer()
public String getNomeRicerca()
public void setNomeRicerca(String nomeRicerca)
IRicerca
setNomeRicerca
in interface IRicerca
nomeRicerca
- the nomeRicerca to setpublic List<RicercaCampo> getCampiRicerca()
IRicerca
getCampiRicerca
in interface IRicerca
public void setCampiRicerca(List<RicercaCampo> campiRicerca)
IRicerca
setCampiRicerca
in interface IRicerca
campiRicerca
- the campiRicerca to setpublic JSGeometryArrayList<? extends JSGeometry> ricercaSuggest2(int nCampo, boolean withGeometry, Object... valori) throws SITException
IRicerca
ricercaSuggest2
in interface IRicerca
SITException
public it.prato.comune.utilita.logging.interfaces.LogInterface getLogger()
public void setLogger(it.prato.comune.utilita.logging.interfaces.LogInterface logger)
IRicerca
public List<IRicercaComponibile> getRicerche()
public void setRicerche(List<IRicercaComponibile> ricerche)
ricerche
- the ricerche to setpublic List<RicercaCampo> getCampiRicercaTot()
IRicercaComponibile
getCampiRicercaTot
in interface IRicercaComponibile
public void setLayerTer(LayerTerritorio layerTer)
IRicerca
setLayerTer
in interface IRicerca
layerTer
- the layerTer to setpublic final void setGeomFilterAvailable(Boolean pGeomFilterAvailable)
setGeomFilterAvailable
in interface IRicerca
geomFilterAvailable
- true se la ricerca consente di impostare il filtro geometrico.Copyright © 2017 Comune di Prato. All rights reserved.