Package loggerForms
Class FormsLogging
java.lang.Object
generalDatabase.SQLLogging
loggerForms.FormsLogging
-
Field Summary
Fields inherited from class generalDatabase.SQLLogging
superDetLogging, UPDATE_POLICY_OVERWRITE, UPDATE_POLICY_WRITENEW
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FormsLogging
(FormDescription formDescription, PamDataBlock pamDataBlock) -
Method Summary
Modifier and TypeMethodDescriptionprotected PamDataUnit
createDataUnit
(SQLTypes sqlTypes, long timeMilliseconds, int databaseIndex) Turn the data, which have been transferred back into the PamTableItems back into a usable data.getViewerLoadClause
(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, createEarlyResultSet, createInClause, createViewResultSet, createViewResultSet, deleteData, deleteData, deleteData, deleteIndexedItems, deleteSubtableItem, deleteSubtableItems, doExtraChecks, double2Float, fillTableData, finalize, findClosestDataPoint, findLogger, getBaseTableDefinition, getEarlyLoadClause, getIdListUpdatClause, getLastLoadIndex, getLastLoadUID, getLastTime, getLoggingAddOns, getPamDataBlock, getTableDefinition, getTimesUpdateClause, getUIDMatchClause, getUpdatePolicy, getViewerCursorFinder, getViewerEverythingClause, getViewerLessThanClause, getViewerOverlapClause, getViewerUpdateClause, insertCursorRow, isCanView, isLoadViewData, loadDataFrom, loadEarlyData, loadEarlyData, loadLastDataUnit, loadSubtableData, loadSubtableData, loadViewData, loadViewerData, logData, logData, logSubtableData, prepareEmulation, prepareForMixedMode, readLastData, readMixedModeData, readNextEmulation, reCheckTable, reLogData, reLogData, removeAddOn, removeAddOn, reset, saveOfflineData, setCanView, setColumnData, setLoadViewData, setTableDefinition, setUpdatePolicy, transferDataFromResult, updateCursorRow, updateSubtable
-
Constructor Details
-
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
- Parameters:
pamDataUnit
-
-
createDataUnit
Description copied from class:SQLLogging
Turn the data, which have been transferred back into the PamTableItems back into a usable data. Don't add to datablock. This will happen in calling function after additional add-ons and annotations have been added to the data unit. .- Overrides:
createDataUnit
in classSQLLogging
- Returns:
- true if a data unit was successfully created
-
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.loadObserver
-- Returns:
-