@ProviderType
public interface Configuration
Modifier and Type | Method and Description |
---|---|
<T> T |
get(java.lang.String name,
T defaultValue)
Returns a property with provided
name of type T or the default value if property was not found. |
Resource |
getContentResource()
Returns the
Resource s content or null . |
java.lang.String |
getDescription()
Return jcr:description property of the service.
|
java.lang.String |
getIconPath()
Returns the path to an icon for this service or
null if
this service does not provide an icon. |
<T> T |
getInherited(java.lang.String name,
T defaultValue)
Returns a property with provided
name of type T or the default value if property was not found. |
java.lang.Long |
getLastModified()
Return the
Date of last modification of the configuration. |
java.lang.String |
getName()
Returns the name of the configuration.
|
Resource |
getParent()
Returns the relative parent configuration
Resource . |
java.lang.String |
getPath()
Returns the path of the configuration.
|
InheritanceValueMap |
getProperties()
Returns all properties of this node accessible through the current
Session . |
Resource |
getResource()
Returns the configuration
Resource . |
Template |
getTemplate()
Returns the pages
Template or null if 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.String |
getThumbnailPath()
Returns the path to a thumbnail for this service or
null if
this service does not provide a thumbnail. |
java.lang.String |
getTitle()
Return the jcr:title property of the service.
|
java.util.Iterator<Configuration> |
listChildren()
|
java.lang.String getTitle()
java.lang.String getDescription()
java.lang.String getName()
java.lang.String getPath()
java.lang.Long getLastModified()
Date
of last modification of the configuration.java.lang.String getIconPath()
null
if
this service does not provide an icon.null
java.lang.String getThumbnailPath()
null
if
this service does not provide a thumbnail.null
Template getTemplate()
Template
or null
if 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).Template
or null
Resource getParent()
Resource
.Resource
or null
Resource getContentResource()
Resource
s content or null
.Resource
or null
InheritanceValueMap getProperties()
Session
.InheritanceValueMap
with all inherited properties<T> T get(java.lang.String name, T defaultValue)
name
of type T or the default value if property was not found.T
- Type of the propertyname
- Property namedefaultValue
- Default value<T> T getInherited(java.lang.String name, T defaultValue)
name
of 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.T
- Type of the propertyname
- Property namedefaultValue
- Default valuejava.util.Iterator<Configuration> listChildren()
Configuration
child Iterator
Copyright © 2010 - 2020 Adobe. All Rights Reserved