Package com.day.cq.wcm.webservicesupport
Class ConfigurationUtil
- java.lang.Object
-
- com.day.cq.wcm.webservicesupport.ConfigurationUtil
-
public class ConfigurationUtil extends Object
Provides utility methods for web service configurations.- Since:
- 5.5
-
-
Constructor Summary
Constructors Constructor Description ConfigurationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Boolean
hasConfigurations(Resource resource)
Checks if the givenResource
has child configurations.static Boolean
isConfiguration(Resource resource)
Checks if the givenResource
is a configuration.static Boolean
isService(Resource resource)
Checks if the givenResource
is a service.
-
-
-
Method Detail
-
isService
public static final Boolean isService(Resource resource)
Checks if the givenResource
is a service. The resource is a service if the content child node is of resource type 'cq/configurations/components/servicepage'.
-
isConfiguration
public static final Boolean isConfiguration(Resource resource)
Checks if the givenResource
is a configuration. The resource is a configuration if the contentn child node is of resource type 'cq/configurations/components/configpage'.
-
-