Package loggerForms
Class FormsLogging
java.lang.Object
generalDatabase.SQLLogging
loggerForms.FormsLogging
-
Field Summary
Fields inherited from class generalDatabase.SQLLogging
UPDATE_POLICY_OVERWRITE, UPDATE_POLICY_WRITENEW
-
Method Summary
Modifier and TypeMethodDescriptiongetViewerLoadClause
(SQLTypes sqlTypes, PamViewParameters pvp) Get a standard select clause for loading viewer data, this is basically that UTC is between two times.boolean
loadViewData
(PamConnection con, PamViewParameters pamViewParameters, ViewLoadObserver loadObserver) Load viewer data for a single datablock.void
setTableData
(SQLTypes sqlTypes, PamDataUnit pamDataUnit) Callback function when new data are created that allows the user to set the data for each column.Methods inherited from class generalDatabase.SQLLogging
addAddOn, clearAllAddOns, countTableItems, countTableItems, createInClause, deleteData, deleteData, deleteData, deleteIndexedItems, doExtraChecks, double2Float, findClosestDataPoint, findLogger, getBaseTableDefinition, getEarlyLoadClause, getIdListUpdatClause, getLastLoadIndex, getLastLoadUID, getLastTime, getLoggingAddOns, getPamDataBlock, getTableDefinition, getTimesUpdateClause, getUIDMatchClause, getUpdatePolicy, getViewerCursorFinder, getViewerEverythingClause, getViewerLessThanClause, getViewerOverlapClause, getViewerUpdateClause, isCanView, isLoadViewData, loadDataFrom, loadEarlyData, loadEarlyData, loadLastDataUnit, loadSubtableData, loadSubtableData, loadViewData, loadViewerData, logData, logData, prepareEmulation, prepareForMixedMode, readLastData, readMixedModeData, readNextEmulation, reCheckTable, reLogData, reLogData, removeAddOn, removeAddOn, reset, saveOfflineData, setCanView, setColumnData, setLoadViewData, setTableDefinition, setUpdatePolicy, transferDataFromResult
-
Method Details
-
getViewerLoadClause
Description copied from class:SQLLogging
Get a standard select clause for loading viewer data, this is basically that UTC is between two times.- Overrides:
getViewerLoadClause
in classSQLLogging
- Parameters:
sqlTypes
- SQL types - database specific functionspvp
- load parameters.- Returns:
- Clause, in the form WHERE UTC BETWEEN A and B ORDER BY UTC
-
setTableData
Description copied from class:SQLLogging
Callback function when new data are created that allows the user to set the data for each column. Columns that have data which can be filled automatically (counters, primary keys and columns cross referenced to data in other tables) are filled automatically in fillTableData()- Specified by:
setTableData
in classSQLLogging
-
loadViewData
public boolean loadViewData(PamConnection con, PamViewParameters pamViewParameters, ViewLoadObserver loadObserver) Description copied from class:SQLLogging
Load viewer data for a single datablock.this executes in a Swing Worker thread, so needs to send notification objects to that thread, and not direct to the Controller so that they can be published back in the AWT thread.
- Overrides:
loadViewData
in classSQLLogging
- Parameters:
con
- database connectionpamViewParameters
- viewer parameters.- Returns:
-