public class ConfigurationManagementService extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURATION_DELETE_SYSTEM_EVENT_ACTION
constant for logging deleted configuration
|
static String |
CONFIGURATION_INSERT_SYSTEM_EVENT_ACTION
constant for logging new configuration
|
static String |
CONFIGURATION_UPDATE_SYSTEM_EVENT_ACTION
constant for logging updated configuration
|
| Constructor and Description |
|---|
ConfigurationManagementService(ConfigurationManagement<ConfiguredResource,Configuration> configurationManagement,
SystemEventService systemEventService,
ModuleService moduleService)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Configuration |
createConfiguration(String moduleName,
String flowName,
String flowElementName,
org.springframework.webflow.execution.RequestContext context)
Create a new configuration instance for this moduleName/flowName/flowElementName.
|
void |
deleteConfiguration(Configuration configuration)
Delete an existing Configuration instance.
|
Configuration |
findConfiguration(String moduleName,
String flowName,
String flowElementName,
org.springframework.webflow.execution.RequestContext context)
Find the configuration instance for this moduleName/flowName/flowElementName.
|
protected org.springframework.security.core.Authentication |
getAuthentication()
Utility method for getting the authentication principal of the invoking user.
|
void |
insertConfiguration(Configuration configuration)
Insert a new Configuration instance.
|
boolean |
isConfiguredResource(String moduleName,
String flowName,
String flowElementName)
Is this moduleName/flowName/flowElementName referencing a component that
is marked as a ConfiguredResource.
|
void |
updateConfiguration(Configuration configuration)
Update an existing Configuration instance.
|
public static final String CONFIGURATION_INSERT_SYSTEM_EVENT_ACTION
public static final String CONFIGURATION_UPDATE_SYSTEM_EVENT_ACTION
public static final String CONFIGURATION_DELETE_SYSTEM_EVENT_ACTION
public ConfigurationManagementService(ConfigurationManagement<ConfiguredResource,Configuration> configurationManagement, SystemEventService systemEventService, ModuleService moduleService)
configurationManagement - systemEventService - moduleService - public boolean isConfiguredResource(String moduleName, String flowName, String flowElementName)
moduleName - flowName - flowElementName - public Configuration findConfiguration(String moduleName, String flowName, String flowElementName, org.springframework.webflow.execution.RequestContext context)
moduleName - flowName - flowElementName - context - public Configuration createConfiguration(String moduleName, String flowName, String flowElementName, org.springframework.webflow.execution.RequestContext context)
moduleName - flowName - flowElementName - context - public void insertConfiguration(Configuration configuration)
configuration - public void updateConfiguration(Configuration configuration)
configuration - public void deleteConfiguration(Configuration configuration)
configuration - protected org.springframework.security.core.Authentication getAuthentication()
Copyright © 2007-2017 Ikasan. All Rights Reserved.