|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.client.tables.logs.BeanLogger
public final class BeanLogger
Provides utility classes for logging changes to any of the JBean classes in TMAJ. The logs are stored in the database in two specially designated tables: DataUpdates and DataDeletes.
Method Summary | |
---|---|
static void |
logDelete(JBean bean)
Logs the deletion of the JBean. |
static void |
logUpdate(JBean bean,
GeneralTableModel tableModel,
ChangedCells changedCells,
int rowNumber)
Logs changes to a JBean--All fields changed are recorded. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void logDelete(JBean bean)
public static void logUpdate(JBean bean, GeneralTableModel tableModel, ChangedCells changedCells, int rowNumber)
bean
- The JBean that was updated by the user.tableModel
- the tableModel the JBean was displayed inchangedCells
- the data structure showing which cells of the table were changed.rowNumber
- the row of the JBean in the table
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |