fwConfigurationDB_Deprecated.ctl File Reference

Functions

void _fwConfigurationDB_deprecated (string functionName, string comment="")
void fwConfigurationDB_GetRecipesInDB (string hierarchyType, dyn_string &recipeTags, dyn_string &exceptionInfo)
void fwConfigurationDB_GetDBRecipesForNode (string nodeName, dyn_string &recipeNames, dyn_string &exceptionInfo)
void fwConfigurationDB_GetDBRecipeMetaInfo (string tag, string &recipeComment, int &numDevices, int &numValues, int &numAlerts, dyn_string &exceptionInfo)
void fwConfigurationDB_GetRecipeVersionsInDB (dyn_int &versions, dyn_string &descriptions, dyn_string &userCreated, dyn_string &dateCreated, dyn_int &nDevices, dyn_string &exceptionInfo)
void fwConfigurationDB_GetRecipeCaches (string hierarchyType, dyn_string &recipeCacheNames, dyn_string &recipeCacheDPs, dyn_string &exceptionInfo, string system="")
void fwConfigurationDB_GetCacheRecipesForNode (string nodeName, dyn_string &recipeNames, dyn_string &exceptionInfo, string system="")
void fwConfigurationDB_storeDevicesInDB (string topDevice, string hierarchyType, dyn_string deviceDpNames, dyn_string &exceptionInfo, string systemName="")
void fwConfigurationDB_saveReferences (string configurationName, dyn_dyn_mixed deviceListObject, dyn_string &exceptionInfo)
void fwConfigurationDB_reconnectDevices (dyn_string deviceList, string configurationName, string hierarchyType, string targetSystem, dyn_string &exceptionInfo)
void fwConfigurationDB_updateDeviceHierarchyFromDB (string topDevice, string hierarchyType, dyn_string &exceptionInfo, string systemName="")
void fwConfigurationDB_findDevicesInDB (string topDevice, string hierarchyType, dyn_string deviceList, dyn_dyn_mixed &deviceListObject, dyn_string &missingDevicesList, dyn_string &exceptionInfo, string system="")
void fwConfigurationDB_extractHierarchyFromDB (string topDevice, string hierarchyType, dyn_dyn_mixed &deviceListObject, dyn_string &exceptionInfo, string system="")
void fwConfigurationDB_getDeviceConfigurationFromDB (string configurationName, string hierarchyType, dyn_dyn_mixed &deviceListObject, dyn_string &exceptionInfo, time validOn=0, dyn_string deviceList="", string sysName="")

Variables

global string _fwConfigurationDB_fileVersion_fwConfigurationDB_Deprecataed_ctl = "3.5.7"

Detailed Description

This package contains the set of functions provided for backward-compatibility or placeholders for deprecated functions

Author:
Piotr Golonka (EN/ICE-SCD)
Date:
October 2012

Function Documentation

void _fwConfigurationDB_deprecated ( string  functionName,
string  comment = "" 
)
void fwConfigurationDB_GetDBRecipeMetaInfo ( string  tag,
string &  recipeComment,
int &  numDevices,
int &  numValues,
int &  numAlerts,
dyn_string &  exceptionInfo 
)
Deprecated:
NO REPLACEMENT AVAILABLE
void fwConfigurationDB_GetRecipeVersionsInDB ( dyn_int &  versions,
dyn_string &  descriptions,
dyn_string &  userCreated,
dyn_string &  dateCreated,
dyn_int &  nDevices,
dyn_string &  exceptionInfo 
)
Deprecated:
NO REPLACEMENT AVAILABLE
void fwConfigurationDB_storeDevicesInDB ( string  topDevice,
string  hierarchyType,
dyn_string  deviceDpNames,
dyn_string &  exceptionInfo,
string  systemName = "" 
)
Deprecated:
NO REPLACEMENT AVAILABLE
void fwConfigurationDB_saveReferences ( string  configurationName,
dyn_dyn_mixed  deviceListObject,
dyn_string &  exceptionInfo 
)
Deprecated:
NO REPLACEMENT AVAILABLE
void fwConfigurationDB_reconnectDevices ( dyn_string  deviceList,
string  configurationName,
string  hierarchyType,
string  targetSystem,
dyn_string &  exceptionInfo 
)
Deprecated:
NO REPLACEMENT AVAILABLE
void fwConfigurationDB_updateDeviceHierarchyFromDB ( string  topDevice,
string  hierarchyType,
dyn_string &  exceptionInfo,
string  systemName = "" 
)

Creates missing devices in PVSS, so the structure reflects the one in the DB

note that it should work only for the local system

the systemName parameter is only meaning for logical hierarchy: it indicates which type of logical hierarchy should be loaded: the one that includes system name, or the one that does not (empty systemName). In the latter case, only the leaves that are currently mapped to devices that are present on the current system are loaded, plus all the "branch" nodes that lead to them...

use fwConfigurationDB_updateDeviceConfigurationFromDB instead

void fwConfigurationDB_findDevicesInDB ( string  topDevice,
string  hierarchyType,
dyn_string  deviceList,
dyn_dyn_mixed &  deviceListObject,
dyn_string &  missingDevicesList,
dyn_string &  exceptionInfo,
string  system = "" 
)

Finds the devices that exist and devices that do not exist, returns them as deviceListObject variables, ready for further processing.

WARNING! Empty system name here means: don't filter!

Deprecated:
void fwConfigurationDB_extractHierarchyFromDB ( string  topDevice,
string  hierarchyType,
dyn_dyn_mixed &  deviceListObject,
dyn_string &  exceptionInfo,
string  system = "" 
)
Deprecated:
NO REPLACEMENT AVAILABLE
void fwConfigurationDB_getDeviceConfigurationFromDB ( string  configurationName,
string  hierarchyType,
dyn_dyn_mixed &  deviceListObject,
dyn_string &  exceptionInfo,
time  validOn = 0,
dyn_string  deviceList = "",
string  sysName = "" 
)
Deprecated:
NO REPLACEMENT AVAILABLE

Variable Documentation


Generated on 4 Oct 2012 for Configuration Database component by  doxygen 1.6.1