|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.dispatching.service.DefaultRequestContext
it.eng.spago.paginator.smart.AbstractRowProvider
it.eng.spago.paginator.smart.impl.DBRowProvider
it.eng.spago.paginator.smart.impl.DBRowHandler
La classe DBRowHandler
estende AbstractRowHandler
ed implementa i metodi di accesso alle sorgenti di dati riconducibili al
pacchetto dbaccess del framework.
Field Summary |
Fields inherited from interface it.eng.spago.paginator.smart.IFaceRowProvider |
LAST |
Constructor Summary | |
DBRowHandler()
Costruisce un DBRowProvider . |
Method Summary | |
boolean |
deleteRow()
Cancella l'ultima riga recuperata o individuata con il comando absolute(int).
|
boolean |
insertRow()
Esegue l'inserimento di una riga nella lista. |
SourceBean |
selectRow()
Esegue l'operazione di select dei dati di dettaglio relativi all'ultima riga recuperata o individuata con il comando absolute(int).
|
boolean |
updateRow()
Esegue l'operazione di update dei dati di dettaglio relativi all'ultima riga recuperata o individuata con il comando absolute(int). |
Methods inherited from class it.eng.spago.paginator.smart.impl.DBRowProvider |
absolute, close, getNextRow, getRow, open |
Methods inherited from class it.eng.spago.paginator.smart.AbstractRowProvider |
getConfig, getCurrentRow, hasToBeReloaded, init, isOpen, reload, rows, setCurrentRow, setRows, toBeReloaded, toOpen |
Methods inherited from class it.eng.spago.dispatching.service.DefaultRequestContext |
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse, setRequestContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.eng.spago.paginator.smart.IFaceRowProvider |
absolute, close, getCurrentRow, getNextRow, getRow, open, reload, rows |
Constructor Detail |
public DBRowHandler()
DBRowProvider
. Questo costruttore è
vuoto ed ogni azione di inizializzazione è demandata al metodo
init(SourceBean config)
.
AbstractRowProvider.init(SourceBean)
Method Detail |
public boolean deleteRow()
absolute(int).
- Specified by:
deleteRow
in interface IFaceRowHandler
- Returns:
boolean
esito dell'operazione
public boolean insertRow()
insertRow
in interface IFaceRowHandler
boolean
esito dell'operazionepublic SourceBean selectRow()
absolute(int).
- Specified by:
selectRow
in interface IFaceRowHandler
- Returns:
SourceBean
che contiene i dati richiesti.
public boolean updateRow()
absolute(int). I dati
da modificare vengono recuperati come di consueto dal contesto attraverso
i parametri dello statement fornito in fase di configurazione.
- Specified by:
updateRow
in interface IFaceRowHandler
- Returns:
boolean
esito dell'operazione- See Also:
QueryExecutor.executeQuery(RequestContainer,
ResponseContainer, String, SourceBean, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |