public interface ConfigurationService extends Remote
| Modifier and Type | Method and Description |
|---|---|
void |
createPreparedConfiguration(String subsystemName,
String configName,
String tag,
String user)
generates in the database a special entry with a merge of description and configuration
|
ProfileResult |
deprecateConfigProfile(String name,
String tag)
Deprecates a valid Configuration Profile.
|
DescriptionResult |
deprecateSubsystemDescription(String subsystemName,
String tag)
Deprecates a registered subsystem.
|
ConfigProfile |
getActiveConfigProfile(String name,
String tag)
gets an active ConfigProfile with anme and tag
|
SubsystemDescription |
getActiveSubsystemDescription(String name,
String tag)
fetch the active Description with name and tag
|
String |
getActiveValueAt(String subsystemName,
String parameterPath,
long date)
gets the value of a parameter for a subsystem which was active at a moment in time.
|
ConfigProfile |
getConfigRunningAt(String subsystemName,
long date)
Returns the Configuration which was running for a given subsystem at a moment in time
|
ConfigProfile |
getConfigValidAt(String configName,
String configTag,
long date)
Gets a ConfigProfile which was (or is) valid at a precise moment.
|
MachineConfiguration |
getMachineConfiguration(String macAddress)
get the machine configuration for a specific machine
|
ConfigProfile |
getNext(ConfigProfile current)
Gets a (deprecated or "alive") ConfigProfile with same name and tag
as the argument
|
ConfigProfile |
getPrevious(ConfigProfile current)
gets a (deprecated) ConfigProfile with same name and tag
as the argument.
|
SubsystemDescription |
getPrevious(SubsystemDescription current)
Gets the (deprecated) SubsystemDescription with same characteritics as the argument
|
String |
getValueValidAt(String configName,
String configTag,
String parameterPath,
long date)
Gets the value of a Parameter which was valid at a moment in time.
|
ParameterConfiguration |
modifyParmConf(ParameterConfiguration engineeringModeParm)
Registers a modification to a ParameterConfiguration operated
through ConfigProfile.temporaryChangeConfigurationValue
|
ProfileResult |
registerConfigProfile(ConfigProfile newProfile)
Registers a new ConfigProfile in the configuration service.
|
ProfileResult |
registerConfiguration(String subsystemName,
String configurationName,
String tag,
String user,
int level,
Properties props)
typical remote service: a local properties structure is base for creating a new
ConfigProfile
|
void |
registerMachineConfiguration(MachineConfiguration machineConfiguration)
registers in the database a machineConfiguration entry
|
DescriptionResult |
registerSubsystemDescription(SubsystemDescription newDescription)
Registers in the configuration service a new subsystem description (created through
Factories code.
|
List<?> |
simpleHQLRequest(String hqlSelectString)
can send a simple HQL request to the underlying Database.
|
DescriptionResult registerSubsystemDescription(SubsystemDescription newDescription) throws RemoteException
newDescription - do not use this object any more after the callRemoteExceptionDescriptionResult deprecateSubsystemDescription(String subsystemName, String tag) throws RemoteException
subsystemName - tag - RemoteExceptionSubsystemDescription getActiveSubsystemDescription(String name, String tag) throws RemoteException
name - tag - RemoteExceptionProfileResult registerConfigProfile(ConfigProfile newProfile) throws RemoteException
newProfile - do not use this object any more after the callRemoteExceptionProfileResult registerConfiguration(String subsystemName, String configurationName, String tag, String user, int level, Properties props) throws RemoteException
subsystemName - configurationName - tag - user - level - props - RemoteExceptionProfileResult deprecateConfigProfile(String name, String tag) throws RemoteException
name - configuration nametag - RemoteExceptionConfigProfile getActiveConfigProfile(String name, String tag) throws RemoteException
name - tag - RemoteExceptionParameterConfiguration modifyParmConf(ParameterConfiguration engineeringModeParm) throws RemoteException
engineeringModeParm - a ParameterConfiguration object which is registered in a registered
ConfigProfile object in engineering mode (see Factories.copyProfile
and register the resulting profile before calling this method)RemoteExceptionConfigProfile getConfigValidAt(String configName, String configTag, long date) throws RemoteException
NOTE: this method will not work on "dummy local services"
configName - configTag - date - RemoteExceptionString getValueValidAt(String configName, String configTag, String parameterPath, long date) throws RemoteException
NOTE: this method will not work on "dummy local services"
there is no need for a susbsystem name since at a moment in time there is only one subsystem known to a combintaiton of config name and tag.
configName - configTag - parameterPath - date - RemoteExceptionConfigProfile getConfigRunningAt(String subsystemName, long date) throws RemoteException
NOTE: this method will not work on "dummy local services"
subsystemName - date - RemoteExceptionString getActiveValueAt(String subsystemName, String parameterPath, long date) throws RemoteException
NOTE: this method will not work on "dummy local services"
subsystemName - parameterPath - date - RemoteExceptionConfigProfile getPrevious(ConfigProfile current) throws RemoteException
current - RemoteExceptionConfigProfile getNext(ConfigProfile current) throws RemoteException
current - RemoteExceptionSubsystemDescription getPrevious(SubsystemDescription current) throws RemoteException
current - RemoteExceptionvoid createPreparedConfiguration(String subsystemName, String configName, String tag, String user) throws RemoteException
subsystemName - configName - tag - user - RemoteExceptionvoid registerMachineConfiguration(MachineConfiguration machineConfiguration) throws RemoteException
machineConfiguration - RemoteExceptionMachineConfiguration getMachineConfiguration(String macAddress) throws RemoteException
macAddress - RemoteExceptionList<?> simpleHQLRequest(String hqlSelectString) throws RemoteException
NOTE: this method will not work on "dummy local services"
hqlSelectString - RemoteExceptionCopyright © 2014 LSST. All rights reserved.