public class HistoricalDatabaseServer extends DatabaseConnection implements java.lang.Runnable
SimpleDataSource.NameEditorDataDataSource.Writable| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
cvsRev
The CVS Revision String.
|
alwaysCloseConnection, debugLevel, HSQLDB, logDateFormat, MYSQL, ORACLE, OTHER, POSTGRES, SQLITEUPDATE_DISPLAYED_VALUE, VALUE_INPUTcustomTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebaseautoSuspend, AUTOSUSPEND_DEFAULT, AUTOSUSPEND_NEVER, AUTOSUSPEND_NO_LISTENERS, AUTOSUSPEND_NO_LISTENERS_AND_NO_SOURCES, colorHi, colorHiHi, colorLo, colorLoLo, colorNormal, connectors, consoleLogger, currentColor, currentValue, DEFAULT_AUTOSUSPEND, dontConnect, gwtLog, hardSuspended, popupLogger, PRIMARYOUTPORTNAME, sendColors, stopped, suspended, timedPopupLogger, traceLogger, valueHi, valueHiHi, valueLo, valueLoLo| Constructor and Description |
|---|
HistoricalDatabaseServer() |
| Modifier and Type | Method and Description |
|---|---|
ValueObjectInterface |
authenticatedClientRequest(java.lang.String name,
int requestId,
ValueObjectInterface value)
Test only....
|
ValueObjectInterface |
create(java.util.Date startDate,
java.util.Date endDate)
This is called whenever the ValueChangedEvent is triggered.
|
java.lang.String |
getColumnNames()
Returns the comma delimited list of column names
|
java.lang.String |
getDateColumnName()
Returns the applicationName of the table.
|
java.lang.String |
getDefaultLookback()
gets the default lookback period (data period to fetch from the database)
|
int |
getStaticLocationFor(java.lang.String loc)
This is used by the StaticMethodEvent to determine which valueChanged method to call.
|
void |
run()
This is where we will process the requests.
|
void |
setColumnNames(java.lang.String columnNames)
A comma delimited list of the column names to read.
|
void |
setDateColumnName(java.lang.String dateColumnName)
Sets the applicationName of the table.
|
void |
setDefaultLookback(java.lang.String newValue)
Set the default lookback period.
|
void |
trigger(ValueChangedEvent newEvent)
This method will be called when the default input data source(s) change value
|
void |
update(java.util.Date startDate,
java.util.Date endDate)
The type of each column.
|
void |
valueChanged(int loc,
ValueChangedEvent e)
This allows the for a staticmethodevent to occur.
|
connectionClosed, eventInfo, getConnectionName, getConsoleReport, getDataBaseType, getTableName, isCreateIndex, isCreateTable, isMillisPrecision, isSynchronizeConnection, logInfo, messageString, setConnectionName, setConsoleReport, setCreateIndex, setCreateTable, setMillisPrecision, setSimulationFlag, setSynchronizeConnection, setTableName, simulationStateChanged, start, stop, tableExists, toStringgetDefaultQualityForLocationgetInPortNames, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, valueInputaddConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, clientRequest, clientResponse, destroy, determineSuspendedStatus, getClassLicenseManager, getContainer, getCustomTimer, getDataSource, getDataSources, getDisplayName, getExportCriteria, getExposeComponentConnections, getName, getOutPortNames, getPullFromServers, getPushData, getPushName, getPushToServers, getServerListData, getTimebase, getTrace, isActive, isScreenLocal, refreshCurrentValue, removeConnector, removeDataSource, removePropertyChangeListener, removeValueChangedListener, removeVetoableChangeListener, requestSyncWrite, setAutoSuspend, setClassLicenseManager, setContainer, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setName, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTimebase, setTrace, setValueObject, tick, VIBEventaddVIBEventListener, checkScript, executeInScriptInternal, executeScript, executeScriptInternal, executeScriptInternal, getAutoSuspend, getBooleanValue, getBoolValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getColorNormal, getConnectors, getConsoleLogger, getCurrentColor, getDataSourceName, getDoubleValue, getFloatValue, getGWTLogger, getIncomingValueObject, getInScript, getIntValue, getLongValue, getParent, getPopupLogger, getScript, getScriptEngine, getSendColors, getSources, getStringValue, getSyncWriteTimeout, getTimedPopupLogger, getTraceLogger, getValueHi, getValueHiHi, getValueLo, getValueLoLo, getValueObject, init, isHardSuspended, isRunning, isSendOnlyChangedValuesDefault, isSuspended, logException, logGWT, logGWT, logMessage, logTrace, n2sortConnectors, performScriptSubstitutions, popupMessage, post, removeConnector, removeVIBEventListener, replaceConnectors, scriptExtensionSubstition, setColorHi, setColorHiHi, setColorLo, setColorLoLo, setColorNormal, setConsoleLogger, setGWTLogger, setHardSuspended, setInScript, setParent, setPopupLogger, setScript, setSendColors, setSendOnlyChangedValuesDefault, setSyncWriteTimeout, setTimedPopupLogger, setTraceLogger, setValueHi, setValueHiHi, setValueLo, setValueLoLo, updateColor, updateListeners, updateListeners, updateListeners, whoAmIpublic static final java.lang.String cvsRev
public ValueObjectInterface authenticatedClientRequest(java.lang.String name, int requestId, ValueObjectInterface value) throws VIBUpdateFailedException
authenticatedClientRequest in class SimpleDataSourceVIBUpdateFailedExceptionpublic ValueObjectInterface create(java.util.Date startDate, java.util.Date endDate)
public java.lang.String getColumnNames()
public java.lang.String getDateColumnName()
getDateColumnName in class DatabaseConnectionpublic java.lang.String getDefaultLookback()
setDefaultLookback(java.lang.String)public int getStaticLocationFor(java.lang.String loc)
throws BadParameterException
getStaticLocationFor in class ManipulatorBadParameterExceptionpublic void run()
run in interface java.lang.Runnablepublic void setColumnNames(java.lang.String columnNames)
public void setDateColumnName(java.lang.String dateColumnName)
setDateColumnName in class DatabaseConnectiondateColumnName - The dateColumnName to set.public void setDefaultLookback(java.lang.String newValue)
newValue - the lookback time as a Stringpublic void trigger(ValueChangedEvent newEvent) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void update(java.util.Date startDate,
java.util.Date endDate)
throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void valueChanged(int loc,
ValueChangedEvent e)
throws VIBUpdateFailedException,
BadParameterException
valueChanged in class ManipulatorBadParameterExceptionVIBUpdateFailedExceptionCopyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.