org.oropuro.circe.db
Class DbNNet
java.lang.Object
org.oropuro.circe.db.DbNNet
- All Implemented Interfaces:
- DbPersister
public class DbNNet
- extends java.lang.Object
- implements DbPersister
|
Method Summary |
void |
DbCloseRs()
|
java.lang.Object |
DbGet(int i)
Funzione di inserimento di un nuovo record |
java.lang.Object |
DbGet(int i,
java.util.Date date)
funzione di singleton selection di un record. |
java.lang.Object |
DbGet(java.lang.Object o)
funzione di singleton selection di un record. |
java.lang.Object |
DbNext()
|
int |
DbPut()
|
int |
DbRemove()
|
int |
DbRemove(int i)
|
int |
DbRemove(int i,
java.util.Date date)
|
int |
DbSelect(java.lang.String query,
java.util.Vector params)
|
int |
DbUpd()
|
int |
getId()
|
java.sql.Blob |
getNn()
|
void |
setId(int id)
|
void |
setNn(java.sql.Blob nn)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbNNet
public DbNNet()
DbUpd
public int DbUpd()
DbGet
public java.lang.Object DbGet(java.lang.Object o)
- Description copied from interface:
DbPersister
- funzione di singleton selection di un record.
la funzione crea un nuovo oggetto in base a quello passato in input e lo ritorna.
- Specified by:
DbGet in interface DbPersister
- Parameters:
o - il record da ricercare
- Returns:
- il record trovato o null se non ha trovato
DbGet
public java.lang.Object DbGet(int i,
java.util.Date date)
- Description copied from interface:
DbPersister
- funzione di singleton selection di un record.
la selezione è fatta in base all ID del record
la funzione crea un nuovo oggetto GENERICO e lo ritorna.
- Specified by:
DbGet in interface DbPersister
- Parameters:
i - l'ID del record da ricercare
- Returns:
- il nuovo oggetto contenente il record trovato
DbGet
public java.lang.Object DbGet(int i)
- Description copied from interface:
DbPersister
- Funzione di inserimento di un nuovo record
- Specified by:
DbGet in interface DbPersister
- Returns:
DbPut
public int DbPut()
- Specified by:
DbPut in interface DbPersister
DbSelect
public int DbSelect(java.lang.String query,
java.util.Vector params)
- Specified by:
DbSelect in interface DbPersister
- Returns:
DbNext
public java.lang.Object DbNext()
- Specified by:
DbNext in interface DbPersister
DbRemove
public int DbRemove()
- Specified by:
DbRemove in interface DbPersister
DbRemove
public int DbRemove(int i,
java.util.Date date)
- Specified by:
DbRemove in interface DbPersister
DbRemove
public int DbRemove(int i)
- Specified by:
DbRemove in interface DbPersister
DbCloseRs
public void DbCloseRs()
- Specified by:
DbCloseRs in interface DbPersister
getNn
public java.sql.Blob getNn()
setNn
public void setNn(java.sql.Blob nn)
getId
public int getId()
setId
public void setId(int id)