Package com.day.cq.wcm.webservicesupport
Interface Configuration
- 
public interface ConfigurationRepresents a web service configuration.- Since:
 - 5.5
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Tget(java.lang.String name, T defaultValue)Returns a property with providednameof type T or the default value if property was not found.ResourcegetContentResource()Returns theResources content ornull.java.lang.StringgetDescription()Return jcr:description property of the service.java.lang.StringgetIconPath()Returns the path to an icon for this service ornullif this service does not provide an icon.<T> TgetInherited(java.lang.String name, T defaultValue)Returns a property with providednameof type T or the default value if property was not found.java.lang.LonggetLastModified()Return theDateof last modification of the configuration.java.lang.StringgetName()Returns the name of the configuration.ResourcegetParent()Returns the relative parent configurationResource.java.lang.StringgetPath()Returns the path of the configuration.InheritanceValueMapgetProperties()Returns all properties of this node accessible through the currentSession.ResourcegetResource()Returns the configurationResource.TemplategetTemplate()Returns the pagesTemplateornullif no template has been found or the current user does not have read access to the template resource specified by the path in the page's template property.java.lang.StringgetThumbnailPath()Returns the path to a thumbnail for this service ornullif this service does not provide a thumbnail.java.lang.StringgetTitle()Return the jcr:title property of the service.java.util.Iterator<Configuration>listChildren() 
 - 
 
- 
- 
Method Detail
- 
getTitle
java.lang.String getTitle()
Return the jcr:title property of the service.- Returns:
 - String representation of title
 
 
- 
getDescription
java.lang.String getDescription()
Return jcr:description property of the service.- Returns:
 - String representation of description
 
 
- 
getName
java.lang.String getName()
Returns the name of the configuration. This is the last segment of the configuration path.- Returns:
 - String representation of name
 
 
- 
getPath
java.lang.String getPath()
Returns the path of the configuration.- Returns:
 - String representation of path
 
 
- 
getLastModified
java.lang.Long getLastModified()
Return theDateof last modification of the configuration.- Returns:
 - UTC milliseconds of the last modification date
 
 
- 
getIconPath
java.lang.String getIconPath()
Returns the path to an icon for this service ornullif this service does not provide an icon.- Returns:
 - Path to an icon or 
null 
 
- 
getThumbnailPath
java.lang.String getThumbnailPath()
Returns the path to a thumbnail for this service ornullif this service does not provide a thumbnail.- Returns:
 - Path to an icon or 
null 
 
- 
getTemplate
Template getTemplate()
Returns the pagesTemplateornullif no template has been found or the current user does not have read access to the template resource specified by the path in the page's template property. This is the case on publish instances using default ACL configuration (anonymous cannot read templates).- Returns:
 - Page 
Templateornull 
 
- 
getParent
Resource getParent()
Returns the relative parent configurationResource.- Returns:
 Resourceornull
 
- 
getContentResource
Resource getContentResource()
Returns theResources content ornull.- Returns:
 Resourceornull
 
- 
getProperties
InheritanceValueMap getProperties()
Returns all properties of this node accessible through the currentSession.- Returns:
 InheritanceValueMapwith all inherited properties
 
- 
get
<T> T get(java.lang.String name, T defaultValue)Returns a property with providednameof type T or the default value if property was not found.- Type Parameters:
 T- Type of the property- Parameters:
 name- Property namedefaultValue- Default value- Returns:
 - Property value
 
 
- 
getInherited
<T> T getInherited(java.lang.String name, T defaultValue)Returns a property with providednameof type T or the default value if property was not found. Takes properties of parent resources / pages into account, if the property is not found locally.- Type Parameters:
 T- Type of the property- Parameters:
 name- Property namedefaultValue- Default value- Returns:
 - Property value
 
 
- 
listChildren
java.util.Iterator<Configuration> listChildren()
- Returns:
 ConfigurationchildIterator
 
 - 
 
 -