public class ProxyAknService extends Object implements AknHandler, ConfigurationFactory
Modifier and Type | Field and Description |
---|---|
static String |
FACTORY_ID |
Constructor and Description |
---|
ProxyAknService(org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
acknowledge(String monitorId,
OperationParameters operationParameters,
Date aknTimestamp)
Perform acknowledge of monitor
|
void |
delete(UserInformation userInformation,
String configurationId)
receive configuration delete request
|
void |
update(UserInformation userInformation,
String configurationId,
Map<String,String> parameters)
receive configuration update
|
public static final String FACTORY_ID
public void update(UserInformation userInformation, String configurationId, Map<String,String> parameters) throws Exception
ConfigurationFactory
update
in interface ConfigurationFactory
userInformation
- the principal that performed the change, may be null
configurationId
- the configuration object to changeparameters
- the new propertiesException
- can be thrown if anything goes wrong changing the configurationpublic void delete(UserInformation userInformation, String configurationId) throws Exception
ConfigurationFactory
delete
in interface ConfigurationFactory
userInformation
- the principal that performed the change, may be null
configurationId
- the configuration object to changeException
- can be thrown if anything goes wrong changing the configurationpublic boolean acknowledge(String monitorId, OperationParameters operationParameters, Date aknTimestamp)
AknHandler
acknowledge
in interface AknHandler
monitorId
- the monitor to acknowledgeoperationParameters
- the effective operation parametersaknTimestamp
- the timestamp until which the state is acknowledgedtrue
if the monitor was found and processed,
false
otherwiseCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.