|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ikokoon.serenity.persistence.DataBaseToolkit
public class DataBaseToolkit
Just some useful methods to dump the database and clean it.
| Nested Class Summary | |
|---|---|
static interface |
DataBaseToolkit.ICriteria
|
| Constructor Summary | |
|---|---|
DataBaseToolkit()
|
|
| Method Summary | |
|---|---|
static void |
clear(IDataBase dataBase)
Clears the data in the database. |
static void |
dump(IDataBase dataBase,
DataBaseToolkit.ICriteria criteria,
java.lang.String message)
Dumps the database to the output stream. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataBaseToolkit()
| Method Detail |
|---|
public static void clear(IDataBase dataBase)
dataBase - the database to truncate
public static void dump(IDataBase dataBase,
DataBaseToolkit.ICriteria criteria,
java.lang.String message)
dataBase - the database to dumpcriteria - the criteria to match if the data for the composite must be written to the outputpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||