Package com.day.cq.wcm.webservicesupport
Class ConfigurationUtil
- java.lang.Object
-
- com.day.cq.wcm.webservicesupport.ConfigurationUtil
-
public class ConfigurationUtil extends java.lang.ObjectProvides 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 java.lang.BooleanhasConfigurations(Resource resource)Checks if the givenResourcehas child configurations.static java.lang.BooleanisConfiguration(Resource resource)Checks if the givenResourceis a configuration.static java.lang.BooleanisService(Resource resource)Checks if the givenResourceis a service.
-
-
-
Method Detail
-
isService
public static final java.lang.Boolean isService(Resource resource)
Checks if the givenResourceis a service. The resource is a service if the content child node is of resource type 'cq/configurations/components/servicepage'.
-
isConfiguration
public static final java.lang.Boolean isConfiguration(Resource resource)
Checks if the givenResourceis a configuration. The resource is a configuration if the contentn child node is of resource type 'cq/configurations/components/configpage'.
-
-