|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurationService
Abstract services definition for Configuration Service. This is using the semantics of RMI (such as Remote or RemoteException) but can be used in other contexts.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
DescriptionResult registerSubsystemDescription(SubsystemDescription newDescription)
throws RemoteException
newDescription - do not use this object any more after the call
RemoteException
DescriptionResult deprecateSubsystemDescription(String subsystemName,
String tag)
throws RemoteException
subsystemName - tag -
RemoteException
SubsystemDescription getActiveSubsystemDescription(String name,
String tag)
throws RemoteException
name - tag -
RemoteException
ProfileResult registerConfigProfile(ConfigProfile newProfile)
throws RemoteException
newProfile - do not use this object any more after the call
RemoteException
ProfileResult registerConfiguration(String subsystemName,
String configurationName,
String tag,
String user,
int level,
Properties props)
throws RemoteException
subsystemName - configurationName - tag - user - level - props -
RemoteException
ProfileResult deprecateConfigProfile(String name,
String tag)
throws RemoteException
name - configuration nametag -
RemoteException
ConfigProfile getActiveConfigProfile(String name,
String tag)
throws RemoteException
name - tag -
RemoteException
ParameterConfiguration 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)
RemoteException
ConfigProfile getConfigValidAt(String configName,
String configTag,
long date)
throws RemoteException
NOTE: this method will not work on "dummy local services"
configName - configTag - date -
RemoteException
String 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 -
RemoteException
ConfigProfile getConfigRunningAt(String subsystemName,
long date)
throws RemoteException
NOTE: this method will not work on "dummy local services"
subsystemName - date -
RemoteException
String getActiveValueAt(String subsystemName,
String parameterPath,
long date)
throws RemoteException
NOTE: this method will not work on "dummy local services"
subsystemName - parameterPath - date -
RemoteException
ConfigProfile getPrevious(ConfigProfile current)
throws RemoteException
current -
RemoteException
ConfigProfile getNext(ConfigProfile current)
throws RemoteException
current -
RemoteException
SubsystemDescription getPrevious(SubsystemDescription current)
throws RemoteException
current -
RemoteException
void createPreparedConfiguration(String subsystemName,
String configName,
String tag,
String user)
throws RemoteException
subsystemName - configName - tag - user -
RemoteException
void registerMachineConfiguration(MachineConfiguration machineConfiguration)
throws RemoteException
machineConfiguration -
RemoteException
MachineConfiguration getMachineConfiguration(String macAddress)
throws RemoteException
macAddress -
RemoteException
List<?> simpleHQLRequest(String hqlSelectString)
throws RemoteException
NOTE: this method will not work on "dummy local services"
hqlSelectString -
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||