Package it.ovunque.rest.operazioni
Class OperazioneAstratta<TU,TI,E extends OggettoErrore>
java.lang.Object
it.ovunque.rest.operazioni.OperazioneAstratta<TU,TI,E>
- All Implemented Interfaces:
Operazione<TU,
TI>
- Direct Known Subclasses:
OperazioneAutenticata
public abstract class OperazioneAstratta<TU,TI,E extends OggettoErrore>
extends Object
implements Operazione<TU,TI>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TU
abstract void
boolean
collezione
(int numChiavi) gestisciErrori
(Throwable t, Richiesta smartdata, javax.servlet.http.HttpServletResponse risposta) abstract TU
abstract TU
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface it.ovunque.rest.operazioni.Operazione
getClasseJson
-
Constructor Details
-
OperazioneAstratta
-
-
Method Details
-
prendi
- Specified by:
prendi
in interfaceOperazione<TU,
TI> - Throws:
ErroreRestOvunque
-
ricerca
public abstract List<TU> ricerca(int[] chiavi, Map<String, Object> mappaParametri) throws ErroreRestOvunque- Specified by:
ricerca
in interfaceOperazione<TU,
TI> - Throws:
ErroreRestOvunque
-
aggiungi
public abstract TU aggiungi(int[] chiavi, Map<String, Object> mappaParametri, TI oggetto) throws ErroreRestOvunque- Specified by:
aggiungi
in interfaceOperazione<TU,
TI> - Throws:
ErroreRestOvunque
-
imposta
public abstract TU imposta(int[] chiavi, Map<String, Object> mappaParametri, TI oggetto) throws ErroreRestOvunque- Specified by:
imposta
in interfaceOperazione<TU,
TI> - Throws:
ErroreRestOvunque
-
cancella
public abstract void cancella(int[] chiavi, Map<String, Object> mappaParametri) throws ErroreRestOvunque- Specified by:
cancella
in interfaceOperazione<TU,
TI> - Throws:
ErroreRestOvunque
-
aggiungi
public List<TU> aggiungi(int[] chiavi, Map<String, Object> mappaParametri, List<TI> lista) throws ErroreRestOvunque- Specified by:
aggiungi
in interfaceOperazione<TU,
TI> - Throws:
ErroreRestOvunque
-
imposta
public List<TU> imposta(int[] chiavi, Map<String, Object> mappaParametri, List<TI> lista) throws ErroreRestOvunque- Specified by:
imposta
in interfaceOperazione<TU,
TI> - Throws:
ErroreRestOvunque
-
collezione
public boolean collezione(int numChiavi) - Specified by:
collezione
in interfaceOperazione<TU,
TI>
-
gestisciErrori
public E gestisciErrori(Throwable t, Richiesta smartdata, javax.servlet.http.HttpServletResponse risposta) - Specified by:
gestisciErrori
in interfaceOperazione<TU,
TI>
-