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 TUabstract voidbooleancollezione(int numChiavi) gestisciErrori(Throwable t, Richiesta smartdata, javax.servlet.http.HttpServletResponse risposta) abstract TUabstract TUMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.ovunque.rest.operazioni.Operazione
getClasseJson
-
Constructor Details
-
OperazioneAstratta
-
-
Method Details
-
prendi
- Specified by:
prendiin interfaceOperazione<TU,TI> - Throws:
ErroreRestOvunque
-
ricerca
public abstract List<TU> ricerca(int[] chiavi, Map<String, Object> mappaParametri) throws ErroreRestOvunque- Specified by:
ricercain interfaceOperazione<TU,TI> - Throws:
ErroreRestOvunque
-
aggiungi
public abstract TU aggiungi(int[] chiavi, Map<String, Object> mappaParametri, TI oggetto) throws ErroreRestOvunque- Specified by:
aggiungiin interfaceOperazione<TU,TI> - Throws:
ErroreRestOvunque
-
imposta
public abstract TU imposta(int[] chiavi, Map<String, Object> mappaParametri, TI oggetto) throws ErroreRestOvunque- Specified by:
impostain interfaceOperazione<TU,TI> - Throws:
ErroreRestOvunque
-
cancella
public abstract void cancella(int[] chiavi, Map<String, Object> mappaParametri) throws ErroreRestOvunque- Specified by:
cancellain interfaceOperazione<TU,TI> - Throws:
ErroreRestOvunque
-
aggiungi
public List<TU> aggiungi(int[] chiavi, Map<String, Object> mappaParametri, List<TI> lista) throws ErroreRestOvunque- Specified by:
aggiungiin interfaceOperazione<TU,TI> - Throws:
ErroreRestOvunque
-
imposta
public List<TU> imposta(int[] chiavi, Map<String, Object> mappaParametri, List<TI> lista) throws ErroreRestOvunque- Specified by:
impostain interfaceOperazione<TU,TI> - Throws:
ErroreRestOvunque
-
collezione
public boolean collezione(int numChiavi) - Specified by:
collezionein interfaceOperazione<TU,TI>
-
gestisciErrori
public E gestisciErrori(Throwable t, Richiesta smartdata, javax.servlet.http.HttpServletResponse risposta) - Specified by:
gestisciErroriin interfaceOperazione<TU,TI>
-