Package com.day.cq.wcm.webservicesupport
Interface ConfigurationManager
public interface ConfigurationManager
Represents a service for managing
Configuration entries.- Since:
- 5.5
-
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration(String path) Returns aConfigurationobject from the given path ornullif the resource is not adaptable.getConfiguration(String servicename, String[] configPaths) Returns the firstConfigurationobject for a specific service from an array of configuration paths.getConfigurationResource(Resource resource) getConfigurations(String rootPath) getConfigurations(Resource resource) getService(Configuration configuration) Returns theServicefor aConfiguration.getService(String name) Returns theServicewith the givenname.getServiceName(String path) Returns the service name extracted from provided path.getServices(String[] paths, Comparator<Service> comparator)
-
Method Details
-
getServices
-
getServices
-
getService
Returns theServicewith the givenname.- Parameters:
name- servicename- Returns:
Servicewith given name
-
getService
Returns theServicefor aConfiguration. If the template of the configuration defines a cq:cloudservice property with the service name its resolvedServiceis returned,nullotherwise.- Parameters:
configuration-Configuration- Returns:
Service
-
getServiceName
Returns the service name extracted from provided path.- Parameters:
path- path of service persistence- Returns:
Servicename from given path
-
getConfiguration
Returns aConfigurationobject from the given path ornullif the resource is not adaptable.- Parameters:
path- Path to the configuration- Returns:
Configurationornull
-
getConfiguration
Returns the firstConfigurationobject for a specific service from an array of configuration paths.- Parameters:
servicename- servicenameconfigPaths- array of config paths- Returns:
Configurationornull
-
getConfigurations
- Parameters:
rootPath- root path for lookup- Returns:
IteratorofConfiguration's
-
getConfigurations
- Parameters:
resource- theResourcefor which the applying cloudserviceConfigurations should be calculated- Returns:
IteratorofConfiguration's
-
getConfigurationResource
-