|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDataHandler
Interface to manage data in SEND/RECEIVE actions.
| Method Summary | |
|---|---|
int |
deleteAllData(com.tekann.codegen.pda.db.IDAO[] daos)
Clean table data. |
int |
deleteLoadedData(com.tekann.codegen.pda.db.IDAO[] daos,
int rowStatus)
Update data before RECEIVE action. |
totalcross.util.Vector |
loadData(com.tekann.codegen.pda.db.IDAO[] daos)
Load data in tables. |
int |
saveData(totalcross.io.Stream scriptStream,
java.lang.String creatorID)
Save data from SQL script. |
int |
saveXMLData(totalcross.io.Stream xmlStream,
java.lang.String creatorID)
Save data from DTOs XML. |
int |
updateLoadedData(com.tekann.codegen.pda.db.IDAO[] daos,
int rowStatus)
Update data after load. |
int |
updateLoadedData(totalcross.util.Vector dtos,
int rowStatus)
Update dtos with row status given. |
| Method Detail |
|---|
totalcross.util.Vector loadData(com.tekann.codegen.pda.db.IDAO[] daos)
throws java.lang.Exception
daos - Tables to load.
java.lang.Exception
int saveData(totalcross.io.Stream scriptStream,
java.lang.String creatorID)
throws java.lang.Exception
scriptStream - SQL script.creatorID - ID to Litebase connection.
java.lang.Exception
int saveXMLData(totalcross.io.Stream xmlStream,
java.lang.String creatorID)
throws java.lang.Exception
xmlStream - The XML file.creatorID - ID to Litebase connection.
java.lang.Exception
int updateLoadedData(totalcross.util.Vector dtos,
int rowStatus)
throws java.lang.Exception
dtos - to updaterowStatus - to set in dtos at attr column
java.lang.Exception
int updateLoadedData(com.tekann.codegen.pda.db.IDAO[] daos,
int rowStatus)
throws java.lang.Exception
daos - Tables to update data.rowStatus - Status to update 'attr' column.
java.lang.Exception
int deleteLoadedData(com.tekann.codegen.pda.db.IDAO[] daos,
int rowStatus)
throws java.lang.Exception
daos - rowStatus - Row status to delete.
java.lang.Exception
int deleteAllData(com.tekann.codegen.pda.db.IDAO[] daos)
throws java.lang.Exception
daos - Tables to clean.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||